|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.rim.device.api.smartcard.SmartCard
net.rim.device.api.crypto.CryptoSmartCard
public abstract class CryptoSmartCard
The CryptoSmartCard class should be extended by all cryptographic smart cards.
Sub-classes must explicitly implement the Persistable interface if they are going to be registered
as a smart card driver with the SmartCardFactory.
Persistable| Constructor Summary | ||
|---|---|---|
|
protected |
CryptoSmartCard()
Creates a new CryptoSmartCard object. |
| Method Summary | ||
|---|---|---|
|
abstract String[] |
getAlgorithms()
Returns the names of all the algorithms supported by this smart card, eg "RSA", "DSA". |
|
abstract CryptoToken |
getCryptoToken(String algorithm)
Returns a crypto token that supports the given algorithm. |
| Methods inherited from class net.rim.device.api.smartcard.SmartCard |
|---|
checkAnswerToReset, checkAnswerToResetImpl, displaySettings, displaySettingsImpl, equals, getCapabilities, getCapabilitiesImpl, getLabel, getLabelImpl, hashCode, isBuiltInReaderSupported, isBuiltInReaderSupportedImpl, isDisplaySettingsAvailable, isDisplaySettingsAvailableImpl, isFingerprintSupportAvailable, isFingerprintSupportAvailableImpl, openSession, openSessionImpl, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected CryptoSmartCard()
CryptoSmartCard object.
This is the default constructor.
| Method Detail |
|---|
public abstract String[] getAlgorithms()
public abstract CryptoToken getCryptoToken(String algorithm)
throws NoSuchAlgorithmException,
CryptoTokenException
algorithm - A String representing the name of the algorithm.
NoSuchAlgorithmException - Thrown if the specified algorithm is invalid.
CryptoTokenException - Thrown if there is a token related problem.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
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