|
IAIK PKCS#11 Provider Micro Edition version 1.0 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of PKCS11RuntimeException in iaik.pkcs.pkcs11.me |
Methods in iaik.pkcs.pkcs11.me that throw PKCS11RuntimeException | |
void |
Token.clearCache()
Closes all sessions and empties the session cache. |
Cipher |
Token.getCipher(long algorithm)
Get a cipher object which operates with this token. |
KeyGenerator |
Token.getKeyGenerator(long algorithm)
Get a key generator which generates keys on this token. |
KeyPairGenerator |
Token.getKeyPairGenerator(long algorithm)
Get a key-pair generator which generates key-pairs on this token. |
KeyStore |
Token.getKeyStore()
Get a key store representation of this token. |
java.lang.String |
Token.getLabel()
Get the label of this token. |
MessageDigest |
Token.getMessageDigest(long algorithm)
Get a message digest which operates with this token. |
java.lang.String |
Token.getSerialNumber()
Get the serial number of this token. |
SecureRandom |
Token.getSecureRandom()
Get a secure random which gets random data from this token. |
Signature |
Token.getSignature(long algorithm)
Get a signature which operates with this token. |
boolean |
Token.hashProtectedAuthenticationPath()
Checks if this token has a protected authentication path; for example a PIN-pad reader for entering a PIN. |
void |
Token.init(char[] soPin,
java.lang.String label)
Initialize this token. |
void |
Token.initPIN(char[] soPin,
char[] newUserPin)
Initialize the user PIN after a call to Token.init(char[], String) .
|
boolean |
Token.loginRequired()
Check if this token requires a login for certain operations. |
void |
Token.loginUser(char[] pin)
Login the user with the PIN. |
void |
Token.logout()
Logout the user. |
void |
Token.setUserPIN(char[] oldPin,
char[] newPin)
Set the user PIN to a new value. |
boolean |
Token.supportsAlgorithm(long algorithm,
int implementation)
Check if the token supports a certain algorithm. |
boolean |
Token.supportsSecureRandom()
Check, if the token has a random generator. |
boolean |
Token.userLoggedIn()
Check if the user is currently logged in to this token. |
boolean |
Token.userPinInitialized()
Checks if the user PIN of this token has already been initialized. |
void |
Signature.initSign(Key key)
Initialize a signature creation operation. |
void |
Signature.initVerify(Key key)
Initialize a signature verification operation. |
void |
Signature.update(byte[] data)
Provide the input data for the current operation; i.e. data to be signed or the signed data. |
byte[] |
Signature.sign()
Finish the current signature creation operation and return the final signature value. |
boolean |
Signature.verify(byte[] signature)
Finish the current signature verification operation and return the verification result. |
void |
SecureRandom.setSeed(byte[] seed)
Feed some seed into the random generator of the token. |
void |
SecureRandom.nextBytes(byte[] buffer)
Get random bytes from the token's random generator. |
static Module |
Module.getInstance(java.lang.String moduleName)
Creates an instance that accesses the specified PKCS#11 module. |
void |
Module.close()
Closes this module. |
java.lang.String |
Module.getManufacturer()
Get the manufacturer name of the underlying PKCS#11 module. |
Token[] |
Module.getTokens()
Get the list of all available tokens. |
void |
MessageDigest.update(byte[] data)
Feed a data piece of arbitrary length into the hash calculation. |
byte[] |
MessageDigest.digest()
Finish the hash calculation of the previously fed in data. |
java.util.Enumeration |
KeyStore.aliases()
List the alias names of all entries of this key store. |
Key |
KeyStore.getKey(java.lang.String alias)
Get the key object of a key entry. |
byte[] |
KeyStore.getCertificate(java.lang.String alias)
Get the DER encoded certificate of a certificate entry or of a associated certificate of a key. |
void |
KeyStore.setCertificate(java.lang.String alias,
byte[] certificate,
byte[] subjectDN)
Put a certificate in this key store. |
Key |
KeyStore.setKey(java.lang.String alias,
KeyTemplate template)
Set a key entry. |
void |
KeyStore.delete(java.lang.String alias)
Delete the key store entry with the given alias. |
void |
KeyPairGenerator.initialize(int size,
int keyUsage,
java.lang.String label)
Initialize this key-pair generator for a specific key size, key usage and label for the key. |
Key[] |
KeyPairGenerator.generateKeyPair()
Generates a key-pair using the parameters given at the KeyPairGenerator.initialize(int, int, String) call.
|
void |
KeyGenerator.init(int size,
int keyUsage,
java.lang.String label,
boolean tokenObject)
Initialize this key generator for a specific key size, key usage and label for the key. |
Key |
KeyGenerator.generateKey()
Generates a key using the parameters given at the KeyGenerator.init(int, int, String, boolean) call.
|
boolean |
Key.canBeUsedFor(long usage)
This method determines if this key can be used for a certain purpose. |
java.lang.String |
Key.getAlgorithm()
Get the algorithm name of this key. |
java.lang.Object |
Key.getComponent(long componentType)
Get a specific component of this key; e.g. the modulus of an RSA key, or the value of a secret key. |
void |
Key.setComponent(long componentType,
java.lang.Object componentValue)
Set a specific component of this key; e.g. the modulus of an RSA key, or the value of a secret key. |
void |
Key.releaseSession()
If this key is not a key which is permanently stored on the token (e.g. a temporary secret key), this method releases the session of the key. |
void |
Cipher.init(int mode,
Key key,
byte[] iv)
Initialize a new encryption or decryption operation. |
byte[] |
Cipher.update(byte[] data)
Feed a piece of data into the current cipher operation. |
byte[] |
Cipher.doFinal()
Finish the current encryption or decryption operation and return the final result; i.e. the enciphered data. |
byte[] |
Cipher.wrap(Key key)
Wrap (encrypt) the specified symmetric key with the wrapping key which has been provided to the Cipher.init(int, Key, byte[]) call.
|
Key |
Cipher.unwrap(byte[] wrappedKey,
java.lang.String wrappedKeyAlgorithm,
int keyUsage,
java.lang.String label,
boolean tokenObject)
Unwrap (decrypt) a wrapped secret key. |
|
IAIK PKCS#11 Provider Micro Edition version 1.0 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |