Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
Session.cancelFunction()
Legacy function that will normally throw an PKCS11Exception with the error-code
PKCS11Constants.CKR_FUNCTION_NOT_PARALLEL.
|
void |
Token.closeAllSessions()
Close all open sessions of this token.
|
void |
Session.closeSession()
Closes this session.
|
Object |
Session.copyObject(Object sourceObject,
Object templateObject)
Copy an existing object.
|
Object |
Session.createObject(Object templateObject)
Create a new object on the token (or in the session).
|
byte[] |
Session.decrypt(byte[] data)
Decrypts the given data with the key and mechanism given to the decryptInit method.
|
byte[] |
Session.decryptDigestUpdate(byte[] part)
Dual-function.
|
byte[] |
Session.decryptFinal()
This method finalizes a decryption operation and returns the final result.
|
void |
Session.decryptInit(Mechanism mechanism,
Key key)
Initializes a new decryption operation.
|
byte[] |
Session.decryptMessage(Parameters parameter,
byte[] associatedData,
byte[] plaintext)
Decrypts the given message with the key and mechanism given to the MessageDecryptInit method.
|
void |
Session.decryptMessageBegin(Parameters parameter,
byte[] associatedData)
Starts a multi-part message-decryption operation.
|
byte[] |
Session.decryptMessageNext(Parameters parameter,
byte[] ciphertext,
boolean isLastOperation)
Decrypts one part of a multi-part decryption operation.
|
byte[] |
Session.decryptUpdate(byte[] encryptedPart)
This method can be used to decrypt multiple pieces of data; e.g.
|
byte[] |
Session.decryptVerifyUpdate(byte[] encryptedPart)
Dual-function.
|
Key |
Session.deriveKey(Mechanism mechanism,
Key baseKey,
Key template)
Derives a new key from a specified base key unsing the given mechanism.
|
void |
Session.destroyObject(Object object)
Destroy a certain object on the token (or in the session).
|
byte[] |
Session.digest(byte[] data)
Digests the given data with the mechanism given to the digestInit method.
|
byte[] |
Session.digestEncryptedUpdate(byte[] part)
Dual-function.
|
byte[] |
Session.digestFinal()
This method finalizes a digesting operation and returns the final result.
|
void |
Session.digestInit(Mechanism mechanism)
Initializes a new digesting operation.
|
void |
Session.digestKey(SecretKey key)
This method is similar to digestUpdate and can be combined with it during one digesting
operation.
|
void |
Session.digestUpdate(byte[] part)
This method can be used to digest multiple pieces of data; e.g.
|
byte[] |
Session.encrypt(byte[] data)
Encrypts the given data with the key and mechansim given to the encryptInit method.
|
byte[] |
Session.encryptFinal()
This method finalizes an encrpytion operation and returns the final result.
|
void |
Session.encryptInit(Mechanism mechanism,
Key key)
Initializes a new encryption operation.
|
byte[] |
Session.encryptMessage(Parameters parameter,
byte[] associatedData,
byte[] plaintext)
Encrypts the given message with the key and mechanism given to the MessageEncryptInit method.
|
void |
Session.encryptMessageBegin(Parameters parameter,
byte[] associatedData)
Starts a multi-part message-encryption operation.
|
byte[] |
Session.encryptMessageNext(Parameters parameter,
byte[] plaintext,
boolean isLastOperation)
Encrypts one part of a multi-part encryption operation.
|
byte[] |
Session.encryptUpdate(byte[] part)
This method can be used to encrypt multiple pieces of data; e.g.
|
void |
Module.finalize(java.lang.Object args)
Finalizes this module.
|
Object[] |
Session.findObjects(int maxObjectCount)
Finds objects that match the template object passed to findObjectsInit.
|
void |
Session.findObjectsFinal()
Finalizes a find operation.
|
void |
Session.findObjectsInit(Object templateObject)
Initializes a find operations that provides means to find objects by passing a template object.
|
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.generateRandom(int numberOfBytesToGenerate)
Generates a certain number of random bytes.
|
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.getFunctionStatus()
Legacy function that will normally throw an PKCS11Exception with the error-code
PKCS11Constants.CKR_FUNCTION_NOT_PARALLEL.
|
Info |
Module.getInfo()
Gets information about the module; i.e.
|
MechanismInfo |
Token.getMechanismInfo(Mechanism mechanism)
Get mor information about one supported mechanism.
|
Mechanism[] |
Token.getMechanismList()
Get the list of mechanisms that this token supports.
|
long |
Session.getObjectSize(Object object)
Get the size of the specified object in bytes.
|
byte[] |
Session.getOperationState()
Get the current operation state.
|
SessionInfo |
Session.getSessionInfo()
Get information about this session.
|
SlotInfo |
Slot.getSlotInfo()
Get information about this slot object.
|
Slot[] |
Module.getSlotList(boolean tokenPresent)
Gets a list of slots that can accept tokens that are compatible with this module; e.g.
|
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.
|
TokenInfo |
Token.getTokenInfo()
Get information about this token.
|
void |
Module.initialize(InitializeArgs initArgs)
Initializes the module.
|
void |
Session.initPIN(char[] pin)
Initializes the user-PIN.
|
void |
Token.initToken(char[] pin,
java.lang.String label)
Initialize the token.
|
boolean |
Token.isLoginRequired() |
boolean |
Session.isRwSession()
Determines if this session is a R/W session.
|
void |
Session.login(boolean userType,
char[] pin)
Logs in the user or the security officer to the session.
|
void |
Session.loginUser(boolean userType,
char[] pin,
char[] username)
Logs in the user or the security officer to the session.
|
void |
Session.logout()
Logs out this session.
|
void |
Session.messageDecryptFinal()
finishes multi-part message decryption operation.
|
void |
Session.messageDecryptInit(Mechanism mechanism,
Key key)
Initializes a new message decryption operation.
|
void |
Session.messageEncryptFinal()
Finishes a Message Encryption Operation which has previously been started with messageEncryptInit.
|
void |
Session.messageEncryptInit(Mechanism mechanism,
Key key)
Initializes a new message encryption operation.
|
void |
Session.messageSignFinal()
finishes a message-based signing process.
|
void |
Session.messageSignInit(Mechanism mechanism,
Key key) |
void |
Session.messageVerifyFinal()
finishes a message-based verification process.
|
void |
Session.messageVerifyInit(Mechanism mechanism,
Key key)
Initiates a message verification operation, preparing a session for one or
more verification operations (where the signature is an appendix to the data) that use the same
verification mechanism and verification key.
|
Session |
Token.openSession(boolean serialSession,
boolean rwSession,
java.lang.Object application,
Notify notify)
Open a new session to perfom operations on this token.
|
void |
Session.seedRandom(byte[] seed)
Mixes additional seeding material into the random number generator.
|
void |
Session.sessionCancel()
terminates active session based operations.
|
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).
|
void |
Session.setOperationState(byte[] operationState,
Key encryptionKey,
Key authenticationKey)
Sets the operation state of this session to a previously saved one.
|
void |
Session.setPIN(char[] oldPin,
char[] newPin)
Set the user-PIN to a new value.
|
byte[] |
Session.sign(byte[] data)
Signs the given data with the key and mechansim given to the signInit method.
|
byte[] |
Session.signEncryptUpdate(byte[] part)
Dual-function.
|
byte[] |
Session.signFinal()
This method finalizes a signing operation and returns the final result.
|
void |
Session.signInit(Mechanism mechanism,
Key key)
Initializes a new signing operation.
|
byte[] |
Session.signMessage(Parameters parameter,
byte[] data) |
void |
Session.signMessageBegin(Parameters parameter)
SignMessageBegin begins a multiple-part message signature operation, where the signature is an
appendix to the message.
|
byte[] |
Session.signMessageNext(Parameters parameter,
byte[] data,
boolean isLastOperation)
SignMessageNext continues a multiple-part message signature operation, processing another data
part, or finishes a multiple-part message signature operation, returning the signature.
|
byte[] |
Session.signRecover(byte[] data)
Signs the given data with the key and mechansim given to the signRecoverInit method.
|
void |
Session.signRecoverInit(Mechanism mechanism,
Key key)
Initializes a new signing operation for signing with recovery.
|
void |
Session.signUpdate(byte[] part)
This method can be used to sign multiple pieces of data; e.g.
|
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.
|
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.verifyFinal(byte[] signature)
This method finalizes a verification operation.
|
void |
Session.verifyInit(Mechanism mechanism,
Key key)
Initializes a new verification operation.
|
void |
Session.verifyMessage(Parameters parameter,
byte[] data,
byte[] signature)
Verifies a signature on a message in a single part operation.
|
void |
Session.verifyMessageBegin(Parameters parameter)
Begins a multi-part message verification operation.
|
void |
Session.verifyMessageNext(Parameters parameter,
byte[] data,
byte[] signature)
continues a multiple-part message verification operation, processing another data
part, or finishes a multiple-part message verification operation, checking the signature.
|
byte[] |
Session.verifyRecover(byte[] signature)
Verifies the given data with the key and mechansim given to the verifyRecoverInit method.
|
void |
Session.verifyRecoverInit(Mechanism mechanism,
Key key)
Initializes a new verification operation for verification with data recovery.
|
void |
Session.verifyUpdate(byte[] part)
This method can be used to verify a signature with multiple pieces of data; e.g.
|
Slot |
Module.waitForSlotEvent(boolean dontBlock,
java.lang.Object reserved)
Waits for an slot event.
|
byte[] |
Session.wrapKey(Mechanism mechanism,
Key wrappingKey,
Key key)
Wraps (encrypts) the given key with the wrapping key using the given mechanism.
|
Modifier and Type | Method and Description |
---|---|
void |
Object.checkAttributesState(Session session)
Checks for all of this object's attributes whether their state is known (see
#isStateKnown() ). |
void |
Object.checkAttributeState(Session session,
java.lang.Long type)
Checks for the given attribute type, if it's an attribute of this object and whether its state
is known (see
#isStateKnown() ). |
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
static Object |
HardwareFeature.getInstance(Session session,
long objectHandle)
Called by sub-classes to create an instance of a PKCS#11 hardware feature.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
static Object |
Mechanism.getInstance(Session session,
long objectHandle) |
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
protected static Object |
Certificate.getUnknownCertificate(Session session,
long objectHandle)
Try to create a certificate which has no or an unknown certificate type attribute.
|
protected static Object |
DomainParameters.getUnknownDomainParameters(Session session,
long objectHandle)
Try to create a domain parameters which has no or an unknown key type attribute.
|
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.
|
protected static Object |
Object.getUnknownObject(Session session,
long objectHandle)
Try to create an object which has no or an unknown object class attribute.
|
protected static Object |
PrivateKey.getUnknownPrivateKey(Session session,
long objectHandle)
Try to create a key which has no or an unknown private key type type attribute.
|
protected static Object |
PublicKey.getUnknownPublicKey(Session session,
long objectHandle)
Try to create a key which has no or an unknown public key type type attribute.
|
protected static Object |
SecretKey.getUnknownSecretKey(Session session,
long objectHandle)
Try to create a key which has no or an unknown secret key type type attribute.
|
void |
Object.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
Constructor and Description |
---|
AESSecretKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 AES secret key.
|
BatonSecretKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 BATON secret key.
|
BlowfishSecretKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 generic secret key.
|
CAST128SecretKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 CAST128 secret key.
|
CAST3SecretKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 CAST3 secret key.
|
CAST5SecretKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 CAST5 secret key.
|
CASTSecretKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 CAST secret key.
|
CDMFSecretKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 CDMF secret key.
|
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.
|
Clock(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 clock.
|
Data(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 data object.
|
DES2SecretKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 2DES secret key.
|
DES3SecretKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 Triple-DES secret key.
|
DESSecretKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 DES secret key.
|
DHParams(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 DH private key.
|
DHPrivateKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 DH private key.
|
DHPublicKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 DH public key.
|
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.
|
DSAPrivateKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 DSA private key.
|
DSAPublicKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 DSA public key.
|
ECDSAPrivateKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 ECDSA private key.
|
ECDSAPublicKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 ECDSA public key.
|
GenericSecretKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 generic secret key.
|
HardwareFeature(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 hardware feature.
|
IDEASecretKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 IDEA secret key.
|
JuniperSecretKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 Juniper secret key.
|
KEAPrivateKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 KEA private key.
|
KEAPublicKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 KEA public key.
|
Key(Session session,
long objectHandle)
Called by sub-classes to create an instance of a PKCS#11 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.
|
MonotonicCounter(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 monotonic counter.
|
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.
|
PrivateKey(Session session,
long objectHandle)
Called by sub-classes to create an instance of a PKCS#11 private key.
|
PublicKey(Session session,
long objectHandle)
Called by sub-classes to create an instance of a PKCS#11 public key.
|
RC2SecretKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 RC2 secret key.
|
RC4SecretKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 RC4 secret key.
|
RC5SecretKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 RC5 secret key.
|
RSAPrivateKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 RSA private key.
|
RSAPublicKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 RSA public key.
|
SecretKey(Session session,
long objectHandle)
Called by sub-classes to create an instance of a PKCS#11 secret key.
|
SkipJackSecretKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 SkipJack secret key.
|
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.
|
TwofishSecretKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 generic secret key.
|
UserInterface(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 user interface.
|
WTLSCertificate(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 WTLS public key certificate.
|
X509AttributeCertificate(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 X.509 attribute certificate.
|
X509PublicKeyCertificate(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 X.509 public key certificate.
|
X942DHParams(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 DH private key.
|
X942DHPrivateKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 X9.42 DH private key.
|
X942DHPublicKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 X9.42 DH public key.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
PKCS11Exception
This is the superclass of all checked exceptions used by this package.
|
IAIK JavaSecurity Website http://jce.iaik.tugraz.at/
IAIK at Graz University of Technology, Austria, Europe
Copyright 2001-2023 IAIK, Graz University of Technology, Inffeldgasse 16a, 8010 Graz, Austria. All Rights Reserved. version 1.6.9