net.rim.device.api.smartcard
Class SmartCardCapabilities

java.lang.Object
  extended by 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 );
 

See Also:
SmartCard, SmartCardReaderSession
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

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

PROTOCOL_T0

public static final int PROTOCOL_T0
The protocol T0. Asynchronous Half-Duplex Character Transmission Protocol. Each character is transmitted separately.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

PROTOCOL_T1

public static final int PROTOCOL_T1
The protocol T1. Asynchronous Half-Duplex Block Transmission Protocol. Blocks of characters are transmitted together.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

PROTOCOL_T2

public static final int PROTOCOL_T2
The protocol T2.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

PROTOCOL_T3

public static final int PROTOCOL_T3
The protocol T3.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

PROTOCOL_T4

public static final int PROTOCOL_T4
The protocol T4.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

PROTOCOL_T5

public static final int PROTOCOL_T5
The protocol T5.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

PROTOCOL_T6

public static final int PROTOCOL_T6
The protocol T6.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

PROTOCOL_T7

public static final int PROTOCOL_T7
The protocol T7.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

PROTOCOL_T8

public static final int PROTOCOL_T8
The protocol T8.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

PROTOCOL_T9

public static final int PROTOCOL_T9
The protocol T9.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

PROTOCOL_T10

public static final int PROTOCOL_T10
The protocol T10.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

PROTOCOL_T11

public static final int PROTOCOL_T11
The protocol T11.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

PROTOCOL_T12

public static final int PROTOCOL_T12
The protocol T12.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

PROTOCOL_T13

public static final int PROTOCOL_T13
The protocol T13.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

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.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

PROTOCOL_T15

public static final int PROTOCOL_T15
The protocol T15.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

FI_0

public static final int FI_0
The FI 0 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

FI_1

public static final int FI_1
The FI 1 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

FI_2

public static final int FI_2
The FI 2 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

FI_3

public static final int FI_3
The FI 3 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

FI_4

public static final int FI_4
The FI 4 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

FI_5

public static final int FI_5
The FI 5 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

FI_6

public static final int FI_6
The FI 6 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

FI_7

public static final int FI_7
The FI 7 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

FI_8

public static final int FI_8
The FI 8 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

FI_9

public static final int FI_9
The FI 9 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

FI_10

public static final int FI_10
The FI 10 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

FI_11

public static final int FI_11
The FI 11 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

FI_12

public static final int FI_12
The FI 12 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

FI_13

public static final int FI_13
The FI 13 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

FI_14

public static final int FI_14
The FI 14 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

FI_15

public static final int FI_15
The FI 15 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

DI_0

public static final int DI_0
The DI 0 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

DI_1

public static final int DI_1
The DI 1 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

DI_2

public static final int DI_2
The DI 2 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

DI_3

public static final int DI_3
The DI 3 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

DI_4

public static final int DI_4
The DI 4 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

DI_5

public static final int DI_5
The DI 5 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

DI_6

public static final int DI_6
The DI 6 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

DI_7

public static final int DI_7
The DI 7 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

DI_8

public static final int DI_8
The DI 8 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

DI_9

public static final int DI_9
The DI 9 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

DI_10

public static final int DI_10
The DI 10 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

DI_11

public static final int DI_11
The DI 11 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

DI_12

public static final int DI_12
The DI 12 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

DI_13

public static final int DI_13
The DI 13 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

DI_14

public static final int DI_14
The DI 14 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

DI_15

public static final int DI_15
The DI 15 value.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0


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.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

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.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0


Method Detail

getSupportedProtocols

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

Returns:
An integer representing the OR of the protocols supported by the card.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

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.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0

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.
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.1.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal