Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| IAIK PKCS#11 Wrapper version 1.2.18
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
iaik.pkcs.pkcs11.TokenException

Packages that use TokenException
iaik.pkcs.pkcs11 | This package provides a object oriented API to access PKCS#11 modules.
iaik.pkcs.pkcs11.objects | This package contains all classes for objects and attributes as known from PKCS#11.
iaik.pkcs.pkcs11.parameters | This package contains all classes for parameters objects.
iaik.pkcs.pkcs11.wrapper | This package contains the first (lowest) Java layer of the PKCS#11 wrapper.

Uses of TokenException in iaik.pkcs.pkcs11

Methods in iaik.pkcs.pkcs11 that throw TokenException
`void` | `Session.initPIN(char[] pin)` Initializes the user-PIN.
`void` | `Session.setPIN(char[] oldPin, char[] newPin)` Set the user-PIN to a new value.
`void` | `Session.closeSession()` Closes this session.
`SessionInfo` | `Session.getSessionInfo()` Get information about this session.
`byte[]` | `Session.getOperationState()` Get the current operation state.
`void` | `Session.setOperationState(byte[] operationState, Key encryptionKey, Key authenticationKey)` Sets the operation state of this session to a previously saved one.
`void` | `Session.login(boolean userType, char[] pin)` Logs in the user or the security officer to the session.
`void` | `Session.logout()` Logs out this session.
`Object` | `Session.createObject(Object templateObject)` Create a new object on the token (or in the session).
`Object` | `Session.copyObject(Object sourceObject, Object templateObject)` Copy an existing object.
`void` | `Session.setAttributeValues(Object objectToUpdate, Object templateObject)` Gets all present attributes of the given template object an writes them to the object to update on the token (or in the session).
`Object` | `Session.getAttributeValues(Object objectToRead)` Reads all the attributes of the given Object from the token and returns a new Object that contains all these attributes.
`void` | `Session.destroyObject(Object object)` Destroy a certain object on the token (or in the session).
`long` | `Session.getObjectSize(Object object)` Get the size of the specified object in bytes.
`void` | `Session.findObjectsInit(Object templateObject)` Initializes a find operations that provides means to find objects by passing a template object.
`Object[]` | `Session.findObjects(int maxObjectCount)` Finds objects that match the template object passed to findObjectsInit.
`void` | `Session.findObjectsFinal()` Finalizes a find operation.
`void` | `Session.encryptInit(Mechanism mechanism, Key key)` Initializes a new encryption operation.
`byte[]` | `Session.encrypt(byte[] data)` Encrypts the given data with the key and mechansim given to the encryptInit method.
`byte[]` | `Session.encryptUpdate(byte[] part)` This method can be used to encrypt multiple pieces of data; e.g.
`byte[]` | `Session.encryptFinal()` This method finalizes an encrpytion operation and returns the final result.
`void` | `Session.decryptInit(Mechanism mechanism, Key key)` Initializes a new decryption operation.
`byte[]` | `Session.decrypt(byte[] data)` Decrypts the given data with the key and mechansim given to the decryptInit method.
`byte[]` | `Session.decryptUpdate(byte[] encryptedPart)` This method can be used to decrypt multiple pieces of data; e.g.
`byte[]` | `Session.decryptFinal()` This method finalizes a decrpytion operation and returns the final result.
`void` | `Session.digestInit(Mechanism mechanism)` Initializes a new digesting operation.
`byte[]` | `Session.digest(byte[] data)` Digests the given data with the mechansim given to the digestInit method.
`void` | `Session.digestUpdate(byte[] part)` This method can be used to digest multiple pieces of data; e.g.
`void` | `Session.digestKey(SecretKey key)` This method is similar to digestUpdate and can be combined with it during one digesting operation.
`byte[]` | `Session.digestFinal()` This method finalizes a digesting operation and returns the final result.
`void` | `Session.signInit(Mechanism mechanism, Key key)` Initializes a new signing operation.
`byte[]` | `Session.sign(byte[] data)` Signs the given data with the key and mechansim given to the signInit method.
`void` | `Session.signUpdate(byte[] part)` This method can be used to sign multiple pieces of data; e.g.
`byte[]` | `Session.signFinal()` This method finalizes a signing operation and returns the final result.
`void` | `Session.signRecoverInit(Mechanism mechanism, Key key)` Initializes a new signing operation for signing with recovery.
`byte[]` | `Session.signRecover(byte[] data)` Signs the given data with the key and mechansim given to the signRecoverInit method.
`void` | `Session.verifyInit(Mechanism mechanism, Key key)` Initializes a new verification operation.
`void` | `Session.verify(byte[] data, byte[] signature)` Verifies the given signature against the given data with the key and mechansim given to the verifyInit method.
`void` | `Session.verifyUpdate(byte[] part)` This method can be used to verify a signature with multiple pieces of data; e.g.
`void` | `Session.verifyFinal(byte[] signature)` This method finalizes a verification operation.
`void` | `Session.verifyRecoverInit(Mechanism mechanism, Key key)` Initializes a new verification operation for verification with data recovery.
`byte[]` | `Session.verifyRecover(byte[] signature)` Signs the given data with the key and mechansim given to the signRecoverInit method.
`byte[]` | `Session.digestEncryptedUpdate(byte[] part)` Dual-function.
`byte[]` | `Session.decryptDigestUpdate(byte[] part)` Dual-function.
`byte[]` | `Session.signEncryptUpdate(byte[] part)` Dual-function.
`byte[]` | `Session.decryptVerifyUpdate(byte[] encryptedPart)` Dual-function.
`Object` | `Session.generateKey(Mechanism mechanism, Object template)` Generate a new secret key or a set of domain parameters.
`KeyPair` | `Session.generateKeyPair(Mechanism mechanism, Object publicKeyTemplate, Object privateKeyTemplate)` Generate a new public key - private key key-pair and use the set attributes of the template objects for setting the attributes of the new public key and private key objects.
`byte[]` | `Session.wrapKey(Mechanism mechanism, Key wrappingKey, Key key)` Wraps (encrypts) the given key with the wrapping key using the given mechanism.
`Key` | `Session.unwrapKey(Mechanism mechanism, Key unwrappingKey, byte[] wrappedKey, Object keyTemplate)` Unwraps (decrypts) the given encrypted key with the unwrapping key using the given mechanism.
`Key` | `Session.deriveKey(Mechanism mechanism, Key baseKey, Key template)` Derives a new key from a specified base key unsing the given mechanism.
`void` | `Session.seedRandom(byte[] seed)` Mixes additional seeding material into the random number generator.
`byte[]` | `Session.generateRandom(int numberOfBytesToGenerate)` Generates a certain number of random bytes.
`void` | `Session.getFunctionStatus()` Legacy function that will normally throw an PKCS11Exception with the error-code PKCS11Constants.CKR_FUNCTION_NOT_PARALLEL.
`void` | `Session.cancelFunction()` Legacy function that will normally throw an PKCS11Exception with the error-code PKCS11Constants.CKR_FUNCTION_NOT_PARALLEL.
`TokenInfo` | `Token.getTokenInfo()` Get information about this token.
`Mechanism[]` | `Token.getMechanismList()` Get the list of mechanisms that this token supports.
`MechanismInfo` | `Token.getMechanismInfo(Mechanism mechanism)` Get mor information about one supported mechanism.
`void` | `Token.initToken(char[] pin, java.lang.String label)` Initialize the token.
`Session` | `Token.openSession(boolean serialSession, boolean rwSession, java.lang.Object application, Notify notify)` Open a new session to perfom operations on this token.
`void` | `Token.closeAllSessions()` Close all open sessions of this token.
`SlotInfo` | `Slot.getSlotInfo()` Get information about this slot object.
`Token` | `Slot.getToken()` Get an object for handling the token that is currently present in this slot, or null, if there is no token present.
`Info` | `Module.getInfo()` Gets information about the module; i.e.
`void` | `Module.initialize(InitializeArgs initArgs)` Initializes the module.
`void` | `Module.finalize(java.lang.Object args)` Finalizes this module.
`Slot[]` | `Module.getSlotList(boolean tokenPresent)` Gets a list of slots that can accept tokens that are compatible with this module; e.g.
`Slot` | `Module.waitForSlotEvent(boolean dontBlock, java.lang.Object reserved)` Waits for an slot event.

