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.
|
Modifier and Type | Method and Description |
---|---|
Session |
Token.openSession(boolean serialSession,
boolean rwSession,
java.lang.Object application,
Notify notify)
Open a new session to perfom operations on this token.
|
Modifier and Type | Method and Description |
---|---|
void |
Notify.notify(Session session,
boolean surrender,
java.lang.Object application)
The module calls this method in certain events.
|
Modifier and Type | Method and Description |
---|---|
Object |
Key.VendorDefinedKeyBuilder.build(Session session,
long objectHandle)
This method should instantiate an Object of this class or of any sub-class.
|
Object |
Certificate.VendorDefinedCertificateBuilder.build(Session session,
long objectHandle)
This method should instantiate an Object of this class or of any sub-class.
|
Object |
HardwareFeature.VendorDefinedHardwareFeatureBuilder.build(Session session,
long objectHandle)
This method should instanciate an Object of this class or of any sub-class.
|
Object |
DomainParameters.VendorDefinedDomainParametersBuilder.build(Session session,
long objectHandle)
This method should instantiate an Object of this class or of any sub-class.
|
Object |
Object.VendorDefinedObjectBuilder.build(Session session,
long objectHandle)
This method should instantiate an Object of this class or of any sub-class.
|
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() ). |
protected static void |
Object.getAttributeValue(Session session,
long objectHandle,
Attribute attribute)
This method reads the attribute specified by
attribute from the token using the
given session . |
protected static void |
Object.getAttributeValues(Session session,
long objectHandle,
Attribute[] attributes)
This method reads the attributes in a similar way as
Object.getAttributeValue(iaik.pkcs.pkcs11.Session, long, iaik.pkcs.pkcs11.objects.Attribute) , but a complete
array at once. |
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.
|
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