| Package | Description |
|---|---|
| org.xipki.pkcs11.wrapper |
| Modifier and Type | Method and Description |
|---|---|
void |
Session.decryptInit(Mechanism mechanism,
long keyHandle)
Initializes a new decryption operation.
|
long |
Session.deriveKey(Mechanism mechanism,
long baseKeyHandle,
AttributeVector template)
Derives a new key from a specified base key using the given mechanism.
|
int |
Session.digest(Mechanism mechanism,
byte[] in,
byte[] out,
int outOfs,
int outLen)
Digests the given data with the mechanism given to the digestInit method.
|
int |
Session.digest(Mechanism mechanism,
byte[] in,
int inOfs,
int inLen,
byte[] out,
int outOfs,
int outLen)
Digests the given data with the mechanism given to the digestInit method.
|
void |
Session.digestInit(Mechanism mechanism)
Initializes a new digesting operation.
|
void |
Session.encryptInit(Mechanism mechanism,
long keyHandle)
Initializes a new encryption operation.
|
long |
Session.generateKey(Mechanism mechanism,
AttributeVector template)
/**
Generate a new secret key or a set of domain parameters.
|
PKCS11KeyPair |
Session.generateKeyPair(Mechanism mechanism,
KeyPairTemplate template)
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.
|
void |
Session.signInit(Mechanism mechanism,
long keyHandle)
Initializes a new signing operation.
|
void |
Session.signRecoverInit(Mechanism mechanism,
long keyHandle)
Initializes a new signing operation for signing with recovery.
|
long |
Session.unwrapKey(Mechanism mechanism,
long unwrappingKeyHandle,
byte[] wrappedKey,
AttributeVector keyTemplate)
Unwraps (decrypts) the given encrypted key with the unwrapping key using the given mechanism.
|
void |
Session.verifyInit(Mechanism mechanism,
long keyHandle)
Initializes a new verification operation.
|
void |
Session.verifyRecoverInit(Mechanism mechanism,
long keyHandle)
Initializes a new verification operation for verification with data recovery.
|
byte[] |
Session.wrapKey(Mechanism mechanism,
long wrappingKeyHandle,
long keyHandle)
Wraps (encrypts) the given key with the wrapping key using the given mechanism.
|
Copyright © 2023. All rights reserved.