Creates an instance of PKCS11
The path to PKCS#11 library
Library path
Closes all sessions with a token
The token's slot
Closes a session between an application and a token
The session's handle
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
Decrypts encrypted data in a single part
The session's handle
Incoming data
Output data
Sliced output data with decrypted message
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
Finishes a multiple-part decryption operation
The session's handle
Last part of output data
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 operation
The session's handle
Incoming data
Output data
Sliced output data with decrypted block
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 session's handle
The key derivation mechanism
The base key
The template for the new key
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
Destroys an object
The session's handle
The object's 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
Digests data in a single part
The session's handle
Incoming data
Output data
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
Finishes a multiple-part message-digesting operation
The session's handle
Output data
Sliced output data
Initializes a message-digesting operation
The session's handle
Digesting mechanism
Continues a multiple-part message-digesting operation by digesting the value of a secret key
The session's handle
The handle of the secret key to be digested
continues a multiple-part message-digesting operation operation, by digesting the value of a secret key as part of the data already digested
The session's handle
Incoming data
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
Encrypts single-part data
The session's handle
Incoming data
Output data
Sliced output data with encrypted message
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
Finishes a multiple-part encryption operation
The session's handle
Last output data
Sliced output data
Initializes an encryption operation
The session's handle
The encryption mechanism
Handle of encryption key
Continues a multiple-part encryption operation
The session's handle
Incoming data
Output data
Sliced output data
Indicates that an application is done with the Cryptoki library
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
Finishes a search for token and session objects
The session's handle
Initializes a search for token and session objects that match a template
The session's handle
Attribute values to match
Generates a secret key, creating a new key object
The session's handle
Key generation mechanism
Template for new key
The handle of the new key
Generates a secret key, creating a new key object
The session's handle
Key generation mechanism
Template for new key
Async callback with handle of new key
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
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
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
Handles for private and public keys
Generates random data
The session's handle
Init buffer
The random data
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 a list of mechanism types supported by a token
ID of token's slot
A list of mechanism types
Gets the size of an object in bytes
The session's handle
The object's handle
Size of an object in bytes
Obtains information about the session
The session's handle
Receives session info
Obtains information about a particular slot in the system
The ID of the slot
Information about a slot
Obtains a list of slots in the system
Array of slot IDs
Obtains information about a particular token in the system
ID of the token's slot
Information about a token
Initializes the normal user's PIN
The session's handle
The normal user's PIN
Initializes a token
ID of the token's slot
32-byte token label (blank padded)
Initializes the Cryptoki library
Initialization 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 structureLogs a user into a token
The session's handle
The user type
Logs a user out from a token
The session's handle
Opens a session between an application and a token
The slot's ID
From CK_SESSION_INFO
Session handle
Mixes additional seed material into the token's random number generator
The session's handle
The seed material
Modifies the value of one or more object attributes
The session's handle
The object's handle
Specifies attrs and values
Modifies the PIN of the user who is logged in
The session's handle
The old PIN
The new PIN
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
Finishes a multiple-part signature operation, returning the signature
The session's handle
Output data
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
Signs data in a single operation, where the data can be recovered from the signature
Incoming data
Output data
Sliced output data
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
Continues a multiple-part signature operation, 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
Unwraps (decrypts) a wrapped key, creating a new key object
The session's handle
Unwrapping mechanism
Unwrapping key
Wrapped key
New key template
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
Unwraps (decrypts) a wrapped key, creating a new key object
The session's handle
Unwrapping mechanism
Unwrapping key
Wrapped key
New key template
The unwrapped 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
Finishes a multiple-part verification operation, checking the signature
The session's handle
Signature to verify
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
Continues a multiple-part verification operation, where the signature is an appendix to the data, and plaintext cannot be recovered from the signature
The session's handle
Incoming data
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
Closes dynamic library
Loads dynamic library with PKCS#11 interface
The path to PKCS#11 library
Generated using TypeDoc
A Structure which contains a Cryptoki version and each function in the Cryptoki API