SHOW Signed

net.rim.device.api.smartcard
Class SmartCardCapabilities

java.lang.Object
  |
  +--net.rim.device.api.smartcard.SmartCardCapabilities

public class SmartCardCapabilities
extends Object

Represents the capabilites of a physical smartcard, in terms of the protocols the card supports, the baud rate and clock adjustment factors. See ISO 7816-3 for more details.


 Typical usage scenario:
   SmartCardCapabilities capabilities = new SmartCardCapabilities( SmartCardCapabilities.PROTOCOL_T0 | SmartCardCapabilities.PROTOCOL_T1 );
 

Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

Since:
JDE 4.1.0
See Also:
SmartCard, SmartCardReaderSession

Field Summary
 Category: Signed static int DI_0
          The DI 0 value.
 Category: Signed static int DI_1
          The DI 1 value.
 Category: Signed static int DI_10
          The DI 10 value.
 Category: Signed static int DI_11
          The DI 11 value.
 Category: Signed static int DI_12
          The DI 12 value.
 Category: Signed static int DI_13
          The DI 13 value.
 Category: Signed static int DI_14
          The DI 14 value.
 Category: Signed static int DI_15
          The DI 15 value.
 Category: Signed static int DI_2
          The DI 2 value.
 Category: Signed static int DI_3
          The DI 3 value.
 Category: Signed static int DI_4
          The DI 4 value.
 Category: Signed static int DI_5
          The DI 5 value.
 Category: Signed static int DI_6
          The DI 6 value.
 Category: Signed static int DI_7
          The DI 7 value.
 Category: Signed static int DI_8
          The DI 8 value.
 Category: Signed static int DI_9
          The DI 9 value.
 Category: Signed static int FI_0
          The FI 0 value.
 Category: Signed static int FI_1
          The FI 1 value.
 Category: Signed static int FI_10
          The FI 10 value.
 Category: Signed static int FI_11
          The FI 11 value.
 Category: Signed static int FI_12
          The FI 12 value.
 Category: Signed static int FI_13
          The FI 13 value.
 Category: Signed static int FI_14
          The FI 14 value.
 Category: Signed static int FI_15
          The FI 15 value.
 Category: Signed static int FI_2
          The FI 2 value.
 Category: Signed static int FI_3
          The FI 3 value.
 Category: Signed static int FI_4
          The FI 4 value.
 Category: Signed static int FI_5
          The FI 5 value.
 Category: Signed static int FI_6
          The FI 6 value.
 Category: Signed static int FI_7
          The FI 7 value.
 Category: Signed static int FI_8
          The FI 8 value.
 Category: Signed static int FI_9
          The FI 9 value.
 Category: Signed static int PROTOCOL_T0
          The protocol T0.
 Category: Signed static int PROTOCOL_T1
          The protocol T1.
 Category: Signed static int PROTOCOL_T10
          The protocol T10.
 Category: Signed static int PROTOCOL_T11
          The protocol T11.
 Category: Signed static int PROTOCOL_T12
          The protocol T12.
 Category: Signed static int PROTOCOL_T13
          The protocol T13.
 Category: Signed static int PROTOCOL_T14
          The protocol T14.
 Category: Signed static int PROTOCOL_T15
          The protocol T15.
 Category: Signed static int PROTOCOL_T2
          The protocol T2.
 Category: Signed static int PROTOCOL_T3
          The protocol T3.
 Category: Signed static int PROTOCOL_T4
          The protocol T4.
 Category: Signed static int PROTOCOL_T5
          The protocol T5.
 Category: Signed static int PROTOCOL_T6
          The protocol T6.
 Category: Signed static int PROTOCOL_T7
          The protocol T7.
 Category: Signed static int PROTOCOL_T8
          The protocol T8.
 Category: Signed static int PROTOCOL_T9
          The protocol T9.
 
Constructor Summary
 Category: Signed SmartCardCapabilities(int protocolsSupported)
          Creates a new SmartCardCapabilities object with indicate protocols.
 Category: Signed SmartCardCapabilities(int protocolsSupported, int clockRateFactor, int baudRateFactor)
          Creates a new SmartCardCapabilities object with indicate protocols, clock conversion and baud rate adjustment factors.
 
Method Summary
 Category: Signed  int getSupportedBaudRateAdjustmentFactors()
          Returns the baud rate adjustment factors supported by the card.
 Category: Signed  int getSupportedClockRateConversionFactors()
          Returns the clock rate conversion factors supported by the card.
 Category: Signed  int getSupportedProtocols()
          Returns the protocols supported by the smartcard.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DI_0

public static final int DI_0
The DI 0 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

DI_1

public static final int DI_1
The DI 1 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

DI_10

public static final int DI_10
The DI 10 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

DI_11

public static final int DI_11
The DI 11 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

DI_12

public static final int DI_12
The DI 12 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

DI_13

public static final int DI_13
The DI 13 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

DI_14

public static final int DI_14
The DI 14 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

DI_15

