See: Description
| Class | Description |
|---|---|
| CK |
Class defining Cryptoki CK_ constants - General constants.
|
| CK_ATTRIBUTE_TYPE |
Class to represent a Cryptoki Attribute Type.
|
| CK_CERTIFICATE_TYPE |
Class to represent a Cryptoki Certificate Type.
|
| CK_HW_FEATURE_TYPE |
Class to represent a Cryptoki Hardware Feature Type.
|
| CK_KEY_TYPE |
Class to represent a Cryptoki Key Type.
|
| CK_MECHANISM_TYPE |
Class to represent a Cryptoki Mechanism Type.
|
| CK_OBJECT_CLASS |
Class to represent a Cryptoki Object Class.
|
| CK_PKCS5_PBKDF2_SALT_SOURCE_TYPE |
Class to represent a Cryptoki PKCS5 PBKDF2 Salt Source Type.
|
| CK_RSA_PKCS_OAEP_SOURCE_TYPE |
Class to represent a Cryptoki Salt/Encoding Parameter Source Type.
|
| CK_RV |
Class to represent a Cryptoki Return Value.
|
| CK_STATE |
Class to represent the Cryptoki State type.
|
| CK_USER_TYPE |
Class to represent a Cryptoki User Type.
|
| CKA |
Class defining Cryptoki CKA_ constants - Attribute constants.
|
| CKC |
Class defining Cryptoki CKC_ constants - Certificate constants.
|
| CKD |
Class defining ProtectToolkit C CKD_ constants - Elliptic Curve Key
Derivation Functions.
|
| CKDHP |
Class defining ProtectToolkit C CKDHP_ constants - Elliptic Curve Encryption,
Diffie-Hellman Primitives.
|
| CKES |
Class defining ProtectToolkit C CKES_ constants - Elliptic Curve Encryption,
internal Encryption Scheme.
|
| CKF |
Class defining Cryptoki CKF_ constants - Bit Flags.
|
| CKG |
Class defining Cryptoki CKG_ constants - Mask Generation.
|
| CKH |
Class defining Cryptoki CKH_ constants - Hardware Feature constants.
|
| CKK |
Class defining Cryptoki CKK_ constants - Key Type constants.
|
| CKM |
Class defining Cryptoki CKM_ constants - Mechanism constants.
|
| CKMS |
Class defining ProtectToolkit C CKMS_ constants - Elliptic Curve Encryption,
MAC Scheme to be used.
|
| CKO |
Class defining Cryptoki CKO_ constants - Object Class.
|
| CKP |
Class defining Cryptoki CKP_ constants - pseudo-random function.
|
| CKR |
Class defining Cryptoki CKR_ constants - Return Value.
|
| CKS |
Class defining Cryptoki CKS_ constants - Session State constants.
|
| CKU |
Class defining Cryptoki CKU_ constants - User Type constants.
|
| CKZ |
Class defining Cryptoki CKZ_ constants - Salt/Encoding parameter source.
|
| KDF |
Class defining Cryptoki CKD_...KDF constants - ECDH Key Derive Function constants.
|
| LUNA |
Class defining Cryptoki LUNA_ constants - General constants.
|
| Enum | Description |
|---|---|
| HsmPolicy |
Enum defining a list of supported HSM policy list.
|
Constants in PKCS#11 have a Type and a Value. For each constant Type, there is a well defined set of Values.
This concept has been modelled using two classes, one to represent the constant
Type (e.g CK_KEY_TYPE) and one to represent
the collection of Values, and instances of those values
(e.g CKK).
If an instance of a constant Value is passed to a function in a manner which
would try to modify the internal numeric value (e.g passing
CKK.DES in a template to
Cryptoki.C_GetAttributeValue) then an java.lang.UnsupportedOperationException
object is thrown, to indicate that modification of a constant Value is not
allowed.
Flags and Masks are different in that they are a sequence of bit fields, so
CKF and
CKG are just a collection of long values,
which can be bitwise or'ed together as required.
CK is just a collection of constants, so
there is no related constant Type class.
Copyright (c) 2021 SafeNet. All rights reserved.