| Package | Description |
|---|---|
| iaik.pkcs.pkcs11 | |
| iaik.pkcs.pkcs11.objects | |
| iaik.pkcs.pkcs11.params |
| Modifier and Type | Method and Description |
|---|---|
Session |
Token.openSession(boolean serialSession,
boolean rwSession,
Object application,
Notify notify)
Open a new session to perform operations on this token.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Notify.notify(Session session,
boolean surrender,
Object application)
The module calls this method in certain events.
|
| 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.
|
protected static void |
PKCS11Object.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 |
PKCS11Object.getAttributeValues(Session session,
long objectHandle,
Attribute[] attributes)
This method reads the attributes in a similar way as
PKCS11Object.getAttributeValue(iaik.pkcs.pkcs11.Session, long, iaik.pkcs.pkcs11.objects.Attribute), but a complete array at once. |
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.
|
void |
X942DHParams.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
ECPrivateKey.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
MonotonicCounter.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.
|
void |
KEAPublicKey.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
DSAParams.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
RSAPublicKey.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
SecretKey.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
X942DHPrivateKey.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
PrivateKey.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
Data.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
ECPublicKey.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
Certificate.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
PublicKey.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
X509PublicKeyCertificate.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
DSAPublicKey.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
PKCS11Object.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
ValuedSecretKey.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
Clock.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
UserInterface.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
WTLSCertificate.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
DomainParameters.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.
|
void |
Key.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
X509AttributeCertificate.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
RSAPrivateKey.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
DSAPrivateKey.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
DHPrivateKey.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
KEAPrivateKey.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
DHParams.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
X942DHPublicKey.readAttributes(Session session)
Read the values of the attributes of this object from the token.
|
void |
DHPublicKey.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.
|
| Constructor and Description |
|---|
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.
|
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.
|
ECPrivateKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 ECDSA private
key.
|
ECPublicKey(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 ECDSA public
key.
|
HardwareFeature(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 hardware
feature.
|
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.
|
PKCS11Object(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.
|
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.
|
SM2PrivateKey(Session session,
long objectHandle) |
SM2PublicKey(Session session,
long objectHandle) |
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.
|
UserInterface(Session session,
long objectHandle)
Called by getInstance to create an instance of a PKCS#11 user interface.
|
ValuedSecretKey(Session session,
long objectHandle,
long keyType)
Called by getInstance to create an instance of a PKCS#11 secret key.
|
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 |
SSL3KeyMaterialOutParams.setPKCS11ParamsObject(sun.security.pkcs11.wrapper.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.
|
Copyright © 2018. All rights reserved.