Uses of TokenException in iaik.pkcs.pkcs11.objects

Methods in iaik.pkcs.pkcs11.objects that throw TokenException
`static Object` | `Object.getInstance(Session session, long objectHandle)` The object creation mechanism of ObjectAccess uses this method to create an instance of an PKCS#11 object.
`protected static Object` | `Object.getUnknownObject(Session session, long objectHandle)` Try to create an object which has no or an unkown object class attribute.
`void` | `Object.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`void` | `Storage.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `DomainParameters.getInstance(Session session, long objectHandle)` The getInstance method of the Object class uses this method to create an instance of PKCS#11 domain parameters.
`protected static Object` | `DomainParameters.getUnknownDomainParameters(Session session, long objectHandle)` Try to create a domain parameters which has no or an unkown key type type attribute.
`void` | `DomainParameters.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `DSAParams.getInstance(Session session, long objectHandle)` The getInstance method of the PrivateKey class uses this method to create an instance of PKCS#11 DSA domain parameters.
`void` | `DSAParams.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`void` | `GenericTemplate.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `HardwareFeature.getInstance(Session session, long objectHandle)` Called by sub-classes to create an instance of a PKCS#11 hardware feature.
`protected static Object` | `HardwareFeature.getUnknownHardwareFeature(Session session, long objectHandle)` Try to create a hardware feature which has no or an unkown harware feature type attribute.
`static Object` | `UserInterface.getInstance(Session session, long objectHandle)` The getInstance method of the HardwareFeature class uses this method to create an instance of a PKCS#11 user interface.
`void` | `UserInterface.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`void` | `Key.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `SecretKey.getInstance(Session session, long objectHandle)` The getInstance method of the Object class uses this method to create an instance of a PKCS#11 secret key.
`protected static Object` | `SecretKey.getUnknownSecretKey(Session session, long objectHandle)` Try to create a key which has no or an unkown secret key type type attribute.
`void` | `SecretKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `GenericSecretKey.getInstance(Session session, long objectHandle)` The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 generic Secret key.
`void` | `GenericSecretKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `CAST3SecretKey.getInstance(Session session, long objectHandle)` The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 CAST3 secret key.
`void` | `CAST3SecretKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `BlowfishSecretKey.getInstance(Session session, long objectHandle)` The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 generic Secret key.
`void` | `BlowfishSecretKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `MonotonicCounter.getInstance(Session session, long objectHandle)` The getInstance method of the HardwareFeature class uses this method to create an instance of a PKCS#11 monotonic counter.
`void` | `MonotonicCounter.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `PublicKey.getInstance(Session session, long objectHandle)` The getInstance method of the Object class uses this method to create an instance of a PKCS#11 public key.
`protected static Object` | `PublicKey.getUnknownPublicKey(Session session, long objectHandle)` Try to create a key which has no or an unkown public key type type attribute.
`void` | `PublicKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `SkipJackSecretKey.getInstance(Session session, long objectHandle)` The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 SkipJack secret key.
`void` | `SkipJackSecretKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `DHPublicKey.getInstance(Session session, long objectHandle)` The getInstance method of the PublicKey class uses this method to create an instance of a PKCS#11 DH public key.
`void` | `DHPublicKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `X942DHPublicKey.getInstance(Session session, long objectHandle)` The getInstance method of the PublicKey class uses this method to create an instance of a PKCS#11 X9.42 DH public key.
`void` | `X942DHPublicKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `AESSecretKey.getInstance(Session session, long objectHandle)` The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 AES secret key.
`void` | `AESSecretKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `DHParams.getInstance(Session session, long objectHandle)` The getInstance method of the PrivateKey class uses this method to create an instance of a PKCS#11 DH private key.
`void` | `DHParams.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `X942DHParams.getInstance(Session session, long objectHandle)` The getInstance method of the PrivateKey class uses this method to create an instance of a PKCS#11 DH private key.
`void` | `X942DHParams.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `DES2SecretKey.getInstance(Session session, long objectHandle)` The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 2DES Secret key.
`void` | `DES2SecretKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `PrivateKey.getInstance(Session session, long objectHandle)` The getInstance method of the Object class uses this method to create an instance of a PKCS#11 private key.
`protected static Object` | `PrivateKey.getUnknownPrivateKey(Session session, long objectHandle)` Try to create a key which has no or an unkown private key type type attribute.
`void` | `PrivateKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `DSAPrivateKey.getInstance(Session session, long objectHandle)` The getInstance method of the PrivateKey class uses this method to create an instance of a PKCS#11 DSA private key.
`void` | `DSAPrivateKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `Data.getInstance(Session session, long objectHandle)` The getInstance method of the Object class uses this method to create an instance of a PKCS#11 data object.
`void` | `Data.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `Certificate.getInstance(Session session, long objectHandle)` The getInstance method of the Object class uses this method to create an instance of a PKCS#11 certificate.
`protected static Object` | `Certificate.getUnknownCertificate(Session session, long objectHandle)` Try to create a certificate which has no or an unkown certificate type attribute.
`void` | `Certificate.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `KEAPrivateKey.getInstance(Session session, long objectHandle)` The getInstance method of the PrivateKey class uses this method to create an instance of a PKCS#11 KEA private key.
`void` | `KEAPrivateKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `X509PublicKeyCertificate.getInstance(Session session, long objectHandle)` The getInstance method of the Certificate class uses this method to create an instance of a PKCS#11 X.509 public key certificate.
`void` | `X509PublicKeyCertificate.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `CAST5SecretKey.getInstance(Session session, long objectHandle)` The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 CAST5 secret key.
`void` | `CAST5SecretKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `RC5SecretKey.getInstance(Session session, long objectHandle)` The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 RC5 secret key.
`void` | `RC5SecretKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `IDEASecretKey.getInstance(Session session, long objectHandle)` The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 IDEA secret key.
`void` | `IDEASecretKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `ECDSAPublicKey.getInstance(Session session, long objectHandle)` The getInstance method of the PublicKey class uses this method to create an instance of a PKCS#11 ECDSA public key.
`void` | `ECDSAPublicKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `RSAPrivateKey.getInstance(Session session, long objectHandle)` The getInstance method of the PrivateKey class uses this method to create an instance of a PKCS#11 RSA private key.
`void` | `RSAPrivateKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `JuniperSecretKey.getInstance(Session session, long objectHandle)` The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 Juniper secret key.
`void` | `JuniperSecretKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `CASTSecretKey.getInstance(Session session, long objectHandle)` The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 CAST secret key.
`void` | `CASTSecretKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `DSAPublicKey.getInstance(Session session, long objectHandle)` The getInstance method of the PublicKey class uses this method to create an instance of a PKCS#11 DSA public key.
`void` | `DSAPublicKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `CAST128SecretKey.getInstance(Session session, long objectHandle)` The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 CAST128 secret key.
`void` | `CAST128SecretKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `CDMFSecretKey.getInstance(Session session, long objectHandle)` The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 CDMF secret key.
`void` | `CDMFSecretKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `RC2SecretKey.getInstance(Session session, long objectHandle)` The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 RC2 secret key.
`void` | `RC2SecretKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `RSAPublicKey.getInstance(Session session, long objectHandle)` The getInstance method of the PublicKey class uses this method to create an instance of a PKCS#11 RSA public key.
`void` | `RSAPublicKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `KEAPublicKey.getInstance(Session session, long objectHandle)` The getInstance method of the PublicKey class uses this method to create an instance of a PKCS#11 KEA public key.
`void` | `KEAPublicKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `DHPrivateKey.getInstance(Session session, long objectHandle)` The getInstance method of the PrivateKey class uses this method to create an instance of a PKCS#11 DH private key.
`void` | `DHPrivateKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `DESSecretKey.getInstance(Session session, long objectHandle)` The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 DES Secret key.
`void` | `DESSecretKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `BatonSecretKey.getInstance(Session session, long objectHandle)` The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 BATON secret key.
`void` | `BatonSecretKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `Clock.getInstance(Session session, long objectHandle)` The getInstance method of the HardwareFeature class uses this method to create an instance of a PKCS#11 clock.
`void` | `Clock.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `ECDSAPrivateKey.getInstance(Session session, long objectHandle)` The getInstance method of the PrivateKey class uses this method to create an instance of a PKCS#11 ECDSA private key.
`void` | `ECDSAPrivateKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `X509AttributeCertificate.getInstance(Session session, long objectHandle)` The getInstance method of the Certificate class uses this method to create an instance of a PKCS#11 X.509 attribute certificate.
`void` | `X509AttributeCertificate.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `RC4SecretKey.getInstance(Session session, long objectHandle)` The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 RC4 secret key.
`void` | `RC4SecretKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`void` | `Mechanism.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `TwofishSecretKey.getInstance(Session session, long objectHandle)` The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 generic Secret key.
`void` | `TwofishSecretKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `DES3SecretKey.getInstance(Session session, long objectHandle)` The getInstance method of the SecretKey class uses this method to create an instance of a PKCS#11 Triple-DES Secret key.
`void` | `DES3SecretKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `WTLSCertificate.getInstance(Session session, long objectHandle)` The getInstance method of the Certificate class uses this method to create an instance of a PKCS#11 WTLS public key certificate.
`void` | `WTLSCertificate.readAttributes(Session session)` Read the values of the attributes of this object from the token.
`static Object` | `X942DHPrivateKey.getInstance(Session session, long objectHandle)` The getInstance method of the PrivateKey class uses this method to create an instance of a PKCS#11 X9.42 DH private key.
`void` | `X942DHPrivateKey.readAttributes(Session session)` Read the values of the attributes of this object from the token.

Constructors in iaik.pkcs.pkcs11.objects that throw TokenException
`Object(Session session, long objectHandle)` The subclasses that are used to create objects by reading the attributes from the token should call this super-constructor first.
`Storage(Session session, long objectHandle)` Constructor taking the reference to the PKCS#11 module for accessing the object's attributes, the session handle to use for reading the attribute values and the object handle.
`DomainParameters(Session session, long objectHandle)` Called by sub-classes to create an instance of PKCS#11 domain parameters.
`DSAParams(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 DSA private key.
`HardwareFeature(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 hardware feature.
`UserInterface(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 user interface.
`Key(Session session, long objectHandle)` Called by sub-classes to create an instance of a PKCS#11 key.
`SecretKey(Session session, long objectHandle)` Called by sub-classes to create an instance of a PKCS#11 secret key.
`GenericSecretKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 generic secret key.
`CAST3SecretKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 CAST3 secret key.
`BlowfishSecretKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 generic secret key.
`MonotonicCounter(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 monotonic counter.
`PublicKey(Session session, long objectHandle)` Called by sub-classes to create an instance of a PKCS#11 public key.
`SkipJackSecretKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 SkipJack secret key.
`DHPublicKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 DH public key.
`X942DHPublicKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 X9.42 DH public key.
`AESSecretKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 AES secret key.
`DHParams(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 DH private key.
`X942DHParams(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 DH private key.
`DES2SecretKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 2DES secret key.
`PrivateKey(Session session, long objectHandle)` Called by sub-classes to create an instance of a PKCS#11 private key.
`DSAPrivateKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 DSA private key.
`Data(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 data object.
`Certificate(Session session, long objectHandle)` Constructor taking the reference to the PKCS#11 module for accessing the object's attributes, the session handle to use for reading the attribute values and the object handle.
`KEAPrivateKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 KEA private key.
`X509PublicKeyCertificate(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 X.509 public key certificate.
`CAST5SecretKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 CAST5 secret key.
`RC5SecretKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 RC5 secret key.
`IDEASecretKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 IDEA secret key.
`ECDSAPublicKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 ECDSA public key.
`RSAPrivateKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 RSA private key.
`JuniperSecretKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 Juniper secret key.
`CASTSecretKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 CAST secret key.
`DSAPublicKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 DSA public key.
`CAST128SecretKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 CAST128 secret key.
`CDMFSecretKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 CDMF secret key.
`RC2SecretKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 RC2 secret key.
`RSAPublicKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 RSA public key.
`KEAPublicKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 KEA public key.
`DHPrivateKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 DH private key.
`DESSecretKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 DES secret key.
`BatonSecretKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 BATON secret key.
`Clock(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 clock.
`ECDSAPrivateKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 ECDSA private key.
`X509AttributeCertificate(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 X.509 attribute certificate.
`RC4SecretKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 RC4 secret key.
`Mechanism(Session session, long objectHandle)` Constructor taking the reference to the PKCS#11 module for accessing the object's attributes, the session handle to use for reading the attribute values and the object handle.
`TwofishSecretKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 generic secret key.
`DES3SecretKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 Triple-DES secret key.
`WTLSCertificate(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 WTLS public key certificate.
`X942DHPrivateKey(Session session, long objectHandle)` Called by getInstance to create an instance of a PKCS#11 X9.42 DH private key.

Uses of TokenException in iaik.pkcs.pkcs11.parameters

Methods in iaik.pkcs.pkcs11.parameters that throw TokenException
`void` | `SSL3KeyMaterialOutParameters.setPKCS11ParamsObject(CK_SSL3_KEY_MAT_OUT input, Session session)` This method takes the key handles from the given input structure, which will be the result after a call to DeriveKey, and creates the SecretKey objects for this object.

Uses of TokenException in iaik.pkcs.pkcs11.wrapper

Subclasses of TokenException in iaik.pkcs.pkcs11.wrapper
`class` | `PKCS11Exception` This is the superclass of all checked exceptions used by this package.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| IAIK PKCS#11 Wrapper version 1.2.18
PREV NEXT | FRAMES NO FRAMES

IAIK JavaSecurity Website http://jce.iaik.tugraz.at/
IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2004, IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved. version 1.2.18