| Package | Description |
|---|---|
| iaik.pkcs.pkcs11 | |
| iaik.pkcs.pkcs11.objects | |
| iaik.pkcs.pkcs11.parameters |
| Modifier and Type | Method and Description |
|---|---|
PKCS11Object |
Session.copyObject(PKCS11Object sourceObject,
PKCS11Object templateObject)
Copy an existing object.
|
PKCS11Object |
Session.createObject(PKCS11Object templateObject)
Create a new object on the token (or in the session).
|
PKCS11Object[] |
Session.findObjects(int maxObjectCount)
Finds objects that match the template object passed to findObjectsInit.
|
PKCS11Object |
Session.generateKey(Mechanism mechanism,
PKCS11Object template)
Generate a new secret key or a set of domain parameters.
|
PKCS11Object |
Session.getAttributeValues(PKCS11Object objectToRead)
Reads all the attributes of the given PKCS11Object from the token and
returns a new PKCS11Object that contains all these attributes.
|
| Modifier and Type | Method and Description |
|---|---|
PKCS11Object |
Session.copyObject(PKCS11Object sourceObject,
PKCS11Object templateObject)
Copy an existing object.
|
PKCS11Object |
Session.createObject(PKCS11Object templateObject)
Create a new object on the token (or in the session).
|
void |
Session.destroyObject(PKCS11Object object)
Destroy a certain object on the token (or in the session).
|
void |
Session.findObjectsInit(PKCS11Object templateObject)
Initializes a find operations that provides means to find objects by
passing a template object.
|
PKCS11Object |
Session.generateKey(Mechanism mechanism,
PKCS11Object template)
Generate a new secret key or a set of domain parameters.
|
KeyPair |
Session.generateKeyPair(Mechanism mechanism,
PKCS11Object publicKeyTemplate,
PKCS11Object 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.
|
PKCS11Object |
Session.getAttributeValues(PKCS11Object objectToRead)
Reads all the attributes of the given PKCS11Object from the token and
returns a new PKCS11Object that contains all these attributes.
|
void |
Session.setAttributeValues(PKCS11Object objectToUpdate,
PKCS11Object 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,
PKCS11Object keyTemplate)
Unwraps (decrypts) the given encrypted key with the unwrapping key using
the given mechanism.
|
| Modifier and Type | Class and Description |
|---|---|
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 |
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 |
ECPrivateKey
Objects of this class represent ECDSA private keys as specified by PKCS#11
v2.11.
|
class |
ECPublicKey
Objects of this class represent ECDSA public 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 |
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 |
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 |
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 |
UserInterface
Objects of this class represent a user interface as specified by PKCS#11
v2.20.
|
class |
ValuedSecretKey
Objects of this class represent secret keys as specified by PKCS#11
v2.11.
|
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 PKCS11Object |
AttributeArray.template
The attributes of this attribute array in their object class
representation.
|
| Modifier and Type | Method and Description |
|---|---|
PKCS11Object |
Certificate.VendorDefinedCertificateBuilder.build(Session session,
long objectHandle)
This method should instantiate an PKCS11Object of this class or of
any sub-class.
|
PKCS11Object |
PKCS11Object.VendorDefinedObjectBuilder.build(Session session,
long objectHandle)
This method should instantiate an PKCS11Object of this class or of
any sub-class.
|
PKCS11Object |
HardwareFeature.VendorDefinedHardwareFeatureBuilder.build(Session session,
long objectHandle)
This method should instantiate an PKCS11Object of this class or of
any sub-class.
|
PKCS11Object |
DomainParameters.VendorDefinedDomainParametersBuilder.build(Session session,
long objectHandle)
This method should instantiate an PKCS11Object of this class or of
any sub-class.
|
PKCS11Object |
Key.VendorDefinedKeyBuilder.build(Session session,
long objectHandle)
This method should instantiate an PKCS11Object of this class or of
any sub-class.
|
PKCS11Object |
AttributeArray.getAttributeArrayValue()
Get the attribute array value of this attribute.
|
static PKCS11Object |
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 PKCS11Object |
ECPrivateKey.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 PKCS11Object |
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 PKCS11Object |
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 PKCS11Object |
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 PKCS11Object |
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 PKCS11Object |
SecretKey.getInstance(Session session,
long objectHandle)
The getInstance method of the PKCS11Object class uses this method to
create an instance of a PKCS#11 secret key.
|
static PKCS11Object |
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 PKCS11Object |
PrivateKey.getInstance(Session session,
long objectHandle)
The getInstance method of the PKCS11Object class uses this method to
create an instance of a PKCS#11 private key.
|
static PKCS11Object |
Data.getInstance(Session session,
long objectHandle)
The getInstance method of the PKCS11Object class uses this method to
create an instance of a PKCS#11 data object.
|
static PKCS11Object |
ECPublicKey.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 PKCS11Object |
Certificate.getInstance(Session session,
long objectHandle)
The getInstance method of the PKCS11Object class uses this method to
create an instance of a PKCS#11 certificate.
|
static PKCS11Object |
PublicKey.getInstance(Session session,
long objectHandle)
The getInstance method of the PKCS11Object class uses this method to
create an instance of a PKCS#11 public key.
|
static PKCS11Object |
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 PKCS11Object |
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 PKCS11Object |
PKCS11Object.getInstance(Session session,
long objectHandle)
The object creation mechanism of ObjectAccess uses this method to create
an instance of an PKCS#11 object.
|
static PKCS11Object |
HardwareFeature.getInstance(Session session,
long objectHandle)
Called by sub-classes to create an instance of a PKCS#11 hardware
feature.
|
static PKCS11Object |
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 PKCS11Object |
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 PKCS11Object |
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 PKCS11Object |
DomainParameters.getInstance(Session session,
long objectHandle)
The getInstance method of the PKCS11Object class uses this method to
create an instance of PKCS#11 domain parameters.
|
static PKCS11Object |
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 PKCS11Object |
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 PKCS11Object |
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 PKCS11Object |
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 PKCS11Object |
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 PKCS11Object |
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 PKCS11Object |
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 PKCS11Object |
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 PKCS11Object |
ValuedSecretKey.getInstance(Session session,
long objectHandle,
long keyType)
The getInstance method of the SecretKey class uses this method to create
an instance of a PKCS#11 AES secret key.
|
protected static PKCS11Object |
Certificate.getUnknownCertificate(Session session,
long objectHandle)
Try to create a certificate which has no or an unknown certificate type
attribute.
|
protected static PKCS11Object |
DomainParameters.getUnknownDomainParameters(Session session,
long objectHandle)
Try to create a domain parameters which has no or an unknown key type
type attribute.
|
protected static PKCS11Object |
HardwareFeature.getUnknownHardwareFeature(Session session,
long objectHandle)
Try to create a hardware feature which has no or an unknown hardware
feature type attribute.
|
protected static PKCS11Object |
PKCS11Object.getUnknownObject(Session session,
long objectHandle)
Try to create an object which has no or an unknown object class
attribute.
|
protected static PKCS11Object |
PrivateKey.getUnknownPrivateKey(Session session,
long objectHandle)
Try to create a key which has no or an unknown private key type
type attribute.
|
protected static PKCS11Object |
PublicKey.getUnknownPublicKey(Session session,
long objectHandle)
Try to create a key which has no or an unknown public key type attribute.
|
protected static PKCS11Object |
SecretKey.getUnknownSecretKey(Session session,
long objectHandle)
Try to create a key which has no or an unkown secret key type
type attribute.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GenericTemplate.addAllAttributes(PKCS11Object object)
Adds all attributes of the given object to this generic template.
|
void |
GenericTemplate.addAllPresentAttributes(PKCS11Object object)
Adds all attributes of the given object which have their present flag set
to this generic template.
|
static sun.security.pkcs11.wrapper.CK_ATTRIBUTE[] |
PKCS11Object.getSetAttributes(PKCS11Object object)
Returns the PKCS#11 attributes of an object.
|
protected static void |
PKCS11Object.putAttributesInTable(PKCS11Object object)
Put all attributes of the given object into the attributes table of this
object.
|
void |
GenericTemplate.removeAllAttributes(PKCS11Object object)
Removes all attributes of the given object from this generic template.
|
void |
GenericTemplate.removeAllPresentAttributes(PKCS11Object object)
Removes all attributes of the given object which have their present flag
set from this generic template.
|
void |
AttributeArray.setAttributeArrayValue(PKCS11Object value)
Set the attributes of this attribute array by specifying a
GenericTemplate.
|
| Modifier and Type | Field and Description |
|---|---|
protected PKCS11Object |
ObjectHandleParameters.object
The PKCS#11 object.
|
protected PKCS11Object |
EcDH2KeyDerivationParameters.privateData
The key for the second EC private key value.
|
protected PKCS11Object |
X942DH2KeyDerivationParameters.privateData
The key for the second EC private key value.
|
| Modifier and Type | Method and Description |
|---|---|
PKCS11Object |
ObjectHandleParameters.getObject()
Get the PKCS#11 object.
|
PKCS11Object |
EcDH2KeyDerivationParameters.getPrivateData()
Get the key for the second EC private key value.
|
PKCS11Object |
X942DH2KeyDerivationParameters.getPrivateData()
Get the key for the second X9.42 private key value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ObjectHandleParameters.setObjectHandle(PKCS11Object object)
Set the PKCS#11 object.
|
void |
EcDH2KeyDerivationParameters.setPrivateData(PKCS11Object privateData)
Set the key for the second EC private key value.
|
void |
X942DH2KeyDerivationParameters.setPrivateData(PKCS11Object privateData)
Set the key for the second X9.42 private key value.
|
| Constructor and Description |
|---|
EcDH2KeyDerivationParameters(long kdf,
byte[] sharedData,
byte[] publicData,
long privateDataLength,
PKCS11Object privateData,
byte[] publicData2)
Create a new EcDH1KeyDerivationParameters object with the given
attributes.
|
ObjectHandleParameters(PKCS11Object object)
Create a new ObjectHandleParameters object using the given object.
|
X942DH2KeyDerivationParameters(long keyDerivationFunction,
byte[] sharedData,
byte[] publicData,
long privateDataLength,
PKCS11Object privateData,
byte[] publicData2)
Create a new X942DH1KeyDerivationParameters object with the given
attributes.
|
Copyright © 2020. All rights reserved.