public static final int DI_15
The DI 15 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

DI_2

public static final int DI_2
The DI 2 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

DI_3

public static final int DI_3
The DI 3 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

DI_4

public static final int DI_4
The DI 4 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

DI_5

public static final int DI_5
The DI 5 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

DI_6

public static final int DI_6
The DI 6 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

DI_7

public static final int DI_7
The DI 7 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

DI_8

public static final int DI_8
The DI 8 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

DI_9

public static final int DI_9
The DI 9 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

FI_0

public static final int FI_0
The FI 0 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

FI_1

public static final int FI_1
The FI 1 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

FI_10

public static final int FI_10
The FI 10 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

FI_11

public static final int FI_11
The FI 11 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

FI_12

public static final int FI_12
The FI 12 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

FI_13

public static final int FI_13
The FI 13 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

FI_14

public static final int FI_14
The FI 14 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

FI_15

public static final int FI_15
The FI 15 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

FI_2

public static final int FI_2
The FI 2 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

FI_3

public static final int FI_3
The FI 3 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

FI_4

public static final int FI_4
The FI 4 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

FI_5

public static final int FI_5
The FI 5 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

FI_6

public static final int FI_6
The FI 6 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

FI_7

public static final int FI_7
The FI 7 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

FI_8

public static final int FI_8
The FI 8 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

FI_9

public static final int FI_9
The FI 9 value.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

PROTOCOL_T0

public static final int PROTOCOL_T0
The protocol T0. Asynchronous Half-Duplex Character Transmission Protocol. Each character is transmitted separately.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

PROTOCOL_T1

public static final int PROTOCOL_T1
The protocol T1. Asynchronous Half-Duplex Block Transmission Protocol. Blocks of characters are transmitted together.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

PROTOCOL_T10

public static final int PROTOCOL_T10
The protocol T10.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

PROTOCOL_T11

public static final int PROTOCOL_T11
The protocol T11.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

PROTOCOL_T12

public static final int PROTOCOL_T12
The protocol T12.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

PROTOCOL_T13

public static final int PROTOCOL_T13
The protocol T13.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

PROTOCOL_T14

public static final int PROTOCOL_T14
The protocol T14. This protocol is a variant not specified in ISO 7816-3. For example the German health card or German phone card use this protocol.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

PROTOCOL_T15

public static final int PROTOCOL_T15
The protocol T15.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

PROTOCOL_T2

public static final int PROTOCOL_T2
The protocol T2.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

PROTOCOL_T3

public static final int PROTOCOL_T3
The protocol T3.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

PROTOCOL_T4

public static final int PROTOCOL_T4
The protocol T4.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

PROTOCOL_T5

public static final int PROTOCOL_T5
The protocol T5.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

PROTOCOL_T6

public static final int PROTOCOL_T6
The protocol T6.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

PROTOCOL_T7

public static final int PROTOCOL_T7
The protocol T7.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

PROTOCOL_T8

public static final int PROTOCOL_T8
The protocol T8.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

PROTOCOL_T9

public static final int PROTOCOL_T9
The protocol T9.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
Constructor Detail

SmartCardCapabilities

public SmartCardCapabilities(int protocolsSupported)
Creates a new SmartCardCapabilities object with indicate protocols. The indicated protocols are supplied by ORing together the protocol indicators. Default values: clock rate conversion factor of 372, and baud rate adjustment factor of 1.

Parameters:
protocolSupported - An integer representing the OR of all the protocols supported by the card.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

SmartCardCapabilities

public SmartCardCapabilities(int protocolsSupported,
                             int clockRateFactor,
                             int baudRateFactor)
Creates a new SmartCardCapabilities object with indicate protocols, clock conversion and baud rate adjustment factors. The indicated protocols are supplied by ORing together the protocol indicators.

Parameters:
protocolSupported - An integer representing the OR of all the protocols supported by the card.
clockRateFactor - An integer representing the OR of all the clock rate conversion factors supported by the card.
baudRateFactor - An integer representing the OR of all the baud rate adjustment factors supported by the card.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.
Method Detail

getSupportedBaudRateAdjustmentFactors

public int getSupportedBaudRateAdjustmentFactors()
Returns the baud rate adjustment factors supported by the card.

Returns:
An integer representing the OR of baud rate adjustment factors supported by the card.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

getSupportedClockRateConversionFactors

public int getSupportedClockRateConversionFactors()
Returns the clock rate conversion factors supported by the card.

Returns:
An integer representing the OR of clock rate conversion factors supported by the card.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.

getSupportedProtocols

public int getSupportedProtocols()
Returns the protocols supported by the smartcard.

Returns:
An integer representing the OR of the protocols supported by the card.
Since:
JDE 4.1.0
Category:
Signed: This element is only accessible by signed clients. If you intend to use this element, please contact RIM to establish the necessary agreements that will allow you to have your COD files signed. Signing is only required for use on the device, development under the JDE can occur without signing the CODs.


Copyright 1999-2007 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.