CryptoSmartCard methods you implement to create a driver
Method to implement |
Description |
|---|---|
SmartCard.openSessionImpl(SmartCardReaderSession) |
Opens a cryptographic session with a smart card. |
SmartCard.checkAnswerToResetImpl(AnswerToReset) |
Verifies if a smart card is compatible with a specific Answer To Reset (ATR) sequence. |
SmartCard.getCapabilitiesImpl() |
Returns an instance of the SmartCardCapabilities class that enumerates the capabilities of the smart card. |
SmartCard.displaySettingsImpl(Object) |
Enables a smart card driver to display settings or properties. |
SmartCard.isDisplaySettingsAvailableImpl(Object) |
Enables a smart card driver to indicate support for display settings. |
SmartCard.getCapabilitiesImpl() |
Retrieves the capabilities of a smart card. The capabilites of a smart card include the protocols the card supports, the baud rate, and the clock adjustment factors. |
SmartCard.getLabelImpl() |
Retrieves the smart card type. |
CryptoSmartCard.getAlgorithms() |
Retrieves the names of the algorithms that the smart card supports, for example (“RSA”, “DSA”). |
CryptoSmartCard.getCryptoToken(String) |
Retrieves a CryptoToken object that supports the given algorithm. |
SmartCard.getLabelImpl() |
Returns a label associated with the kind of smart card. |
Method to implement |
Description |
|---|---|
isFingerprintSupportAvailableImpl() |
Return true if your driver supports retrieval of fingerprints from the smart card. If you implement this method, you must also implement the required functionality by overriding the getFingerprintsImpl(int context) method of the SmartCardSession class. |