Copies an object, creating a new object for the copy
The session's handle
The object's handle
Template for new object
A handle of copy
Creates a new object
The session's handle
The object's template
A new object's handle
Decrypts encrypted data in a single part
The session's handle
Incoming data
Output data
Sliced output data with decrypted message
Decrypts encrypted data in a single part
The session's handle
Incoming data
Output data
Async callback with sliced output data
Continues a multiple-part decryption and digest operation (decrypting and digesting)
The session's handle
Data to be decrypted and digested
Digested data
Sliced digested data
Continues a multiple-part decryption and digest operation (decrypting and digesting)
The session's handle
Data to be decrypted and digested
Digested data
Async callback with sliced digested data
Continues a multiple-part decryption and digest operation (decrypting and digesting)
The session's handle
Data to be decrypted and digested
Digested data
Sliced digested data
Finishes a multiple-part decryption operation
The session's handle
Last part of output data
Sliced output data with decrypted final block
Finishes a multiple-part decryption operation
The session's handle
Last part of output data
Async callback with sliced output data with decrypted final block
Initializes a decryption operation
The session's handle
The decryption mechanism
Handle of decryption key
Continues a multiple-part decryption and verification operation (decrypting and verifying)
The session's handle
Data to be decrypted and verified
Verified data
Sliced verified data
Continues a multiple-part decryption and verification operation (decrypting and verifying)
The session's handle
Data to be decrypted and verified
Verified data
Async callback with sliced verified data
Continues a multiple-part decryption and verification operation (decrypting and verifying)
The session's handle
Data to be decrypted and verified
Verified data
Sliced verified data
Derives a key from a base key, creating a new key object
The derived key handle
Derives a key from a base key, creating a new key object
The session's handle
The key derivation mechanism
The base key
The template for the new key
Async callback with the derived key handle
Digests data in a single part
The session's handle
Incoming data
Output data
Sliced output data
Digests data in a single part
The session's handle
Incoming data
Output data
Async callback with sliced output data
Continues a multiple-part digest and encryption operation (digesting and encrypting)
The session's handle
Data to be digested and encrypted
Encrypted data
Sliced encrypted data
Continues a multiple-part digest and encryption operation (digesting and encrypting)
The session's handle
Data to be digested and encrypted
Encrypted data
Async callback with sliced encrypted data
Continues a multiple-part digest and encryption operation (digesting and encrypting)
The session's handle
Data to be digested and encrypted
Encrypted data
Sliced encrypted data
Finishes a multiple-part message-digesting operation
The session's handle
Output data
Sliced output data
Finishes a multiple-part message-digesting operation
The session's handle
Output data
Async callback with sliced output data
Initializes a message-digesting operation
The session's handle
Digesting mechanism
Encrypts single-part data
The session's handle
Incoming data
Output data
Sliced output data with encrypted message
Encrypts single-part data
The session's handle
Incoming data
Output data
Async callback with sliced output data
Finishes a multiple-part encryption operation
The session's handle
Last output data
Sliced output data
Finishes a multiple-part encryption operation
The session's handle
Last output data
Async callback with sliced output data
Initializes an encryption operation
The session's handle
The encryption mechanism
Handle of encryption key
Continues a search for token and session objects that match a template, obtaining additional object handles
The session's handle
The maximum number of object handles to be returned. Default value is 1.
List of handles
Continues a search for token and session objects that match a template, obtaining additional object handles
The session's handle
Object's handle. If object is not found the result is null
Initializes a search for token and session objects that match a template
The session's handle
Attribute values to match
Generates a public-key/private-key pair, creating new key objects
The pair of handles for private and public keys
Generates a public-key/private-key pair, creating new key objects
The session's handle
Key generation mechanism
Template for public key
Template for private key
Async callback with handles for private and public keys
Obtains the value of one or more object attributes
The session's handle
The object's handle
Specifies attrs; gets values
List of Attributes with values
Returns general information about Cryptoki
Information about Cryptoki
Obtains information about a particular mechanism possibly supported by a token
ID of the token's slot
Type of mechanism
Information about mechanism
Obtains information about the session
The session's handle
Receives session info
Initializes the Cryptoki library
Optional
options: InitializationOptionsInitialization options
Supports implementation of standard CK_C_INITIALIZE_ARGS
and extended NSS format.
options
is null or empty, it calls native C_Initialize
with NULL
options
doesn't have libraryParameters
, it uses CK_C_INITIALIZE_ARGS
structureoptions
has libraryParameters
, it uses extended NSS structureModifies the value of one or more object attributes
The session's handle
The object's handle
Specifies attrs and values
Signs (encrypts with private key) data in a single part, where the signature is (will be) an appendix to the data, and plaintext cannot be recovered from the signature
The session's handle
Incoming data
Output data
Sliced output data
Signs (encrypts with private key) data in a single part, where the signature is (will be) an appendix to the data, and plaintext cannot be recovered from the signature
The session's handle
Incoming data
Output data
Async callback with sliced output data
Signs (encrypts with private key) data in a single part, where the signature is (will be) an appendix to the data, and plaintext cannot be recovered from the signature
The session's handle
Incoming data
Output data
Sliced output data
Continues a multiple-part signing and encryption operation (signing and encrypting)
The session's handle
Data to be signed and encrypted
Encrypted data
Sliced encrypted data
Continues a multiple-part signing and encryption operation (signing and encrypting)
The session's handle
Data to be signed and encrypted
Encrypted data
Async callback with sliced encrypted data
Continues a multiple-part signing and encryption operation (signing and encrypting)
The session's handle
Data to be signed and encrypted
Encrypted data
Sliced encrypted data
Finishes a multiple-part signature operation, returning the signature
The session's handle
Output data
Sliced output data
Finishes a multiple-part signature operation, returning the signature
The session's handle
Output data
Async callback with sliced output data
initializes a signature (private key encryption) operation, where the signature is (will be) an appendix to the data, and plaintext cannot be recovered from the signature
The session's handle
Signature mechanism
Handle of signature key
Initializes a signature operation, where the data can be recovered from the signature
The session's handle
The structure that specifies the signature mechanism
The handle of the signature key
Unwraps (decrypts) a wrapped key, creating a new key object
The unwrapped key handle
Unwraps (decrypts) a wrapped key, creating a new key object
The session's handle
Unwrapping mechanism
Unwrapping key
Wrapped key
New key template
Async callback with new key handle
Verifies a signature in a single-part operation, where the signature is an appendix to the data, and plaintext cannot be recovered from the signature
The session's handle
Incoming data
Signature to verify
Verification result
Verifies a signature in a single-part operation, where the signature is an appendix to the data, and plaintext cannot be recovered from the signature
The session's handle
Incoming data
Signature to verify
Async callback with verification result
Verifies a signature in a single-part operation, where the signature is an appendix to the data, and plaintext cannot be recovered from the signature
The session's handle
Incoming data
Signature to verify
Verification result
Finishes a multiple-part verification operation, checking the signature
The session's handle
Signature to verify
Finishes a multiple-part verification operation, checking the signature
The session's handle
Signature to verify
Async callback with verification result
initializes a verification operation, where the signature is an appendix to the data, and plaintext cannot cannot be recovered from the signature (e.g. DSA)
The session's handle
Verification mechanism
Verification key
Verifies a signature in a single-part operation, where the data is recovered from the signature
The session's handle
The signature to verify
The allocated buffer for recovered data
The sliced output data with recovered data
Initializes a signature verification operation, where the data is recovered from the signature
The session's handle
The structure that specifies the verification mechanism
The handle of the verification key
Waits for a slot event, such as token insertion or token removal, to occur.
Determines whether or not the C_WaitForSlotEvent call blocks (i.e., waits for a slot event to occur); use CKF_DONT_BLOCK for no blocking call
The slot ID where the event occurred, if successful; null otherwise
Wraps (i.e., encrypts) a key
The session's handle
Wrapping mechanism
Wrapping key
Key to be wrapped
Init buffer for wrapped key
Sliced wrapped key
Wraps (i.e., encrypts) a key
The session's handle
Wrapping mechanism
Wrapping key
Key to be wrapped
Init buffer for wrapped key
Async callback with sliced wrapped key
Wraps (i.e., encrypts) a key
The session's handle
Wrapping mechanism
Wrapping key
Key to be wrapped
Init buffer for wrapped key
Sliced wrapped key
A Structure which contains a Cryptoki version and each function in the Cryptoki API