| Package | Description |
|---|---|
| iaik.pkcs.pkcs11 | |
| iaik.pkcs.pkcs11.objects |
| Modifier and Type | Method and Description |
|---|---|
Key |
Session.deriveKey(Mechanism mechanism,
Key baseKey,
Key template)
Derives a new key from a specified base key using the given mechanism.
|
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 | Method and Description |
|---|---|
void |
Session.decryptInit(Mechanism mechanism,
Key key)
Initializes a new decryption operation.
|
Key |
Session.deriveKey(Mechanism mechanism,
Key baseKey,
Key template)
Derives a new key from a specified base key using the given mechanism.
|
void |
Session.encryptInit(Mechanism mechanism,
Key key)
Initializes a new encryption operation.
|
void |
Session.setOperationState(byte[] operationState,
Key encryptionKey,
Key authenticationKey)
Sets the operation state of this session to a previously saved one.
|
void |
Session.signInit(Mechanism mechanism,
Key key)
Initializes a new signing operation.
|
void |
Session.signRecoverInit(Mechanism mechanism,
Key key)
Initializes a new signing operation for signing with recovery.
|
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.
|
void |
Session.verifyInit(Mechanism mechanism,
Key key)
Initializes a new verification operation.
|
void |
Session.verifyRecoverInit(Mechanism mechanism,
Key key)
Initializes a new verification operation for verification with data
recovery.
|
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 | Class and Description |
|---|---|
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 |
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 |
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 |
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 |
SM2PrivateKey
Objects of this class represent SM2 private keys as specified by PKCS#11
v2.11.
|
class |
SM2PublicKey
Objects of this class represent SM2 public keys as specified by PKCS#11
v2.11.
|
class |
ValuedSecretKey
Objects of this class represent secret keys 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 | Method and Description |
|---|---|
protected static void |
Key.putAttributesInTable(Key object)
Put all attributes of the given object into the attributes table of this
object.
|
Copyright © 2018. All rights reserved.