| Package | Description |
|---|---|
| org.xipki.pkcs11.wrapper | |
| org.xipki.pkcs11.wrapper.multipart | |
| org.xipki.pkcs11.wrapper.params |
| Modifier and Type | Method and Description |
|---|---|
CkParams |
Mechanism.getParameters()
Get the parameters object of this mechanism.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
Session.decryptMessage(CkParams params,
byte[] associatedData,
byte[] ciphertext)
Decrypts the given message with the key and mechanism given to the MessageDecryptInit method.
|
void |
Session.decryptMessageBegin(CkParams params,
byte[] associatedData)
Starts a multipart message-decryption operation.
|
byte[] |
Session.decryptMessageNext(CkParams params,
byte[] ciphertext,
boolean isLastOperation)
Decrypts one part of a multipart decryption operation.
|
byte[] |
Session.encryptMessage(CkParams params,
byte[] associatedData,
byte[] plaintext)
Encrypts the given message with the key and mechanism given to the MessageEncryptInit method.
|
void |
Session.encryptMessageBegin(CkParams params,
byte[] associatedData)
Starts a multipart message-encryption operation.
|
byte[] |
Session.encryptMessageNext(CkParams params,
byte[] plaintext,
boolean isLastOperation)
Encrypts one part of a multipart encryption operation.
|
byte[] |
Session.signMessage(CkParams params,
byte[] data) |
void |
Session.signMessageBegin(CkParams params)
SignMessageBegin begins a multiple-part message signature operation, where the signature is an
appendix to the message.
|
byte[] |
Session.signMessageNext(CkParams params,
byte[] data,
boolean isLastOperation)
SignMessageNext continues a multiple-part message signature operation, processing another data
part, or finishes a multiple-part message signature operation, returning the signature.
|
void |
Session.verifyMessage(CkParams params,
byte[] data,
byte[] signature)
Verifies a signature on a message in a single part operation.
|
void |
Session.verifyMessageBegin(CkParams params)
Begins a multipart message verification operation.
|
void |
Session.verifyMessageNext(CkParams params,
byte[] data,
byte[] signature)
continues a multiple-part message verification operation, processing another data
part, or finishes a multiple-part message verification operation, checking the signature.
|
| Constructor and Description |
|---|
Mechanism(long mechanismCode,
CkParams parameters)
Constructor taking just the mechanism code as defined in PKCS11Constants.
|
| Modifier and Type | Method and Description |
|---|---|
CkParams |
EncryptMessageBytesEntry.params() |
CkParams |
DecryptMessageStreamEntry.params() |
CkParams |
SignMessageBytesEntry.params() |
CkParams |
DecryptMessageBytesEntry.params() |
CkParams |
SignMessageStreamEntry.params() |
CkParams |
EncryptMessageStreamEntry.params() |
CkParams |
VerifyMessageStreamEntry.params() |
CkParams |
VerifyMessageBytesEntry.params() |
| Modifier and Type | Method and Description |
|---|---|
EncryptMessageBytesEntry |
EncryptMessageBytesEntry.params(CkParams params) |
DecryptMessageStreamEntry |
DecryptMessageStreamEntry.params(CkParams params) |
SignMessageBytesEntry |
SignMessageBytesEntry.params(CkParams params) |
DecryptMessageBytesEntry |
DecryptMessageBytesEntry.params(CkParams params) |
SignMessageStreamEntry |
SignMessageStreamEntry.params(CkParams params) |
EncryptMessageStreamEntry |
EncryptMessageStreamEntry.params(CkParams params) |
VerifyMessageStreamEntry |
VerifyMessageStreamEntry.params(CkParams params) |
VerifyMessageBytesEntry |
VerifyMessageBytesEntry.params(CkParams params) |
| Modifier and Type | Class and Description |
|---|---|
class |
AES_CBC_ENCRYPT_DATA_PARAMS
Represents the AES_CBC_ENCRYPT_DATA_PARAMS.
|
class |
ByteArrayParams
This class encapsulates parameters byte arrays.
|
class |
CCM_MESSAGE_PARAMS
Represents the CCM_MESSAGE_PARAMS.
|
class |
CCM_PARAMS
Represents the CK_CCM_PARAMS.
|
class |
CHACHA20_PARAMS
Represents the CK_CHACHA20_PARAMS.
|
class |
CkParamsWithExtra
CkParam with
ExtraParams to provides extra information, e.g. |
class |
ECDH1_DERIVE_PARAMS
Represents the CK_ECDH1_DERIVE_PARAMS.
|
class |
ECDH2_DERIVE_PARAMS
Represents the CK_ECDH2_DERIVE_PARAMS.
|
class |
ECMQV_DERIVE_PARAMS
Represents the CK_ECMQV_DERIVE_PARAMS.
|
class |
EXTRACT_PARAMS
Represents the params of type CK_LONG for the extract mechanism.
|
class |
GCM_MESSAGE_PARAMS
Represents the CK_GCM_MESSAGE_PARAMS.
|
class |
GCM_PARAMS
Represents the CK_GCM_PARAMS.
|
class |
KEA_DERIVE_PARAMS
Represents the CK_KEA_DERIVE_PARAMS.
|
class |
KEY_DERIVATION_STRING_DATA
Represents the CK_KEY_DERIVATION_STRING_DATA.
|
class |
KEY_WRAP_SET_OAEP_PARAMS
Represents the CK_KEY_WRAP_SET_OAEP_PARAMS.
|
class |
LongParams
This class encapsulates parameters CK_LONG.
|
class |
MechanismParams
This class encapsulates parameters CK_LONG.
|
class |
PBE_PARAMS
Represents the CK_PBE_PARAMS.
|
class |
PKCS5_PBKD2_PARAMS
Represents the CK_PKCS5_PBKD2_PARAMS.
|
class |
RSA_AES_KEY_WRAP_PARAMS
Represents the CK_RSA_AES_KEY_WRAP_PARAMS.
|
class |
RSA_PKCS_OAEP_PARAMS
Represents the CK_RSA_PKCS_OAEP_PARAMS.
|
class |
RSA_PKCS_PSS_PARAMS
Represents the CK_RSA_PKCS_PSS_PARAMS.
|
class |
SALSA20_CHACHA20_POLY1305_MSG_PARAMS
Represents the CK_SALSA20_CHACHA20_POLY1305_MSG_PARAMS.
|
class |
SALSA20_CHACHA20_POLY1305_PARAMS
Represents the CK_SALSA20_CHACHA20_POLY1305_PARAMS.
|
class |
SALSA20_PARAMS
Represents the CK_SALSA20_PARAMS.
|
class |
Utimaco_ECDSA_ECIES_PARAMS
Represents Utimaco's vendor CK_ECDSA_ECIES_PARAMS, which is used in
Utimaco's vendor mechanism CKM_ECDSA_ECIES
|
class |
X9_42_DH1_DERIVE_PARAMS
Represents the CK_X9_42_DH1_DERIVE_PARAMS.
|
class |
X9_42_DH2_DERIVE_PARAMS
Represents the CK_X9_42_DH2_DERIVE_PARAMS.
|
class |
X9_42_MQV_DERIVE_PARAMS
Represents the CK_X9_42_MQV_DERIVE_PARAMS.
|
| Constructor and Description |
|---|
CkParamsWithExtra(CkParams ckParams,
ExtraParams extraParams)
Constructor.
|
Copyright © 2023. All rights reserved.