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 |
---|---|
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).
|
Object[] |
Session.findObjects(int maxObjectCount)
Finds objects that match the template object passed to findObjectsInit.
|
Object |
Session.generateKey(Mechanism mechanism,
Object template)
Generate a new secret key or a set of domain parameters.
|
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.
|
Modifier and Type | Method and Description |
---|---|
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).
|
void |
Session.destroyObject(Object object)
Destroy a certain object on the token (or in the session).
|
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.
|
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.
|
long |
Session.getObjectSize(Object object)
Get the size of the specified object in bytes.
|
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).
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
AESSecretKey
Objects of this class represent AES secret keys as specified by PKCS#11 v2.11.
|
class |
BatonSecretKey
Objects of this class represent BATON secret keys as specified by PKCS#11 v2.11.
|
class |
BlowfishSecretKey
Objects of this class represent Blowfish secret keys as specified by PKCS#11 v2.20.
|
class |
CAST128SecretKey
Objects of this class represent CAST128 secret keys as specified by PKCS#11 v2.11.
|
class |
CAST3SecretKey
Objects of this class represent CAST3 secret keys as specified by PKCS#11 v2.11.
|
class |
CAST5SecretKey
Objects of this class represent CAST5 secret keys as specified by PKCS#11 v2.11.
|
class |
CASTSecretKey
Objects of this class represent CAST secret keys as specified by PKCS#11 v2.11.
|
class |
CDMFSecretKey
Objects of this class represent CDMF secret keys as specified by PKCS#11 v2.11.
|
class |
Certificate
An object of this class represents a certificate as defined by PKCS#11.
|
class |
Clock
Objects of this class represent a clock as specified by PKCS#11 v2.11.
|
class |
Data
Objects of this class represent a data object as specified by PKCS#11 v2.11.
|
class |
DES2SecretKey
Objects of this class represent double-length DES secret keys as specified by PKCS#11 v2.11.
|
class |
DES3SecretKey
Objects of this class represent Triple-DES secret keys as specified by PKCS#11 v2.11.
|
class |
DESSecretKey
Objects of this class represent DES secret keys as specified by PKCS#11 v2.11.
|
class |
DHParams
Objects of this class represent DH domain parameters as specified by PKCS#11 v2.11.
|
class |
DHPrivateKey
Objects of this class represent DH private keys as specified by PKCS#11 v2.11.
|
class |
DHPublicKey
Objects of this class represent DH public keys as specified by PKCS#11 v2.11.
|
class |
DomainParameters
An object of this class represents domain parameters as defined by PKCS#11 2.11.
|
class |
DSAParams
Objects of this class represent DSA domain parameters as specified by PKCS#11 v2.11.
|
class |
DSAPrivateKey
Objects of this class represent DSA private keys as specified by PKCS#11 v2.11.
|
class |
DSAPublicKey
Objects of this class represent DSA public keys as specified by PKCS#11 v2.11.
|
class |
ECDSAPrivateKey
Objects of this class represent ECDSA private keys as specified by PKCS#11 v2.11.
|
class |
ECDSAPublicKey
Objects of this class represent ECDSA public keys as specified by PKCS#11 v2.11.
|
class |
GenericSecretKey
Objects of this class represent generic secret keys as specified by PKCS#11 v2.11.
|
class |
GenericTemplate
An object of this class is a generic template.
|
class |
HardwareFeature
This is the base class for hardware feature classes.
|
class |
IDEASecretKey
Objects of this class represent IDEA secret keys as specified by PKCS#11 v2.11.
|
class |
JuniperSecretKey
Objects of this class represent Juniper secret keys as specified by PKCS#11 v2.11.
|
class |
KEAPrivateKey
Objects of this class represent KEA private keys as specified by PKCS#11 v2.11.
|
class |
KEAPublicKey
Objects of this class represent KEA public keys as specified by PKCS#11 v2.11.
|
class |
Key
An object of this class represents a key as defined by PKCS#11 2.11.
|
class |
Mechanism
Objects of this class represent Mechanism Objects as introduced in PKCS#11 2.20.
|
class |
MonotonicCounter
Objects of this class represent a monotonic counter as specified by PKCS#11 v2.11.
|
class |
PrivateKey
This is the base class for private (asymmetric) keys.
|
class |
PublicKey
This is the base class for public (asymmetric) keys.
|
class |
RC2SecretKey
Objects of this class represent RC2 secret keys as specified by PKCS#11 v2.11.
|
class |
RC4SecretKey
Objects of this class represent RC4 secret keys as specified by PKCS#11 v2.11.
|
class |
RC5SecretKey
Objects of this class represent RC5 secret keys as specified by PKCS#11 v2.11.
|
class |
RSAPrivateKey
Objects of this class represent RSA private keys as specified by PKCS#11 v2.11.
|
class |
RSAPublicKey
Objects of this class represent RSA public keys as specified by PKCS#11 v2.11.
|
class |
SecretKey
This is the base class for secret (symmetric) keys.
|
class |
SkipJackSecretKey
Objects of this class represent SkipJack secret keys as specified by PKCS#11 v2.11.
|
class |
Storage
Objects of this class represent PKCS#11 objects of type storage as defined in PKCSC#11 2.11, but
is compatible to version 2.01.
|
class |
TwofishSecretKey
Objects of this class represent Twofish secret keys as specified by PKCS#11 v2.20.
|
class |
UserInterface
Objects of this class represent a user interface as specified by PKCS#11 v2.20.
|
class |
WTLSCertificate
Objects of this class represent WTLS public key certificates as specified by PKCS#11 v2.20 Chap.
|
class |
X509AttributeCertificate
Objects of this class represent X.509 attribute certificate as specified by PKCS#11 v2.11.
|
class |
X509PublicKeyCertificate
Objects of this class represent X.509 public key certificate as specified by PKCS#11 v2.11.
|
class |
X942DHParams
Objects of this class represent X9.42 DH domain parameters as specified by PKCS#11 v2.11.
|
class |
X942DHPrivateKey
Objects of this class represent X9.42 DH private keys as specified by PKCS#11 v2.11.
|
class |
X942DHPublicKey
Objects of this class represent X9.42 DH public keys as specified by PKCS#11 v2.11.
|
Modifier and Type | Field and Description |
---|---|
protected Object |
AttributeArray.template_
The attributes of this attribute array in their object class representation.
|
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.
|
Object |
AttributeArray.getAttributeArrayValue()
Get the attribute array value of this attribute.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
GenericTemplate.addAllAttributes(Object object)
Adds all attributes of the given object to this generic template.
|
void |
GenericTemplate.addAllPresentAttributes(Object object)
Adds all attributes of the given object which have their present flag set to this generic
template.
|
static CK_ATTRIBUTE[] |
Object.getSetAttributes(Object object)
This method returns the PKCS#11 attributes of an object.
|
protected static void |
Object.putAttributesInTable(Object object)
Put all attributes of the given object into the attributes table of this object.
|
void |
GenericTemplate.removeAllAttributes(Object object)
Removes all attributes of the given object from this generic template.
|
void |
GenericTemplate.removeAllPresentAttributes(Object object)
Removes all attributes of the given object which have their present flag set from this generic
template.
|
void |
AttributeArray.setAttributeArrayValue(Object value)
Set the attributes of this attribute array by specifying a GenericTemplate.
|
Modifier and Type | Field and Description |
---|---|
protected Object |
ObjectHandleParameters.object_
The PKCS#11 object.
|
protected Object |
EcDH2KeyDerivationParameters.privateData_
The key for the second EC private key value.
|
protected Object |
X942DH2KeyDerivationParameters.privateData_
The key for the second EC private key value.
|
Modifier and Type | Method and Description |
---|---|
Object |
ObjectHandleParameters.getObject()
Get the PKCS#11 object.
|
Object |
EcDH2KeyDerivationParameters.getPrivateData()
Get the key for the second EC private key value.
|
Object |
X942DH2KeyDerivationParameters.getPrivateData()
Get the key for the second X9.42 private key value.
|
Modifier and Type | Method and Description |
---|---|
void |
ObjectHandleParameters.setObjectHandle(Object object)
Set the PKCS#11 object.
|
void |
EcDH2KeyDerivationParameters.setPrivateData(Object privateData)
Set the key for the second EC private key value.
|
void |
X942DH2KeyDerivationParameters.setPrivateData(Object privateData)
Set the key for the second X9.42 private key value.
|
Constructor and Description |
---|
EcDH2KeyDerivationParameters(long keyDerivationFunction,
byte[] sharedData,
byte[] publicData,
long privateDataLength,
Object privateData,
byte[] publicData2)
Create a new EcDH1KeyDerivationParameters object with the given attributes.
|
ObjectHandleParameters(Object object)
Create a new ObjectHandleParameters object using the given object.
|
X942DH2KeyDerivationParameters(long keyDerivationFunction,
byte[] sharedData,
byte[] publicData,
long privateDataLength,
Object privateData,
byte[] publicData2)
Create a new X942DH1KeyDerivationParameters object with the given attributes.
|
X942DHMQVKeyDerivationParameters(long keyDerivationFunction,
byte[] sharedData,
byte[] publicData,
long privateDataLength,
Object privateData,
byte[] publicData2,
Object publicKey) |
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