Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
pkcs11.h File Reference
#include <stddef.h>
Include dependency graph for pkcs11.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ck_version
 
struct  ck_info
 
struct  ck_slot_info
 
struct  ck_token_info
 
struct  ck_session_info
 
struct  ck_attribute
 
struct  ck_date
 
struct  ck_mechanism
 
struct  ck_mechanism_info
 
struct  CK_ECDH1_DERIVE_PARAMS
 
struct  CK_RSA_PKCS_OAEP_PARAMS
 
struct  CK_RSA_PKCS_PSS_PARAMS
 
struct  ck_function_list
 
struct  ck_c_initialize_args
 

Macros

#define CRYPTOKI_VERSION_MAJOR   2
 
#define CRYPTOKI_VERSION_MINOR   40
 
#define CRYPTOKI_VERSION_REVISION   0
 
#define CRYPTOKI_COMPAT   1
 
#define CK_SPEC
 
#define ck_flags_t   CK_FLAGS
 
#define ck_version   _CK_VERSION
 
#define ck_info   _CK_INFO
 
#define cryptoki_version   cryptokiVersion
 
#define manufacturer_id   manufacturerID
 
#define library_description   libraryDescription
 
#define library_version   libraryVersion
 
#define ck_notification_t   CK_NOTIFICATION
 
#define ck_slot_id_t   CK_SLOT_ID
 
#define ck_slot_info   _CK_SLOT_INFO
 
#define slot_description   slotDescription
 
#define hardware_version   hardwareVersion
 
#define firmware_version   firmwareVersion
 
#define ck_token_info   _CK_TOKEN_INFO
 
#define serial_number   serialNumber
 
#define max_session_count   ulMaxSessionCount
 
#define session_count   ulSessionCount
 
#define max_rw_session_count   ulMaxRwSessionCount
 
#define rw_session_count   ulRwSessionCount
 
#define max_pin_len   ulMaxPinLen
 
#define min_pin_len   ulMinPinLen
 
#define total_public_memory   ulTotalPublicMemory
 
#define free_public_memory   ulFreePublicMemory
 
#define total_private_memory   ulTotalPrivateMemory
 
#define free_private_memory   ulFreePrivateMemory
 
#define utc_time   utcTime
 
#define ck_session_handle_t   CK_SESSION_HANDLE
 
#define ck_user_type_t   CK_USER_TYPE
 
#define ck_state_t   CK_STATE
 
#define ck_session_info   _CK_SESSION_INFO
 
#define slot_id   slotID
 
#define device_error   ulDeviceError
 
#define ck_object_handle_t   CK_OBJECT_HANDLE
 
#define ck_object_class_t   CK_OBJECT_CLASS
 
#define ck_hw_feature_type_t   CK_HW_FEATURE_TYPE
 
#define ck_key_type_t   CK_KEY_TYPE
 
#define ck_certificate_type_t   CK_CERTIFICATE_TYPE
 
#define ck_attribute_type_t   CK_ATTRIBUTE_TYPE
 
#define ck_attribute   _CK_ATTRIBUTE
 
#define value_len   ulValueLen
 
#define ck_date   _CK_DATE
 
#define ck_mechanism_type_t   CK_MECHANISM_TYPE
 
#define ck_mechanism   _CK_MECHANISM
 
#define parameter   pParameter
 
#define parameter_len   ulParameterLen
 
#define ck_mechanism_info   _CK_MECHANISM_INFO
 
#define min_key_size   ulMinKeySize
 
#define max_key_size   ulMaxKeySize
 
#define ck_rv_t   CK_RV
 
#define ck_notify_t   CK_NOTIFY
 
#define ck_function_list   _CK_FUNCTION_LIST
 
#define ck_createmutex_t   CK_CREATEMUTEX
 
#define ck_destroymutex_t   CK_DESTROYMUTEX
 
#define ck_lockmutex_t   CK_LOCKMUTEX
 
#define ck_unlockmutex_t   CK_UNLOCKMUTEX
 
#define ck_c_initialize_args   _CK_C_INITIALIZE_ARGS
 
#define create_mutex   CreateMutex
 
#define destroy_mutex   DestroyMutex
 
#define lock_mutex   LockMutex
 
#define unlock_mutex   UnlockMutex
 
#define reserved   pReserved
 
#define CKN_SURRENDER   (0UL)
 
#define CKF_TOKEN_PRESENT   (1UL << 0)
 
#define CKF_REMOVABLE_DEVICE   (1UL << 1)
 
#define CKF_HW_SLOT   (1UL << 2)
 
#define CKF_ARRAY_ATTRIBUTE   (1UL << 30)
 
#define CKF_RNG   (1UL << 0)
 
#define CKF_WRITE_PROTECTED   (1UL << 1)
 
#define CKF_LOGIN_REQUIRED   (1UL << 2)
 
#define CKF_USER_PIN_INITIALIZED   (1UL << 3)
 
#define CKF_RESTORE_KEY_NOT_NEEDED   (1UL << 5)
 
#define CKF_CLOCK_ON_TOKEN   (1UL << 6)
 
#define CKF_PROTECTED_AUTHENTICATION_PATH   (1UL << 8)
 
#define CKF_DUAL_CRYPTO_OPERATIONS   (1UL << 9)
 
#define CKF_TOKEN_INITIALIZED   (1UL << 10)
 
#define CKF_SECONDARY_AUTHENTICATION   (1UL << 11)
 
#define CKF_USER_PIN_COUNT_LOW   (1UL << 16)
 
#define CKF_USER_PIN_FINAL_TRY   (1UL << 17)
 
#define CKF_USER_PIN_LOCKED   (1UL << 18)
 
#define CKF_USER_PIN_TO_BE_CHANGED   (1UL << 19)
 
#define CKF_SO_PIN_COUNT_LOW   (1UL << 20)
 
#define CKF_SO_PIN_FINAL_TRY   (1UL << 21)
 
#define CKF_SO_PIN_LOCKED   (1UL << 22)
 
#define CKF_SO_PIN_TO_BE_CHANGED   (1UL << 23)
 
#define CK_UNAVAILABLE_INFORMATION   ((unsigned long) -1)
 
#define CK_EFFECTIVELY_INFINITE   (0UL)
 
#define CK_INVALID_HANDLE   (0UL)
 
#define CKU_SO   (0UL)
 
#define CKU_USER   (1UL)
 
#define CKU_CONTEXT_SPECIFIC   (2UL)
 
#define CKS_RO_PUBLIC_SESSION   (0UL)
 
#define CKS_RO_USER_FUNCTIONS   (1UL)
 
#define CKS_RW_PUBLIC_SESSION   (2UL)
 
#define CKS_RW_USER_FUNCTIONS   (3UL)
 
#define CKS_RW_SO_FUNCTIONS   (4UL)
 
#define CKF_RW_SESSION   (1UL << 1)
 
#define CKF_SERIAL_SESSION   (1UL << 2)
 
#define CKO_DATA   (0UL)
 
#define CKO_CERTIFICATE   (1UL)
 
#define CKO_PUBLIC_KEY   (2UL)
 
#define CKO_PRIVATE_KEY   (3UL)
 
#define CKO_SECRET_KEY   (4UL)
 
#define CKO_HW_FEATURE   (5UL)
 
#define CKO_DOMAIN_PARAMETERS   (6UL)
 
#define CKO_MECHANISM   (7UL)
 
#define CKO_VENDOR_DEFINED   (1UL << 31)
 
#define CKH_MONOTONIC_COUNTER   (1UL)
 
#define CKH_CLOCK   (2UL)
 
#define CKH_USER_INTERFACE   (3UL)
 
#define CKH_VENDOR_DEFINED   (1UL << 31)
 
#define CKK_RSA   (0UL)
 
#define CKK_DSA   (1UL)
 
#define CKK_DH   (2UL)
 
#define CKK_ECDSA   (3UL)
 
#define CKK_EC   (3UL)
 
#define CKK_X9_42_DH   (4UL)
 
#define CKK_KEA   (5UL)
 
#define CKK_GENERIC_SECRET   (0x10UL)
 
#define CKK_RC2   (0x11UL)
 
#define CKK_RC4   (0x12UL)
 
#define CKK_DES   (0x13UL)
 
#define CKK_DES2   (0x14UL)
 
#define CKK_DES3   (0x15UL)
 
#define CKK_CAST   (0x16UL)
 
#define CKK_CAST3   (0x17UL)
 
#define CKK_CAST128   (0x18UL)
 
#define CKK_RC5   (0x19UL)
 
#define CKK_IDEA   (0x1aUL)
 
#define CKK_SKIPJACK   (0x1bUL)
 
#define CKK_BATON   (0x1cUL)
 
#define CKK_JUNIPER   (0x1dUL)
 
#define CKK_CDMF   (0x1eUL)
 
#define CKK_AES   (0x1fUL)
 
#define CKK_BLOWFISH   (0x20UL)
 
#define CKK_TWOFISH   (0x21UL)
 
#define CKK_SHA_1_HMAC   (0x28UL)
 
#define CKK_SHA256_HMAC   (0x2bUL)
 
#define CKK_SHA384_HMAC   (0x2cUL)
 
#define CKK_SHA512_HMAC   (0x2dUL)
 
#define CKK_SHA224_HMAC   (0x2eUL)
 
#define CKK_GOSTR3410   (0x30UL)
 
#define CKK_GOSTR3411   (0x31UL)
 
#define CKK_GOST28147   (0x32UL)
 
#define CKK_VENDOR_DEFINED   (1UL << 31)
 
#define CKC_X_509   (0UL)
 
#define CKC_X_509_ATTR_CERT   (1UL)
 
#define CKC_WTLS   (2UL)
 
#define CKC_VENDOR_DEFINED   (1UL << 31)
 
#define CKA_CLASS   (0UL)
 
#define CKA_TOKEN   (1UL)
 
#define CKA_PRIVATE   (2UL)
 
#define CKA_LABEL   (3UL)
 
#define CKA_APPLICATION   (0x10UL)
 
#define CKA_VALUE   (0x11UL)
 
#define CKA_OBJECT_ID   (0x12UL)
 
#define CKA_CERTIFICATE_TYPE   (0x80UL)
 
#define CKA_ISSUER   (0x81UL)
 
#define CKA_SERIAL_NUMBER   (0x82UL)
 
#define CKA_AC_ISSUER   (0x83UL)
 
#define CKA_OWNER   (0x84UL)
 
#define CKA_ATTR_TYPES   (0x85UL)
 
#define CKA_TRUSTED   (0x86UL)
 
#define CKA_CERTIFICATE_CATEGORY   (0x87UL)
 
#define CKA_JAVA_MIDP_SECURITY_DOMAIN   (0x88UL)
 
#define CKA_URL   (0x89UL)
 
#define CKA_HASH_OF_SUBJECT_PUBLIC_KEY   (0x8aUL)
 
#define CKA_HASH_OF_ISSUER_PUBLIC_KEY   (0x8bUL)
 
#define CKA_CHECK_VALUE   (0x90UL)
 
#define CKA_KEY_TYPE   (0x100UL)
 
#define CKA_SUBJECT   (0x101UL)
 
#define CKA_ID   (0x102UL)
 
#define CKA_SENSITIVE   (0x103UL)
 
#define CKA_ENCRYPT   (0x104UL)
 
#define CKA_DECRYPT   (0x105UL)
 
#define CKA_WRAP   (0x106UL)
 
#define CKA_UNWRAP   (0x107UL)
 
#define CKA_SIGN   (0x108UL)
 
#define CKA_SIGN_RECOVER   (0x109UL)
 
#define CKA_VERIFY   (0x10aUL)
 
#define CKA_VERIFY_RECOVER   (0x10bUL)
 
#define CKA_DERIVE   (0x10cUL)
 
#define CKA_START_DATE   (0x110UL)
 
#define CKA_END_DATE   (0x111UL)
 
#define CKA_MODULUS   (0x120UL)
 
#define CKA_MODULUS_BITS   (0x121UL)
 
#define CKA_PUBLIC_EXPONENT   (0x122UL)
 
#define CKA_PRIVATE_EXPONENT   (0x123UL)
 
#define CKA_PRIME_1   (0x124UL)
 
#define CKA_PRIME_2   (0x125UL)
 
#define CKA_EXPONENT_1   (0x126UL)
 
#define CKA_EXPONENT_2   (0x127UL)
 
#define CKA_COEFFICIENT   (0x128UL)
 
#define CKA_PUBLIC_KEY_INFO   (0x129UL)
 
#define CKA_PRIME   (0x130UL)
 
#define CKA_SUBPRIME   (0x131UL)
 
#define CKA_BASE   (0x132UL)
 
#define CKA_PRIME_BITS   (0x133UL)
 
#define CKA_SUB_PRIME_BITS   (0x134UL)
 
#define CKA_VALUE_BITS   (0x160UL)
 
#define CKA_VALUE_LEN   (0x161UL)
 
#define CKA_EXTRACTABLE   (0x162UL)
 
#define CKA_LOCAL   (0x163UL)
 
#define CKA_NEVER_EXTRACTABLE   (0x164UL)
 
#define CKA_ALWAYS_SENSITIVE   (0x165UL)
 
#define CKA_KEY_GEN_MECHANISM   (0x166UL)
 
#define CKA_MODIFIABLE   (0x170UL)
 
#define CKA_COPYABLE   (0x171UL)
 
#define CKA_DESTROYABLE   (0x172UL)
 
#define CKA_ECDSA_PARAMS   (0x180UL)
 
#define CKA_EC_PARAMS   (0x180UL)
 
#define CKA_EC_POINT   (0x181UL)
 
#define CKA_SECONDARY_AUTH   (0x200UL)
 
#define CKA_AUTH_PIN_FLAGS   (0x201UL)
 
#define CKA_ALWAYS_AUTHENTICATE   (0x202UL)
 
#define CKA_WRAP_WITH_TRUSTED   (0x210UL)
 
#define CKA_GOSTR3410_PARAMS   (0x250UL)
 
#define CKA_GOSTR3411_PARAMS   (0x251UL)
 
#define CKA_GOST28147_PARAMS   (0x252UL)
 
#define CKA_HW_FEATURE_TYPE   (0x300UL)
 
#define CKA_RESET_ON_INIT   (0x301UL)
 
#define CKA_HAS_RESET   (0x302UL)
 
#define CKA_PIXEL_X   (0x400UL)
 
#define CKA_PIXEL_Y   (0x401UL)
 
#define CKA_RESOLUTION   (0x402UL)
 
#define CKA_CHAR_ROWS   (0x403UL)
 
#define CKA_CHAR_COLUMNS   (0x404UL)
 
#define CKA_COLOR   (0x405UL)
 
#define CKA_BITS_PER_PIXEL   (0x406UL)
 
#define CKA_CHAR_SETS   (0x480UL)
 
#define CKA_ENCODING_METHODS   (0x481UL)
 
#define CKA_MIME_TYPES   (0x482UL)
 
#define CKA_MECHANISM_TYPE   (0x500UL)
 
#define CKA_REQUIRED_CMS_ATTRIBUTES   (0x501UL)
 
#define CKA_DEFAULT_CMS_ATTRIBUTES   (0x502UL)
 
#define CKA_SUPPORTED_CMS_ATTRIBUTES   (0x503UL)
 
#define CKA_WRAP_TEMPLATE   (CKF_ARRAY_ATTRIBUTE | 0x211UL)
 
#define CKA_UNWRAP_TEMPLATE   (CKF_ARRAY_ATTRIBUTE | 0x212UL)
 
#define CKA_ALLOWED_MECHANISMS   (CKF_ARRAY_ATTRIBUTE | 0x600UL)
 
#define CKA_VENDOR_DEFINED   (1UL << 31)
 
#define CKM_RSA_PKCS_KEY_PAIR_GEN   (0UL)
 
#define CKM_RSA_PKCS   (1UL)
 
#define CKM_RSA_9796   (2UL)
 
#define CKM_RSA_X_509   (3UL)
 
#define CKM_MD2_RSA_PKCS   (4UL)
 
#define CKM_MD5_RSA_PKCS   (5UL)
 
#define CKM_SHA1_RSA_PKCS   (6UL)
 
#define CKM_RIPEMD128_RSA_PKCS   (7UL)
 
#define CKM_RIPEMD160_RSA_PKCS   (8UL)
 
#define CKM_RSA_PKCS_OAEP   (9UL)
 
#define CKM_RSA_X9_31_KEY_PAIR_GEN   (0xaUL)
 
#define CKM_RSA_X9_31   (0xbUL)
 
#define CKM_SHA1_RSA_X9_31   (0xcUL)
 
#define CKM_RSA_PKCS_PSS   (0xdUL)
 
#define CKM_SHA1_RSA_PKCS_PSS   (0xeUL)
 
#define CKM_DSA_KEY_PAIR_GEN   (0x10UL)
 
#define CKM_DSA   (0x11UL)
 
#define CKM_DSA_SHA1   (0x12UL)
 
#define CKM_DH_PKCS_KEY_PAIR_GEN   (0x20UL)
 
#define CKM_DH_PKCS_DERIVE   (0x21UL)
 
#define CKM_X9_42_DH_KEY_PAIR_GEN   (0x30UL)
 
#define CKM_X9_42_DH_DERIVE   (0x31UL)
 
#define CKM_X9_42_DH_HYBRID_DERIVE   (0x32UL)
 
#define CKM_X9_42_MQV_DERIVE   (0x33UL)
 
#define CKM_SHA256_RSA_PKCS   (0x40UL)
 
#define CKM_SHA384_RSA_PKCS   (0x41UL)
 
#define CKM_SHA512_RSA_PKCS   (0x42UL)
 
#define CKM_SHA256_RSA_PKCS_PSS   (0x43UL)
 
#define CKM_SHA384_RSA_PKCS_PSS   (0x44UL)
 
#define CKM_SHA512_RSA_PKCS_PSS   (0x45UL)
 
#define CKM_RC2_KEY_GEN   (0x100UL)
 
#define CKM_RC2_ECB   (0x101UL)
 
#define CKM_RC2_CBC   (0x102UL)
 
#define CKM_RC2_MAC   (0x103UL)
 
#define CKM_RC2_MAC_GENERAL   (0x104UL)
 
#define CKM_RC2_CBC_PAD   (0x105UL)
 
#define CKM_RC4_KEY_GEN   (0x110UL)
 
#define CKM_RC4   (0x111UL)
 
#define CKM_DES_KEY_GEN   (0x120UL)
 
#define CKM_DES_ECB   (0x121UL)
 
#define CKM_DES_CBC   (0x122UL)
 
#define CKM_DES_MAC   (0x123UL)
 
#define CKM_DES_MAC_GENERAL   (0x124UL)
 
#define CKM_DES_CBC_PAD   (0x125UL)
 
#define CKM_DES2_KEY_GEN   (0x130UL)
 
#define CKM_DES3_KEY_GEN   (0x131UL)
 
#define CKM_DES3_ECB   (0x132UL)
 
#define CKM_DES3_CBC   (0x133UL)
 
#define CKM_DES3_MAC   (0x134UL)
 
#define CKM_DES3_MAC_GENERAL   (0x135UL)
 
#define CKM_DES3_CBC_PAD   (0x136UL)
 
#define CKM_CDMF_KEY_GEN   (0x140UL)
 
#define CKM_CDMF_ECB   (0x141UL)
 
#define CKM_CDMF_CBC   (0x142UL)
 
#define CKM_CDMF_MAC   (0x143UL)
 
#define CKM_CDMF_MAC_GENERAL   (0x144UL)
 
#define CKM_CDMF_CBC_PAD   (0x145UL)
 
#define CKM_MD2   (0x200UL)
 
#define CKM_MD2_HMAC   (0x201UL)
 
#define CKM_MD2_HMAC_GENERAL   (0x202UL)
 
#define CKM_MD5   (0x210UL)
 
#define CKM_MD5_HMAC   (0x211UL)
 
#define CKM_MD5_HMAC_GENERAL   (0x212UL)
 
#define CKM_SHA_1   (0x220UL)
 
#define CKM_SHA_1_HMAC   (0x221UL)
 
#define CKM_SHA_1_HMAC_GENERAL   (0x222UL)
 
#define CKM_RIPEMD128   (0x230UL)
 
#define CKM_RIPEMD128_HMAC   (0x231UL)
 
#define CKM_RIPEMD128_HMAC_GENERAL   (0x232UL)
 
#define CKM_RIPEMD160   (0x240UL)
 
#define CKM_RIPEMD160_HMAC   (0x241UL)
 
#define CKM_RIPEMD160_HMAC_GENERAL   (0x242UL)
 
#define CKM_SHA256   (0x250UL)
 
#define CKM_SHA256_HMAC   (0x251UL)
 
#define CKM_SHA256_HMAC_GENERAL   (0x252UL)
 
#define CKM_SHA384   (0x260UL)
 
#define CKM_SHA384_HMAC   (0x261UL)
 
#define CKM_SHA384_HMAC_GENERAL   (0x262UL)
 
#define CKM_SHA512   (0x270UL)
 
#define CKM_SHA512_HMAC   (0x271UL)
 
#define CKM_SHA512_HMAC_GENERAL   (0x272UL)
 
#define CKM_CAST_KEY_GEN   (0x300UL)
 
#define CKM_CAST_ECB   (0x301UL)
 
#define CKM_CAST_CBC   (0x302UL)
 
#define CKM_CAST_MAC   (0x303UL)
 
#define CKM_CAST_MAC_GENERAL   (0x304UL)
 
#define CKM_CAST_CBC_PAD   (0x305UL)
 
#define CKM_CAST3_KEY_GEN   (0x310UL)
 
#define CKM_CAST3_ECB   (0x311UL)
 
#define CKM_CAST3_CBC   (0x312UL)
 
#define CKM_CAST3_MAC   (0x313UL)
 
#define CKM_CAST3_MAC_GENERAL   (0x314UL)
 
#define CKM_CAST3_CBC_PAD   (0x315UL)
 
#define CKM_CAST5_KEY_GEN   (0x320UL)
 
#define CKM_CAST128_KEY_GEN   (0x320UL)
 
#define CKM_CAST5_ECB   (0x321UL)
 
#define CKM_CAST128_ECB   (0x321UL)
 
#define CKM_CAST5_CBC   (0x322UL)
 
#define CKM_CAST128_CBC   (0x322UL)
 
#define CKM_CAST5_MAC   (0x323UL)
 
#define CKM_CAST128_MAC   (0x323UL)
 
#define CKM_CAST5_MAC_GENERAL   (0x324UL)
 
#define CKM_CAST128_MAC_GENERAL   (0x324UL)
 
#define CKM_CAST5_CBC_PAD   (0x325UL)
 
#define CKM_CAST128_CBC_PAD   (0x325UL)
 
#define CKM_RC5_KEY_GEN   (0x330UL)
 
#define CKM_RC5_ECB   (0x331UL)
 
#define CKM_RC5_CBC   (0x332UL)
 
#define CKM_RC5_MAC   (0x333UL)
 
#define CKM_RC5_MAC_GENERAL   (0x334UL)
 
#define CKM_RC5_CBC_PAD   (0x335UL)
 
#define CKM_IDEA_KEY_GEN   (0x340UL)
 
#define CKM_IDEA_ECB   (0x341UL)
 
#define CKM_IDEA_CBC   (0x342UL)
 
#define CKM_IDEA_MAC   (0x343UL)
 
#define CKM_IDEA_MAC_GENERAL   (0x344UL)
 
#define CKM_IDEA_CBC_PAD   (0x345UL)
 
#define CKM_GENERIC_SECRET_KEY_GEN   (0x350UL)
 
#define CKM_CONCATENATE_BASE_AND_KEY   (0x360UL)
 
#define CKM_CONCATENATE_BASE_AND_DATA   (0x362UL)
 
#define CKM_CONCATENATE_DATA_AND_BASE   (0x363UL)
 
#define CKM_XOR_BASE_AND_DATA   (0x364UL)
 
#define CKM_EXTRACT_KEY_FROM_KEY   (0x365UL)
 
#define CKM_SSL3_PRE_MASTER_KEY_GEN   (0x370UL)
 
#define CKM_SSL3_MASTER_KEY_DERIVE   (0x371UL)
 
#define CKM_SSL3_KEY_AND_MAC_DERIVE   (0x372UL)
 
#define CKM_SSL3_MASTER_KEY_DERIVE_DH   (0x373UL)
 
#define CKM_TLS_PRE_MASTER_KEY_GEN   (0x374UL)
 
#define CKM_TLS_MASTER_KEY_DERIVE   (0x375UL)
 
#define CKM_TLS_KEY_AND_MAC_DERIVE   (0x376UL)
 
#define CKM_TLS_MASTER_KEY_DERIVE_DH   (0x377UL)
 
#define CKM_SSL3_MD5_MAC   (0x380UL)
 
#define CKM_SSL3_SHA1_MAC   (0x381UL)
 
#define CKM_MD5_KEY_DERIVATION   (0x390UL)
 
#define CKM_MD2_KEY_DERIVATION   (0x391UL)
 
#define CKM_SHA1_KEY_DERIVATION   (0x392UL)
 
#define CKM_PBE_MD2_DES_CBC   (0x3a0UL)
 
#define CKM_PBE_MD5_DES_CBC   (0x3a1UL)
 
#define CKM_PBE_MD5_CAST_CBC   (0x3a2UL)
 
#define CKM_PBE_MD5_CAST3_CBC   (0x3a3UL)
 
#define CKM_PBE_MD5_CAST5_CBC   (0x3a4UL)
 
#define CKM_PBE_MD5_CAST128_CBC   (0x3a4UL)
 
#define CKM_PBE_SHA1_CAST5_CBC   (0x3a5UL)
 
#define CKM_PBE_SHA1_CAST128_CBC   (0x3a5UL)
 
#define CKM_PBE_SHA1_RC4_128   (0x3a6UL)
 
#define CKM_PBE_SHA1_RC4_40   (0x3a7UL)
 
#define CKM_PBE_SHA1_DES3_EDE_CBC   (0x3a8UL)
 
#define CKM_PBE_SHA1_DES2_EDE_CBC   (0x3a9UL)
 
#define CKM_PBE_SHA1_RC2_128_CBC   (0x3aaUL)
 
#define CKM_PBE_SHA1_RC2_40_CBC   (0x3abUL)
 
#define CKM_PKCS5_PBKD2   (0x3b0UL)
 
#define CKM_PBA_SHA1_WITH_SHA1_HMAC   (0x3c0UL)
 
#define CKM_KEY_WRAP_LYNKS   (0x400UL)
 
#define CKM_KEY_WRAP_SET_OAEP   (0x401UL)
 
#define CKM_SKIPJACK_KEY_GEN   (0x1000UL)
 
#define CKM_SKIPJACK_ECB64   (0x1001UL)
 
#define CKM_SKIPJACK_CBC64   (0x1002UL)
 
#define CKM_SKIPJACK_OFB64   (0x1003UL)
 
#define CKM_SKIPJACK_CFB64   (0x1004UL)
 
#define CKM_SKIPJACK_CFB32   (0x1005UL)
 
#define CKM_SKIPJACK_CFB16   (0x1006UL)
 
#define CKM_SKIPJACK_CFB8   (0x1007UL)
 
#define CKM_SKIPJACK_WRAP   (0x1008UL)
 
#define CKM_SKIPJACK_PRIVATE_WRAP   (0x1009UL)
 
#define CKM_SKIPJACK_RELAYX   (0x100aUL)
 
#define CKM_KEA_KEY_PAIR_GEN   (0x1010UL)
 
#define CKM_KEA_KEY_DERIVE   (0x1011UL)
 
#define CKM_FORTEZZA_TIMESTAMP   (0x1020UL)
 
#define CKM_BATON_KEY_GEN   (0x1030UL)
 
#define CKM_BATON_ECB128   (0x1031UL)
 
#define CKM_BATON_ECB96   (0x1032UL)
 
#define CKM_BATON_CBC128   (0x1033UL)
 
#define CKM_BATON_COUNTER   (0x1034UL)
 
#define CKM_BATON_SHUFFLE   (0x1035UL)
 
#define CKM_BATON_WRAP   (0x1036UL)
 
#define CKM_ECDSA_KEY_PAIR_GEN   (0x1040UL)
 
#define CKM_EC_KEY_PAIR_GEN   (0x1040UL)
 
#define CKM_ECDSA   (0x1041UL)
 
#define CKM_ECDSA_SHA1   (0x1042UL)
 
#define CKM_ECDSA_SHA224   (0x1043UL)
 
#define CKM_ECDSA_SHA256   (0x1044UL)
 
#define CKM_ECDSA_SHA384   (0x1045UL)
 
#define CKM_ECDSA_SHA512   (0x1046UL)
 
#define CKM_ECDH1_DERIVE   (0x1050UL)
 
#define CKM_ECDH1_COFACTOR_DERIVE   (0x1051UL)
 
#define CKM_ECMQV_DERIVE   (0x1052UL)
 
#define CKM_JUNIPER_KEY_GEN   (0x1060UL)
 
#define CKM_JUNIPER_ECB128   (0x1061UL)
 
#define CKM_JUNIPER_CBC128   (0x1062UL)
 
#define CKM_JUNIPER_COUNTER   (0x1063UL)
 
#define CKM_JUNIPER_SHUFFLE   (0x1064UL)
 
#define CKM_JUNIPER_WRAP   (0x1065UL)
 
#define CKM_FASTHASH   (0x1070UL)
 
#define CKM_AES_KEY_GEN   (0x1080UL)
 
#define CKM_AES_ECB   (0x1081UL)
 
#define CKM_AES_CBC   (0x1082UL)
 
#define CKM_AES_MAC   (0x1083UL)
 
#define CKM_AES_MAC_GENERAL   (0x1084UL)
 
#define CKM_AES_CBC_PAD   (0x1085UL)
 
#define CKM_AES_CTR   (0x1086UL)
 
#define CKM_AES_GCM   (0x1087UL)
 
#define CKM_AES_CCM   (0x1088UL)
 
#define CKM_AES_CTS   (0x1089UL)
 
#define CKM_BLOWFISH_KEY_GEN   (0x1090UL)
 
#define CKM_BLOWFISH_CBC   (0x1091UL)
 
#define CKM_TWOFISH_KEY_GEN   (0x1092UL)
 
#define CKM_TWOFISH_CBC   (0x1093UL)
 
#define CKM_GOSTR3410_KEY_PAIR_GEN   (0x1200UL)
 
#define CKM_GOSTR3410   (0x1201UL)
 
#define CKM_GOSTR3410_WITH_GOSTR3411   (0x1202UL)
 
#define CKM_GOSTR3410_KEY_WRAP   (0x1203UL)
 
#define CKM_GOSTR3410_DERIVE   (0x1204UL)
 
#define CKM_GOSTR3411   (0x1210UL)
 
#define CKM_GOSTR3411_HMAC   (0x1211UL)
 
#define CKM_GOST28147_KEY_GEN   (0x1220UL)
 
#define CKM_GOST28147_ECB   (0x1221UL)
 
#define CKM_GOST28147   (0x1222UL)
 
#define CKM_GOST28147_MAC   (0x1223UL)
 
#define CKM_GOST28147_KEY_WRAP   (0x1224UL)
 
#define CKM_DSA_PARAMETER_GEN   (0x2000UL)
 
#define CKM_DH_PKCS_PARAMETER_GEN   (0x2001UL)
 
#define CKM_X9_42_DH_PARAMETER_GEN   (0x2002UL)
 
#define CKM_VENDOR_DEFINED   (1UL << 31)
 
#define CKF_HW   (1UL << 0)
 
#define CKF_ENCRYPT   (1UL << 8)
 
#define CKF_DECRYPT   (1UL << 9)
 
#define CKF_DIGEST   (1UL << 10)
 
#define CKF_SIGN   (1UL << 11)
 
#define CKF_SIGN_RECOVER   (1UL << 12)
 
#define CKF_VERIFY   (1UL << 13)
 
#define CKF_VERIFY_RECOVER   (1UL << 14)
 
#define CKF_GENERATE   (1UL << 15)
 
#define CKF_GENERATE_KEY_PAIR   (1UL << 16)
 
#define CKF_WRAP   (1UL << 17)
 
#define CKF_UNWRAP   (1UL << 18)
 
#define CKF_DERIVE   (1UL << 19)
 
#define CKF_EXTENSION   (1UL << 31)
 
#define CKF_EC_F_P   (1UL << 20)
 
#define CKF_EC_F_2M   (1UL << 21)
 
#define CKF_EC_ECPARAMETERS   (1UL << 22)
 
#define CKF_EC_NAMEDCURVE   (1UL << 23)
 
#define CKF_EC_UNCOMPRESS   (1UL << 24)
 
#define CKF_EC_COMPRESS   (1UL << 25)
 
#define CKF_DONT_BLOCK   (1UL)
 
#define CKD_NULL   (1UL << 0)
 
#define CKG_MGF1_SHA1   0x00000001UL
 
#define CKG_MGF1_SHA224   0x00000005UL
 
#define CKG_MGF1_SHA256   0x00000002UL
 
#define CKG_MGF1_SHA384   0x00000003UL
 
#define CKG_MGF1_SHA512   0x00000004UL
 
#define CKZ_DATA_SPECIFIED   (1UL << 0)
 
#define _CK_DECLARE_FUNCTION(name, args)
 
#define CKF_LIBRARY_CANT_CREATE_OS_THREADS   (1UL << 0)
 
#define CKF_OS_LOCKING_OK   (1UL << 1)
 
#define CKR_OK   (0UL)
 
#define CKR_CANCEL   (1UL)
 
#define CKR_HOST_MEMORY   (2UL)
 
#define CKR_SLOT_ID_INVALID   (3UL)
 
#define CKR_GENERAL_ERROR   (5UL)
 
#define CKR_FUNCTION_FAILED   (6UL)
 
#define CKR_ARGUMENTS_BAD   (7UL)
 
#define CKR_NO_EVENT   (8UL)
 
#define CKR_NEED_TO_CREATE_THREADS   (9UL)
 
#define CKR_CANT_LOCK   (0xaUL)
 
#define CKR_ATTRIBUTE_READ_ONLY   (0x10UL)
 
#define CKR_ATTRIBUTE_SENSITIVE   (0x11UL)
 
#define CKR_ATTRIBUTE_TYPE_INVALID   (0x12UL)
 
#define CKR_ATTRIBUTE_VALUE_INVALID   (0x13UL)
 
#define CKR_DATA_INVALID   (0x20UL)
 
#define CKR_DATA_LEN_RANGE   (0x21UL)
 
#define CKR_DEVICE_ERROR   (0x30UL)
 
#define CKR_DEVICE_MEMORY   (0x31UL)
 
#define CKR_DEVICE_REMOVED   (0x32UL)
 
#define CKR_ENCRYPTED_DATA_INVALID   (0x40UL)
 
#define CKR_ENCRYPTED_DATA_LEN_RANGE   (0x41UL)
 
#define CKR_FUNCTION_CANCELED   (0x50UL)
 
#define CKR_FUNCTION_NOT_PARALLEL   (0x51UL)
 
#define CKR_FUNCTION_NOT_SUPPORTED   (0x54UL)
 
#define CKR_KEY_HANDLE_INVALID   (0x60UL)
 
#define CKR_KEY_SIZE_RANGE   (0x62UL)
 
#define CKR_KEY_TYPE_INCONSISTENT   (0x63UL)
 
#define CKR_KEY_NOT_NEEDED   (0x64UL)
 
#define CKR_KEY_CHANGED   (0x65UL)
 
#define CKR_KEY_NEEDED   (0x66UL)
 
#define CKR_KEY_INDIGESTIBLE   (0x67UL)
 
#define CKR_KEY_FUNCTION_NOT_PERMITTED   (0x68UL)
 
#define CKR_KEY_NOT_WRAPPABLE   (0x69UL)
 
#define CKR_KEY_UNEXTRACTABLE   (0x6aUL)
 
#define CKR_MECHANISM_INVALID   (0x70UL)
 
#define CKR_MECHANISM_PARAM_INVALID   (0x71UL)
 
#define CKR_OBJECT_HANDLE_INVALID   (0x82UL)
 
#define CKR_OPERATION_ACTIVE   (0x90UL)
 
#define CKR_OPERATION_NOT_INITIALIZED   (0x91UL)
 
#define CKR_PIN_INCORRECT   (0xa0UL)
 
#define CKR_PIN_INVALID   (0xa1UL)
 
#define CKR_PIN_LEN_RANGE   (0xa2UL)
 
#define CKR_PIN_EXPIRED   (0xa3UL)
 
#define CKR_PIN_LOCKED   (0xa4UL)
 
#define CKR_SESSION_CLOSED   (0xb0UL)
 
#define CKR_SESSION_COUNT   (0xb1UL)
 
#define CKR_SESSION_HANDLE_INVALID   (0xb3UL)
 
#define CKR_SESSION_PARALLEL_NOT_SUPPORTED   (0xb4UL)
 
#define CKR_SESSION_READ_ONLY   (0xb5UL)
 
#define CKR_SESSION_EXISTS   (0xb6UL)
 
#define CKR_SESSION_READ_ONLY_EXISTS   (0xb7UL)
 
#define CKR_SESSION_READ_WRITE_SO_EXISTS   (0xb8UL)
 
#define CKR_SIGNATURE_INVALID   (0xc0UL)
 
#define CKR_SIGNATURE_LEN_RANGE   (0xc1UL)
 
#define CKR_TEMPLATE_INCOMPLETE   (0xd0UL)
 
#define CKR_TEMPLATE_INCONSISTENT   (0xd1UL)
 
#define CKR_TOKEN_NOT_PRESENT   (0xe0UL)
 
#define CKR_TOKEN_NOT_RECOGNIZED   (0xe1UL)
 
#define CKR_TOKEN_WRITE_PROTECTED   (0xe2UL)
 
#define CKR_UNWRAPPING_KEY_HANDLE_INVALID   (0xf0UL)
 
#define CKR_UNWRAPPING_KEY_SIZE_RANGE   (0xf1UL)
 
#define CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT   (0xf2UL)
 
#define CKR_USER_ALREADY_LOGGED_IN   (0x100UL)
 
#define CKR_USER_NOT_LOGGED_IN   (0x101UL)
 
#define CKR_USER_PIN_NOT_INITIALIZED   (0x102UL)
 
#define CKR_USER_TYPE_INVALID   (0x103UL)
 
#define CKR_USER_ANOTHER_ALREADY_LOGGED_IN   (0x104UL)
 
#define CKR_USER_TOO_MANY_TYPES   (0x105UL)
 
#define CKR_WRAPPED_KEY_INVALID   (0x110UL)
 
#define CKR_WRAPPED_KEY_LEN_RANGE   (0x112UL)
 
#define CKR_WRAPPING_KEY_HANDLE_INVALID   (0x113UL)
 
#define CKR_WRAPPING_KEY_SIZE_RANGE   (0x114UL)
 
#define CKR_WRAPPING_KEY_TYPE_INCONSISTENT   (0x115UL)
 
#define CKR_RANDOM_SEED_NOT_SUPPORTED   (0x120UL)
 
#define CKR_RANDOM_NO_RNG   (0x121UL)
 
#define CKR_DOMAIN_PARAMS_INVALID   (0x130UL)
 
#define CKR_CURVE_NOT_SUPPORTED   (0x140UL)
 
#define CKR_BUFFER_TOO_SMALL   (0x150UL)
 
#define CKR_SAVED_STATE_INVALID   (0x160UL)
 
#define CKR_INFORMATION_SENSITIVE   (0x170UL)
 
#define CKR_STATE_UNSAVEABLE   (0x180UL)
 
#define CKR_CRYPTOKI_NOT_INITIALIZED   (0x190UL)
 
#define CKR_CRYPTOKI_ALREADY_INITIALIZED   (0x191UL)
 
#define CKR_MUTEX_BAD   (0x1a0UL)
 
#define CKR_MUTEX_NOT_LOCKED   (0x1a1UL)
 
#define CKR_FUNCTION_REJECTED   (0x200UL)
 
#define CKR_VENDOR_DEFINED   (1UL << 31)
 
#define CK_DEFINE_FUNCTION(retval, name)
 
#define CK_FALSE   0
 
#define CK_TRUE   1
 
#define FALSE   0
 
#define TRUE   1
 
#define NULL_PTR   NULL
 
Helper functions for GenericPointer
#define value   pValue
 

Typedefs

typedef unsigned long ck_flags_t
 
typedef unsigned long ck_notification_t
 
typedef unsigned long ck_slot_id_t
 
typedef unsigned long ck_session_handle_t
 
typedef unsigned long ck_user_type_t
 
typedef unsigned long ck_state_t
 
typedef unsigned long ck_object_handle_t
 
typedef unsigned long ck_object_class_t
 
typedef unsigned long ck_hw_feature_type_t
 
typedef unsigned long ck_key_type_t
 
typedef unsigned long ck_certificate_type_t
 
typedef unsigned long ck_attribute_type_t
 
typedef unsigned long ck_mechanism_type_t
 
typedef struct CK_ECDH1_DERIVE_PARAMS CK_ECDH1_DERIVE_PARAMS
 
typedef unsigned long CK_RSA_PKCS_MGF_TYPE
 
typedef unsigned long CK_RSA_PKCS_OAEP_SOURCE_TYPE
 
typedef struct CK_RSA_PKCS_OAEP_PARAMS CK_RSA_PKCS_OAEP_PARAMS
 
typedef struct CK_RSA_PKCS_PSS_PARAMS CK_RSA_PKCS_PSS_PARAMS
 
typedef unsigned long ck_rv_t
 
typedef ck_rv_t(* ck_notify_t) (ck_session_handle_t session, ck_notification_t event, void *application)
 
typedef ck_rv_t(* ck_createmutex_t) (void **mutex)
 
typedef ck_rv_t(* ck_destroymutex_t) (void *mutex)
 
typedef ck_rv_t(* ck_lockmutex_t) (void *mutex)
 
typedef ck_rv_t(* ck_unlockmutex_t) (void *mutex)
 
typedef unsigned char CK_BYTE
 
typedef unsigned char CK_CHAR
 
typedef unsigned char CK_UTF8CHAR
 
typedef unsigned char CK_BBOOL
 
typedef unsigned long int CK_ULONG
 
typedef long int CK_LONG
 
typedef CK_BYTECK_BYTE_PTR
 
typedef CK_CHARCK_CHAR_PTR
 
typedef CK_UTF8CHARCK_UTF8CHAR_PTR
 
typedef CK_ULONGCK_ULONG_PTR
 
typedef void * CK_VOID_PTR
 
typedef void ** CK_VOID_PTR_PTR
 
typedef struct ck_version CK_VERSION
 
typedef struct ck_versionCK_VERSION_PTR
 
typedef struct ck_info CK_INFO
 
typedef struct ck_infoCK_INFO_PTR
 
typedef ck_slot_id_tCK_SLOT_ID_PTR
 
typedef struct ck_slot_info CK_SLOT_INFO
 
typedef struct ck_slot_infoCK_SLOT_INFO_PTR
 
typedef struct ck_token_info CK_TOKEN_INFO
 
typedef struct ck_token_infoCK_TOKEN_INFO_PTR
 
typedef ck_session_handle_tCK_SESSION_HANDLE_PTR
 
typedef struct ck_session_info CK_SESSION_INFO
 
typedef struct ck_session_infoCK_SESSION_INFO_PTR
 
typedef ck_object_handle_tCK_OBJECT_HANDLE_PTR
 
typedef ck_object_class_tCK_OBJECT_CLASS_PTR
 
typedef struct ck_attribute CK_ATTRIBUTE
 
typedef struct ck_attributeCK_ATTRIBUTE_PTR
 
typedef struct ck_date CK_DATE
 
typedef struct ck_dateCK_DATE_PTR
 
typedef ck_mechanism_type_tCK_MECHANISM_TYPE_PTR
 
typedef struct ck_mechanism CK_MECHANISM
 
typedef struct ck_mechanismCK_MECHANISM_PTR
 
typedef struct ck_mechanism_info CK_MECHANISM_INFO
 
typedef struct ck_mechanism_infoCK_MECHANISM_INFO_PTR
 
typedef struct ck_function_list CK_FUNCTION_LIST
 
typedef struct ck_function_listCK_FUNCTION_LIST_PTR
 
typedef struct ck_function_list ** CK_FUNCTION_LIST_PTR_PTR
 
typedef struct ck_c_initialize_args CK_C_INITIALIZE_ARGS
 
typedef struct ck_c_initialize_argsCK_C_INITIALIZE_ARGS_PTR
 

Functions

 _CK_DECLARE_FUNCTION (C_Initialize,(void *init_args))
 
 _CK_DECLARE_FUNCTION (C_Finalize,(void *reserved))
 
 _CK_DECLARE_FUNCTION (C_GetInfo,(struct ck_info *info))
 
 _CK_DECLARE_FUNCTION (C_GetFunctionList,(struct ck_function_list **function_list))
 
 _CK_DECLARE_FUNCTION (C_GetSlotList,(unsigned char token_present, ck_slot_id_t *slot_list, unsigned long *count))
 
 _CK_DECLARE_FUNCTION (C_GetSlotInfo,(ck_slot_id_t slot_id, struct ck_slot_info *info))
 
 _CK_DECLARE_FUNCTION (C_GetTokenInfo,(ck_slot_id_t slot_id, struct ck_token_info *info))
 
 _CK_DECLARE_FUNCTION (C_WaitForSlotEvent,(ck_flags_t flags, ck_slot_id_t *slot, void *reserved))
 
 _CK_DECLARE_FUNCTION (C_GetMechanismList,(ck_slot_id_t slot_id, ck_mechanism_type_t *mechanism_list, unsigned long *count))
 
 _CK_DECLARE_FUNCTION (C_GetMechanismInfo,(ck_slot_id_t slot_id, ck_mechanism_type_t type, struct ck_mechanism_info *info))
 
 _CK_DECLARE_FUNCTION (C_InitToken,(ck_slot_id_t slot_id, unsigned char *pin, unsigned long pin_len, unsigned char *label))
 
 _CK_DECLARE_FUNCTION (C_InitPIN,(ck_session_handle_t session, unsigned char *pin, unsigned long pin_len))
 
 _CK_DECLARE_FUNCTION (C_SetPIN,(ck_session_handle_t session, unsigned char *old_pin, unsigned long old_len, unsigned char *new_pin, unsigned long new_len))
 
 _CK_DECLARE_FUNCTION (C_OpenSession,(ck_slot_id_t slot_id, ck_flags_t flags, void *application, ck_notify_t notify, ck_session_handle_t *session))
 
 _CK_DECLARE_FUNCTION (C_CloseSession,(ck_session_handle_t session))
 
 _CK_DECLARE_FUNCTION (C_CloseAllSessions,(ck_slot_id_t slot_id))
 
 _CK_DECLARE_FUNCTION (C_GetSessionInfo,(ck_session_handle_t session, struct ck_session_info *info))
 
 _CK_DECLARE_FUNCTION (C_GetOperationState,(ck_session_handle_t session, unsigned char *operation_state, unsigned long *operation_state_len))
 
 _CK_DECLARE_FUNCTION (C_SetOperationState,(ck_session_handle_t session, unsigned char *operation_state, unsigned long operation_state_len, ck_object_handle_t encryption_key, ck_object_handle_t authentiation_key))
 
 _CK_DECLARE_FUNCTION (C_Login,(ck_session_handle_t session, ck_user_type_t user_type, unsigned char *pin, unsigned long pin_len))
 
 _CK_DECLARE_FUNCTION (C_Logout,(ck_session_handle_t session))
 
 _CK_DECLARE_FUNCTION (C_CreateObject,(ck_session_handle_t session, struct ck_attribute *templ, unsigned long count, ck_object_handle_t *object))
 
 _CK_DECLARE_FUNCTION (C_CopyObject,(ck_session_handle_t session, ck_object_handle_t object, struct ck_attribute *templ, unsigned long count, ck_object_handle_t *new_object))
 
 _CK_DECLARE_FUNCTION (C_DestroyObject,(ck_session_handle_t session, ck_object_handle_t object))
 
 _CK_DECLARE_FUNCTION (C_GetObjectSize,(ck_session_handle_t session, ck_object_handle_t object, unsigned long *size))
 
 _CK_DECLARE_FUNCTION (C_GetAttributeValue,(ck_session_handle_t session, ck_object_handle_t object, struct ck_attribute *templ, unsigned long count))
 
 _CK_DECLARE_FUNCTION (C_SetAttributeValue,(ck_session_handle_t session, ck_object_handle_t object, struct ck_attribute *templ, unsigned long count))
 
 _CK_DECLARE_FUNCTION (C_FindObjectsInit,(ck_session_handle_t session, struct ck_attribute *templ, unsigned long count))
 
 _CK_DECLARE_FUNCTION (C_FindObjects,(ck_session_handle_t session, ck_object_handle_t *object, unsigned long max_object_count, unsigned long *object_count))
 
 _CK_DECLARE_FUNCTION (C_FindObjectsFinal,(ck_session_handle_t session))
 
 _CK_DECLARE_FUNCTION (C_EncryptInit,(ck_session_handle_t session, struct ck_mechanism *mechanism, ck_object_handle_t key))
 
 _CK_DECLARE_FUNCTION (C_Encrypt,(ck_session_handle_t session, unsigned char *data, unsigned long data_len, unsigned char *encrypted_data, unsigned long *encrypted_data_len))
 
 _CK_DECLARE_FUNCTION (C_EncryptUpdate,(ck_session_handle_t session, unsigned char *part, unsigned long part_len, unsigned char *encrypted_part, unsigned long *encrypted_part_len))
 
 _CK_DECLARE_FUNCTION (C_EncryptFinal,(ck_session_handle_t session, unsigned char *last_encrypted_part, unsigned long *last_encrypted_part_len))
 
 _CK_DECLARE_FUNCTION (C_DecryptInit,(ck_session_handle_t session, struct ck_mechanism *mechanism, ck_object_handle_t key))
 
 _CK_DECLARE_FUNCTION (C_Decrypt,(ck_session_handle_t session, unsigned char *encrypted_data, unsigned long encrypted_data_len, unsigned char *data, unsigned long *data_len))
 
 _CK_DECLARE_FUNCTION (C_DecryptUpdate,(ck_session_handle_t session, unsigned char *encrypted_part, unsigned long encrypted_part_len, unsigned char *part, unsigned long *part_len))
 
 _CK_DECLARE_FUNCTION (C_DecryptFinal,(ck_session_handle_t session, unsigned char *last_part, unsigned long *last_part_len))
 
 _CK_DECLARE_FUNCTION (C_DigestInit,(ck_session_handle_t session, struct ck_mechanism *mechanism))
 
 _CK_DECLARE_FUNCTION (C_Digest,(ck_session_handle_t session, unsigned char *data, unsigned long data_len, unsigned char *digest, unsigned long *digest_len))
 
 _CK_DECLARE_FUNCTION (C_DigestUpdate,(ck_session_handle_t session, unsigned char *part, unsigned long part_len))
 
 _CK_DECLARE_FUNCTION (C_DigestKey,(ck_session_handle_t session, ck_object_handle_t key))
 
 _CK_DECLARE_FUNCTION (C_DigestFinal,(ck_session_handle_t session, unsigned char *digest, unsigned long *digest_len))
 
 _CK_DECLARE_FUNCTION (C_SignInit,(ck_session_handle_t session, struct ck_mechanism *mechanism, ck_object_handle_t key))
 
 _CK_DECLARE_FUNCTION (C_Sign,(ck_session_handle_t session, unsigned char *data, unsigned long data_len, unsigned char *signature, unsigned long *signature_len))
 
 _CK_DECLARE_FUNCTION (C_SignUpdate,(ck_session_handle_t session, unsigned char *part, unsigned long part_len))
 
 _CK_DECLARE_FUNCTION (C_SignFinal,(ck_session_handle_t session, unsigned char *signature, unsigned long *signature_len))
 
 _CK_DECLARE_FUNCTION (C_SignRecoverInit,(ck_session_handle_t session, struct ck_mechanism *mechanism, ck_object_handle_t key))
 
 _CK_DECLARE_FUNCTION (C_SignRecover,(ck_session_handle_t session, unsigned char *data, unsigned long data_len, unsigned char *signature, unsigned long *signature_len))
 
 _CK_DECLARE_FUNCTION (C_VerifyInit,(ck_session_handle_t session, struct ck_mechanism *mechanism, ck_object_handle_t key))
 
 _CK_DECLARE_FUNCTION (C_Verify,(ck_session_handle_t session, unsigned char *data, unsigned long data_len, unsigned char *signature, unsigned long signature_len))
 
 _CK_DECLARE_FUNCTION (C_VerifyUpdate,(ck_session_handle_t session, unsigned char *part, unsigned long part_len))
 
 _CK_DECLARE_FUNCTION (C_VerifyFinal,(ck_session_handle_t session, unsigned char *signature, unsigned long signature_len))
 
 _CK_DECLARE_FUNCTION (C_VerifyRecoverInit,(ck_session_handle_t session, struct ck_mechanism *mechanism, ck_object_handle_t key))
 
 _CK_DECLARE_FUNCTION (C_VerifyRecover,(ck_session_handle_t session, unsigned char *signature, unsigned long signature_len, unsigned char *data, unsigned long *data_len))
 
 _CK_DECLARE_FUNCTION (C_DigestEncryptUpdate,(ck_session_handle_t session, unsigned char *part, unsigned long part_len, unsigned char *encrypted_part, unsigned long *encrypted_part_len))
 
 _CK_DECLARE_FUNCTION (C_DecryptDigestUpdate,(ck_session_handle_t session, unsigned char *encrypted_part, unsigned long encrypted_part_len, unsigned char *part, unsigned long *part_len))
 
 _CK_DECLARE_FUNCTION (C_SignEncryptUpdate,(ck_session_handle_t session, unsigned char *part, unsigned long part_len, unsigned char *encrypted_part, unsigned long *encrypted_part_len))
 
 _CK_DECLARE_FUNCTION (C_DecryptVerifyUpdate,(ck_session_handle_t session, unsigned char *encrypted_part, unsigned long encrypted_part_len, unsigned char *part, unsigned long *part_len))
 
 _CK_DECLARE_FUNCTION (C_GenerateKey,(ck_session_handle_t session, struct ck_mechanism *mechanism, struct ck_attribute *templ, unsigned long count, ck_object_handle_t *key))
 
 _CK_DECLARE_FUNCTION (C_GenerateKeyPair,(ck_session_handle_t session, struct ck_mechanism *mechanism, struct ck_attribute *public_key_template, unsigned long public_key_attribute_count, struct ck_attribute *private_key_template, unsigned long private_key_attribute_count, ck_object_handle_t *public_key, ck_object_handle_t *private_key))
 
 _CK_DECLARE_FUNCTION (C_WrapKey,(ck_session_handle_t session, struct ck_mechanism *mechanism, ck_object_handle_t wrapping_key, ck_object_handle_t key, unsigned char *wrapped_key, unsigned long *wrapped_key_len))
 
 _CK_DECLARE_FUNCTION (C_UnwrapKey,(ck_session_handle_t session, struct ck_mechanism *mechanism, ck_object_handle_t unwrapping_key, unsigned char *wrapped_key, unsigned long wrapped_key_len, struct ck_attribute *templ, unsigned long attribute_count, ck_object_handle_t *key))
 
 _CK_DECLARE_FUNCTION (C_DeriveKey,(ck_session_handle_t session, struct ck_mechanism *mechanism, ck_object_handle_t base_key, struct ck_attribute *templ, unsigned long attribute_count, ck_object_handle_t *key))
 
 _CK_DECLARE_FUNCTION (C_SeedRandom,(ck_session_handle_t session, unsigned char *seed, unsigned long seed_len))
 
 _CK_DECLARE_FUNCTION (C_GenerateRandom,(ck_session_handle_t session, unsigned char *random_data, unsigned long random_len))
 
 _CK_DECLARE_FUNCTION (C_GetFunctionStatus,(ck_session_handle_t session))
 
 _CK_DECLARE_FUNCTION (C_CancelFunction,(ck_session_handle_t session))
 

Macro Definition Documentation

◆ _CK_DECLARE_FUNCTION

#define _CK_DECLARE_FUNCTION ( name,
args )
Value:
typedef ck_rv_t(*CK_##name) args; \
std::string name
#define CK_SPEC
Definition pkcs11.h:101
#define ck_rv_t
Definition pkcs11.h:172
unsigned long ck_rv_t
Definition pkcs11.h:768

Definition at line 776 of file pkcs11.h.

776#define _CK_DECLARE_FUNCTION(name, args) \
777 typedef ck_rv_t(*CK_##name) args; \
778 ck_rv_t CK_SPEC name args

◆ ck_attribute

#define ck_attribute   _CK_ATTRIBUTE

Definition at line 156 of file pkcs11.h.

◆ ck_attribute_type_t

#define ck_attribute_type_t   CK_ATTRIBUTE_TYPE

Definition at line 154 of file pkcs11.h.

◆ ck_c_initialize_args

#define ck_c_initialize_args   _CK_C_INITIALIZE_ARGS

Definition at line 182 of file pkcs11.h.

◆ ck_certificate_type_t

#define ck_certificate_type_t   CK_CERTIFICATE_TYPE

Definition at line 153 of file pkcs11.h.

◆ ck_createmutex_t

#define ck_createmutex_t   CK_CREATEMUTEX

Definition at line 177 of file pkcs11.h.

◆ ck_date

#define ck_date   _CK_DATE

Definition at line 160 of file pkcs11.h.

◆ CK_DEFINE_FUNCTION

#define CK_DEFINE_FUNCTION ( retval,
name )
Value:
retval CK_SPEC name

Definition at line 1185 of file pkcs11.h.

◆ ck_destroymutex_t

#define ck_destroymutex_t   CK_DESTROYMUTEX

Definition at line 178 of file pkcs11.h.

◆ CK_EFFECTIVELY_INFINITE

#define CK_EFFECTIVELY_INFINITE   (0UL)

Definition at line 266 of file pkcs11.h.

◆ CK_FALSE

#define CK_FALSE   0

Definition at line 1202 of file pkcs11.h.

◆ ck_flags_t

#define ck_flags_t   CK_FLAGS

Definition at line 110 of file pkcs11.h.

◆ ck_function_list

#define ck_function_list   _CK_FUNCTION_LIST

Definition at line 175 of file pkcs11.h.

◆ ck_hw_feature_type_t

#define ck_hw_feature_type_t   CK_HW_FEATURE_TYPE

Definition at line 151 of file pkcs11.h.

◆ ck_info

#define ck_info   _CK_INFO

Definition at line 113 of file pkcs11.h.

◆ CK_INVALID_HANDLE

#define CK_INVALID_HANDLE   (0UL)

Definition at line 270 of file pkcs11.h.

◆ ck_key_type_t

#define ck_key_type_t   CK_KEY_TYPE

Definition at line 152 of file pkcs11.h.

◆ ck_lockmutex_t

#define ck_lockmutex_t   CK_LOCKMUTEX

Definition at line 179 of file pkcs11.h.

◆ ck_mechanism

#define ck_mechanism   _CK_MECHANISM

Definition at line 164 of file pkcs11.h.

◆ ck_mechanism_info

#define ck_mechanism_info   _CK_MECHANISM_INFO

Definition at line 168 of file pkcs11.h.

◆ ck_mechanism_type_t

#define ck_mechanism_type_t   CK_MECHANISM_TYPE

Definition at line 162 of file pkcs11.h.

◆ ck_notification_t

#define ck_notification_t   CK_NOTIFICATION

Definition at line 119 of file pkcs11.h.

◆ ck_notify_t

#define ck_notify_t   CK_NOTIFY

Definition at line 173 of file pkcs11.h.

◆ ck_object_class_t

#define ck_object_class_t   CK_OBJECT_CLASS

Definition at line 150 of file pkcs11.h.

◆ ck_object_handle_t

#define ck_object_handle_t   CK_OBJECT_HANDLE

Definition at line 149 of file pkcs11.h.

◆ ck_rv_t

#define ck_rv_t   CK_RV

Definition at line 172 of file pkcs11.h.

◆ ck_session_handle_t

#define ck_session_handle_t   CK_SESSION_HANDLE

Definition at line 141 of file pkcs11.h.

◆ ck_session_info

#define ck_session_info   _CK_SESSION_INFO

Definition at line 145 of file pkcs11.h.

◆ ck_slot_id_t

#define ck_slot_id_t   CK_SLOT_ID

Definition at line 120 of file pkcs11.h.

◆ ck_slot_info

#define ck_slot_info   _CK_SLOT_INFO

Definition at line 122 of file pkcs11.h.

◆ CK_SPEC

#define CK_SPEC

Definition at line 101 of file pkcs11.h.

◆ ck_state_t

#define ck_state_t   CK_STATE

Definition at line 143 of file pkcs11.h.

◆ ck_token_info

#define ck_token_info   _CK_TOKEN_INFO

Definition at line 127 of file pkcs11.h.

◆ CK_TRUE

#define CK_TRUE   1

Definition at line 1203 of file pkcs11.h.

◆ CK_UNAVAILABLE_INFORMATION

#define CK_UNAVAILABLE_INFORMATION   ((unsigned long) -1)

Definition at line 265 of file pkcs11.h.

◆ ck_unlockmutex_t

#define ck_unlockmutex_t   CK_UNLOCKMUTEX

Definition at line 180 of file pkcs11.h.

◆ ck_user_type_t

#define ck_user_type_t   CK_USER_TYPE

Definition at line 142 of file pkcs11.h.

◆ ck_version

#define ck_version   _CK_VERSION

Definition at line 111 of file pkcs11.h.

◆ CKA_AC_ISSUER

#define CKA_AC_ISSUER   (0x83UL)

Definition at line 373 of file pkcs11.h.

◆ CKA_ALLOWED_MECHANISMS

#define CKA_ALLOWED_MECHANISMS   (CKF_ARRAY_ATTRIBUTE | 0x600UL)

Definition at line 452 of file pkcs11.h.

◆ CKA_ALWAYS_AUTHENTICATE

#define CKA_ALWAYS_AUTHENTICATE   (0x202UL)

Definition at line 428 of file pkcs11.h.

◆ CKA_ALWAYS_SENSITIVE

#define CKA_ALWAYS_SENSITIVE   (0x165UL)

Definition at line 418 of file pkcs11.h.

◆ CKA_APPLICATION

#define CKA_APPLICATION   (0x10UL)

Definition at line 367 of file pkcs11.h.

◆ CKA_ATTR_TYPES

#define CKA_ATTR_TYPES   (0x85UL)

Definition at line 375 of file pkcs11.h.

◆ CKA_AUTH_PIN_FLAGS

#define CKA_AUTH_PIN_FLAGS   (0x201UL)

Definition at line 427 of file pkcs11.h.

◆ CKA_BASE

#define CKA_BASE   (0x132UL)

Definition at line 410 of file pkcs11.h.

◆ CKA_BITS_PER_PIXEL

#define CKA_BITS_PER_PIXEL   (0x406UL)

Definition at line 442 of file pkcs11.h.

◆ CKA_CERTIFICATE_CATEGORY

#define CKA_CERTIFICATE_CATEGORY   (0x87UL)

Definition at line 377 of file pkcs11.h.

◆ CKA_CERTIFICATE_TYPE

#define CKA_CERTIFICATE_TYPE   (0x80UL)

Definition at line 370 of file pkcs11.h.

◆ CKA_CHAR_COLUMNS

#define CKA_CHAR_COLUMNS   (0x404UL)

Definition at line 440 of file pkcs11.h.

◆ CKA_CHAR_ROWS

#define CKA_CHAR_ROWS   (0x403UL)

Definition at line 439 of file pkcs11.h.

◆ CKA_CHAR_SETS

#define CKA_CHAR_SETS   (0x480UL)

Definition at line 443 of file pkcs11.h.

◆ CKA_CHECK_VALUE

#define CKA_CHECK_VALUE   (0x90UL)

Definition at line 382 of file pkcs11.h.

◆ CKA_CLASS

#define CKA_CLASS   (0UL)

Definition at line 363 of file pkcs11.h.

◆ CKA_COEFFICIENT

#define CKA_COEFFICIENT   (0x128UL)

Definition at line 406 of file pkcs11.h.

◆ CKA_COLOR

#define CKA_COLOR   (0x405UL)

Definition at line 441 of file pkcs11.h.

◆ CKA_COPYABLE

#define CKA_COPYABLE   (0x171UL)

Definition at line 421 of file pkcs11.h.

◆ CKA_DECRYPT

#define CKA_DECRYPT   (0x105UL)

Definition at line 388 of file pkcs11.h.

◆ CKA_DEFAULT_CMS_ATTRIBUTES

#define CKA_DEFAULT_CMS_ATTRIBUTES   (0x502UL)

Definition at line 448 of file pkcs11.h.

◆ CKA_DERIVE

#define CKA_DERIVE   (0x10cUL)

Definition at line 395 of file pkcs11.h.

◆ CKA_DESTROYABLE

#define CKA_DESTROYABLE   (0x172UL)

Definition at line 422 of file pkcs11.h.

◆ CKA_EC_PARAMS

#define CKA_EC_PARAMS   (0x180UL)

Definition at line 424 of file pkcs11.h.

◆ CKA_EC_POINT

#define CKA_EC_POINT   (0x181UL)

Definition at line 425 of file pkcs11.h.

◆ CKA_ECDSA_PARAMS

#define CKA_ECDSA_PARAMS   (0x180UL)

Definition at line 423 of file pkcs11.h.

◆ CKA_ENCODING_METHODS

#define CKA_ENCODING_METHODS   (0x481UL)

Definition at line 444 of file pkcs11.h.

◆ CKA_ENCRYPT

#define CKA_ENCRYPT   (0x104UL)

Definition at line 387 of file pkcs11.h.

◆ CKA_END_DATE

#define CKA_END_DATE   (0x111UL)

Definition at line 397 of file pkcs11.h.

◆ CKA_EXPONENT_1

#define CKA_EXPONENT_1   (0x126UL)

Definition at line 404 of file pkcs11.h.

◆ CKA_EXPONENT_2

#define CKA_EXPONENT_2   (0x127UL)

Definition at line 405 of file pkcs11.h.

◆ CKA_EXTRACTABLE

#define CKA_EXTRACTABLE   (0x162UL)

Definition at line 415 of file pkcs11.h.

◆ CKA_GOST28147_PARAMS

#define CKA_GOST28147_PARAMS   (0x252UL)

Definition at line 432 of file pkcs11.h.

◆ CKA_GOSTR3410_PARAMS

#define CKA_GOSTR3410_PARAMS   (0x250UL)

Definition at line 430 of file pkcs11.h.

◆ CKA_GOSTR3411_PARAMS

#define CKA_GOSTR3411_PARAMS   (0x251UL)

Definition at line 431 of file pkcs11.h.

◆ CKA_HAS_RESET

#define CKA_HAS_RESET   (0x302UL)

Definition at line 435 of file pkcs11.h.

◆ CKA_HASH_OF_ISSUER_PUBLIC_KEY

#define CKA_HASH_OF_ISSUER_PUBLIC_KEY   (0x8bUL)

Definition at line 381 of file pkcs11.h.

◆ CKA_HASH_OF_SUBJECT_PUBLIC_KEY

#define CKA_HASH_OF_SUBJECT_PUBLIC_KEY   (0x8aUL)

Definition at line 380 of file pkcs11.h.

◆ CKA_HW_FEATURE_TYPE

#define CKA_HW_FEATURE_TYPE   (0x300UL)

Definition at line 433 of file pkcs11.h.

◆ CKA_ID

#define CKA_ID   (0x102UL)

Definition at line 385 of file pkcs11.h.

◆ CKA_ISSUER

#define CKA_ISSUER   (0x81UL)

Definition at line 371 of file pkcs11.h.

◆ CKA_JAVA_MIDP_SECURITY_DOMAIN

#define CKA_JAVA_MIDP_SECURITY_DOMAIN   (0x88UL)

Definition at line 378 of file pkcs11.h.

◆ CKA_KEY_GEN_MECHANISM

#define CKA_KEY_GEN_MECHANISM   (0x166UL)

Definition at line 419 of file pkcs11.h.

◆ CKA_KEY_TYPE

#define CKA_KEY_TYPE   (0x100UL)

Definition at line 383 of file pkcs11.h.

◆ CKA_LABEL

#define CKA_LABEL   (3UL)

Definition at line 366 of file pkcs11.h.

◆ CKA_LOCAL

#define CKA_LOCAL   (0x163UL)

Definition at line 416 of file pkcs11.h.

◆ CKA_MECHANISM_TYPE

#define CKA_MECHANISM_TYPE   (0x500UL)

Definition at line 446 of file pkcs11.h.

◆ CKA_MIME_TYPES

#define CKA_MIME_TYPES   (0x482UL)

Definition at line 445 of file pkcs11.h.

◆ CKA_MODIFIABLE

#define CKA_MODIFIABLE   (0x170UL)

Definition at line 420 of file pkcs11.h.

◆ CKA_MODULUS

#define CKA_MODULUS   (0x120UL)

Definition at line 398 of file pkcs11.h.

◆ CKA_MODULUS_BITS

#define CKA_MODULUS_BITS   (0x121UL)

Definition at line 399 of file pkcs11.h.

◆ CKA_NEVER_EXTRACTABLE

#define CKA_NEVER_EXTRACTABLE   (0x164UL)

Definition at line 417 of file pkcs11.h.

◆ CKA_OBJECT_ID

#define CKA_OBJECT_ID   (0x12UL)

Definition at line 369 of file pkcs11.h.

◆ CKA_OWNER

#define CKA_OWNER   (0x84UL)

Definition at line 374 of file pkcs11.h.

◆ CKA_PIXEL_X

#define CKA_PIXEL_X   (0x400UL)

Definition at line 436 of file pkcs11.h.

◆ CKA_PIXEL_Y

#define CKA_PIXEL_Y   (0x401UL)

Definition at line 437 of file pkcs11.h.

◆ CKA_PRIME

#define CKA_PRIME   (0x130UL)

Definition at line 408 of file pkcs11.h.

◆ CKA_PRIME_1

#define CKA_PRIME_1   (0x124UL)

Definition at line 402 of file pkcs11.h.

◆ CKA_PRIME_2

#define CKA_PRIME_2   (0x125UL)

Definition at line 403 of file pkcs11.h.

◆ CKA_PRIME_BITS

#define CKA_PRIME_BITS   (0x133UL)

Definition at line 411 of file pkcs11.h.

◆ CKA_PRIVATE

#define CKA_PRIVATE   (2UL)

Definition at line 365 of file pkcs11.h.

◆ CKA_PRIVATE_EXPONENT

#define CKA_PRIVATE_EXPONENT   (0x123UL)

Definition at line 401 of file pkcs11.h.

◆ CKA_PUBLIC_EXPONENT

#define CKA_PUBLIC_EXPONENT   (0x122UL)

Definition at line 400 of file pkcs11.h.

◆ CKA_PUBLIC_KEY_INFO

#define CKA_PUBLIC_KEY_INFO   (0x129UL)

Definition at line 407 of file pkcs11.h.

◆ CKA_REQUIRED_CMS_ATTRIBUTES

#define CKA_REQUIRED_CMS_ATTRIBUTES   (0x501UL)

Definition at line 447 of file pkcs11.h.

◆ CKA_RESET_ON_INIT

#define CKA_RESET_ON_INIT   (0x301UL)

Definition at line 434 of file pkcs11.h.

◆ CKA_RESOLUTION

#define CKA_RESOLUTION   (0x402UL)

Definition at line 438 of file pkcs11.h.

◆ CKA_SECONDARY_AUTH

#define CKA_SECONDARY_AUTH   (0x200UL)

Definition at line 426 of file pkcs11.h.

◆ CKA_SENSITIVE

#define CKA_SENSITIVE   (0x103UL)

Definition at line 386 of file pkcs11.h.

◆ CKA_SERIAL_NUMBER

#define CKA_SERIAL_NUMBER   (0x82UL)

Definition at line 372 of file pkcs11.h.

◆ CKA_SIGN

#define CKA_SIGN   (0x108UL)

Definition at line 391 of file pkcs11.h.

◆ CKA_SIGN_RECOVER

#define CKA_SIGN_RECOVER   (0x109UL)

Definition at line 392 of file pkcs11.h.

◆ CKA_START_DATE

#define CKA_START_DATE   (0x110UL)

Definition at line 396 of file pkcs11.h.

◆ CKA_SUB_PRIME_BITS

#define CKA_SUB_PRIME_BITS   (0x134UL)

Definition at line 412 of file pkcs11.h.

◆ CKA_SUBJECT

#define CKA_SUBJECT   (0x101UL)

Definition at line 384 of file pkcs11.h.

◆ CKA_SUBPRIME

#define CKA_SUBPRIME   (0x131UL)

Definition at line 409 of file pkcs11.h.

◆ CKA_SUPPORTED_CMS_ATTRIBUTES

#define CKA_SUPPORTED_CMS_ATTRIBUTES   (0x503UL)

Definition at line 449 of file pkcs11.h.

◆ CKA_TOKEN

#define CKA_TOKEN   (1UL)

Definition at line 364 of file pkcs11.h.

◆ CKA_TRUSTED

#define CKA_TRUSTED   (0x86UL)

Definition at line 376 of file pkcs11.h.

◆ CKA_UNWRAP

#define CKA_UNWRAP   (0x107UL)

Definition at line 390 of file pkcs11.h.

◆ CKA_UNWRAP_TEMPLATE

#define CKA_UNWRAP_TEMPLATE   (CKF_ARRAY_ATTRIBUTE | 0x212UL)

Definition at line 451 of file pkcs11.h.

◆ CKA_URL

#define CKA_URL   (0x89UL)

Definition at line 379 of file pkcs11.h.

◆ CKA_VALUE

#define CKA_VALUE   (0x11UL)

Definition at line 368 of file pkcs11.h.

◆ CKA_VALUE_BITS

#define CKA_VALUE_BITS   (0x160UL)

Definition at line 413 of file pkcs11.h.

◆ CKA_VALUE_LEN

#define CKA_VALUE_LEN   (0x161UL)

Definition at line 414 of file pkcs11.h.

◆ CKA_VENDOR_DEFINED

#define CKA_VENDOR_DEFINED   (1UL << 31)

Definition at line 453 of file pkcs11.h.

◆ CKA_VERIFY

#define CKA_VERIFY   (0x10aUL)

Definition at line 393 of file pkcs11.h.

◆ CKA_VERIFY_RECOVER

#define CKA_VERIFY_RECOVER   (0x10bUL)

Definition at line 394 of file pkcs11.h.

◆ CKA_WRAP

#define CKA_WRAP   (0x106UL)

Definition at line 389 of file pkcs11.h.

◆ CKA_WRAP_TEMPLATE

#define CKA_WRAP_TEMPLATE   (CKF_ARRAY_ATTRIBUTE | 0x211UL)

Definition at line 450 of file pkcs11.h.

◆ CKA_WRAP_WITH_TRUSTED

#define CKA_WRAP_WITH_TRUSTED   (0x210UL)

Definition at line 429 of file pkcs11.h.

◆ CKC_VENDOR_DEFINED

#define CKC_VENDOR_DEFINED   (1UL << 31)

Definition at line 359 of file pkcs11.h.

◆ CKC_WTLS

#define CKC_WTLS   (2UL)

Definition at line 358 of file pkcs11.h.

◆ CKC_X_509

#define CKC_X_509   (0UL)

Definition at line 356 of file pkcs11.h.

◆ CKC_X_509_ATTR_CERT

#define CKC_X_509_ATTR_CERT   (1UL)

Definition at line 357 of file pkcs11.h.

◆ CKD_NULL

#define CKD_NULL   (1UL << 0)

Definition at line 732 of file pkcs11.h.

◆ CKF_ARRAY_ATTRIBUTE

#define CKF_ARRAY_ATTRIBUTE   (1UL << 30)

Definition at line 223 of file pkcs11.h.

◆ CKF_CLOCK_ON_TOKEN

#define CKF_CLOCK_ON_TOKEN   (1UL << 6)

Definition at line 251 of file pkcs11.h.

◆ CKF_DECRYPT

#define CKF_DECRYPT   (1UL << 9)

Definition at line 708 of file pkcs11.h.

◆ CKF_DERIVE

#define CKF_DERIVE   (1UL << 19)

Definition at line 718 of file pkcs11.h.

◆ CKF_DIGEST

#define CKF_DIGEST   (1UL << 10)

Definition at line 709 of file pkcs11.h.

◆ CKF_DONT_BLOCK

#define CKF_DONT_BLOCK   (1UL)

Definition at line 729 of file pkcs11.h.

◆ CKF_DUAL_CRYPTO_OPERATIONS

#define CKF_DUAL_CRYPTO_OPERATIONS   (1UL << 9)

Definition at line 253 of file pkcs11.h.

◆ CKF_EC_COMPRESS

#define CKF_EC_COMPRESS   (1UL << 25)

Definition at line 726 of file pkcs11.h.

◆ CKF_EC_ECPARAMETERS

#define CKF_EC_ECPARAMETERS   (1UL << 22)

Definition at line 723 of file pkcs11.h.

◆ CKF_EC_F_2M

#define CKF_EC_F_2M   (1UL << 21)

Definition at line 722 of file pkcs11.h.

◆ CKF_EC_F_P

#define CKF_EC_F_P   (1UL << 20)

Definition at line 721 of file pkcs11.h.

◆ CKF_EC_NAMEDCURVE

#define CKF_EC_NAMEDCURVE   (1UL << 23)

Definition at line 724 of file pkcs11.h.

◆ CKF_EC_UNCOMPRESS

#define CKF_EC_UNCOMPRESS   (1UL << 24)

Definition at line 725 of file pkcs11.h.

◆ CKF_ENCRYPT

#define CKF_ENCRYPT   (1UL << 8)

Definition at line 707 of file pkcs11.h.

◆ CKF_EXTENSION

#define CKF_EXTENSION   (1UL << 31)

Definition at line 719 of file pkcs11.h.

◆ CKF_GENERATE

#define CKF_GENERATE   (1UL << 15)

Definition at line 714 of file pkcs11.h.

◆ CKF_GENERATE_KEY_PAIR

#define CKF_GENERATE_KEY_PAIR   (1UL << 16)

Definition at line 715 of file pkcs11.h.

◆ CKF_HW

#define CKF_HW   (1UL << 0)

Definition at line 706 of file pkcs11.h.

◆ CKF_HW_SLOT

#define CKF_HW_SLOT   (1UL << 2)

Definition at line 222 of file pkcs11.h.

◆ CKF_LIBRARY_CANT_CREATE_OS_THREADS

#define CKF_LIBRARY_CANT_CREATE_OS_THREADS   (1UL << 0)

Definition at line 1089 of file pkcs11.h.

◆ CKF_LOGIN_REQUIRED

#define CKF_LOGIN_REQUIRED   (1UL << 2)

Definition at line 248 of file pkcs11.h.

◆ CKF_OS_LOCKING_OK

#define CKF_OS_LOCKING_OK   (1UL << 1)

Definition at line 1090 of file pkcs11.h.

◆ CKF_PROTECTED_AUTHENTICATION_PATH

#define CKF_PROTECTED_AUTHENTICATION_PATH   (1UL << 8)

Definition at line 252 of file pkcs11.h.

◆ CKF_REMOVABLE_DEVICE

#define CKF_REMOVABLE_DEVICE   (1UL << 1)

Definition at line 221 of file pkcs11.h.

◆ CKF_RESTORE_KEY_NOT_NEEDED

#define CKF_RESTORE_KEY_NOT_NEEDED   (1UL << 5)

Definition at line 250 of file pkcs11.h.

◆ CKF_RNG

#define CKF_RNG   (1UL << 0)

Definition at line 246 of file pkcs11.h.

◆ CKF_RW_SESSION

#define CKF_RW_SESSION   (1UL << 1)

Definition at line 293 of file pkcs11.h.

◆ CKF_SECONDARY_AUTHENTICATION

#define CKF_SECONDARY_AUTHENTICATION   (1UL << 11)

Definition at line 255 of file pkcs11.h.

◆ CKF_SERIAL_SESSION

#define CKF_SERIAL_SESSION   (1UL << 2)

Definition at line 294 of file pkcs11.h.

◆ CKF_SIGN

#define CKF_SIGN   (1UL << 11)

Definition at line 710 of file pkcs11.h.

◆ CKF_SIGN_RECOVER

#define CKF_SIGN_RECOVER   (1UL << 12)

Definition at line 711 of file pkcs11.h.

◆ CKF_SO_PIN_COUNT_LOW

#define CKF_SO_PIN_COUNT_LOW   (1UL << 20)

Definition at line 260 of file pkcs11.h.

◆ CKF_SO_PIN_FINAL_TRY

#define CKF_SO_PIN_FINAL_TRY   (1UL << 21)

Definition at line 261 of file pkcs11.h.

◆ CKF_SO_PIN_LOCKED

#define CKF_SO_PIN_LOCKED   (1UL << 22)

Definition at line 262 of file pkcs11.h.

◆ CKF_SO_PIN_TO_BE_CHANGED

#define CKF_SO_PIN_TO_BE_CHANGED   (1UL << 23)

Definition at line 263 of file pkcs11.h.

◆ CKF_TOKEN_INITIALIZED

#define CKF_TOKEN_INITIALIZED   (1UL << 10)

Definition at line 254 of file pkcs11.h.

◆ CKF_TOKEN_PRESENT

#define CKF_TOKEN_PRESENT   (1UL << 0)

Definition at line 220 of file pkcs11.h.

◆ CKF_UNWRAP

#define CKF_UNWRAP   (1UL << 18)

Definition at line 717 of file pkcs11.h.

◆ CKF_USER_PIN_COUNT_LOW

#define CKF_USER_PIN_COUNT_LOW   (1UL << 16)

Definition at line 256 of file pkcs11.h.

◆ CKF_USER_PIN_FINAL_TRY

#define CKF_USER_PIN_FINAL_TRY   (1UL << 17)

Definition at line 257 of file pkcs11.h.

◆ CKF_USER_PIN_INITIALIZED

#define CKF_USER_PIN_INITIALIZED   (1UL << 3)

Definition at line 249 of file pkcs11.h.

◆ CKF_USER_PIN_LOCKED

#define CKF_USER_PIN_LOCKED   (1UL << 18)

Definition at line 258 of file pkcs11.h.

◆ CKF_USER_PIN_TO_BE_CHANGED

#define CKF_USER_PIN_TO_BE_CHANGED   (1UL << 19)

Definition at line 259 of file pkcs11.h.

◆ CKF_VERIFY

#define CKF_VERIFY   (1UL << 13)

Definition at line 712 of file pkcs11.h.

◆ CKF_VERIFY_RECOVER

#define CKF_VERIFY_RECOVER   (1UL << 14)

Definition at line 713 of file pkcs11.h.

◆ CKF_WRAP

#define CKF_WRAP   (1UL << 17)

Definition at line 716 of file pkcs11.h.

◆ CKF_WRITE_PROTECTED

#define CKF_WRITE_PROTECTED   (1UL << 1)

Definition at line 247 of file pkcs11.h.

◆ CKG_MGF1_SHA1

#define CKG_MGF1_SHA1   0x00000001UL

Definition at line 744 of file pkcs11.h.

◆ CKG_MGF1_SHA224

#define CKG_MGF1_SHA224   0x00000005UL

Definition at line 745 of file pkcs11.h.

◆ CKG_MGF1_SHA256

#define CKG_MGF1_SHA256   0x00000002UL

Definition at line 746 of file pkcs11.h.

◆ CKG_MGF1_SHA384

#define CKG_MGF1_SHA384   0x00000003UL

Definition at line 747 of file pkcs11.h.

◆ CKG_MGF1_SHA512

#define CKG_MGF1_SHA512   0x00000004UL

Definition at line 748 of file pkcs11.h.

◆ CKH_CLOCK

#define CKH_CLOCK   (2UL)

Definition at line 313 of file pkcs11.h.

◆ CKH_MONOTONIC_COUNTER

#define CKH_MONOTONIC_COUNTER   (1UL)

Definition at line 312 of file pkcs11.h.

◆ CKH_USER_INTERFACE

#define CKH_USER_INTERFACE   (3UL)

Definition at line 314 of file pkcs11.h.

◆ CKH_VENDOR_DEFINED

#define CKH_VENDOR_DEFINED   (1UL << 31)

Definition at line 315 of file pkcs11.h.

◆ CKK_AES

#define CKK_AES   (0x1fUL)

Definition at line 341 of file pkcs11.h.

◆ CKK_BATON

#define CKK_BATON   (0x1cUL)

Definition at line 338 of file pkcs11.h.

◆ CKK_BLOWFISH

#define CKK_BLOWFISH   (0x20UL)

Definition at line 342 of file pkcs11.h.

◆ CKK_CAST

#define CKK_CAST   (0x16UL)

Definition at line 332 of file pkcs11.h.

◆ CKK_CAST128

#define CKK_CAST128   (0x18UL)

Definition at line 334 of file pkcs11.h.

◆ CKK_CAST3

#define CKK_CAST3   (0x17UL)

Definition at line 333 of file pkcs11.h.

◆ CKK_CDMF

#define CKK_CDMF   (0x1eUL)

Definition at line 340 of file pkcs11.h.

◆ CKK_DES

#define CKK_DES   (0x13UL)

Definition at line 329 of file pkcs11.h.

◆ CKK_DES2

#define CKK_DES2   (0x14UL)

Definition at line 330 of file pkcs11.h.

◆ CKK_DES3

#define CKK_DES3   (0x15UL)

Definition at line 331 of file pkcs11.h.

◆ CKK_DH

#define CKK_DH   (2UL)

Definition at line 321 of file pkcs11.h.

◆ CKK_DSA

#define CKK_DSA   (1UL)

Definition at line 320 of file pkcs11.h.

◆ CKK_EC

#define CKK_EC   (3UL)

Definition at line 323 of file pkcs11.h.

◆ CKK_ECDSA

#define CKK_ECDSA   (3UL)

Definition at line 322 of file pkcs11.h.

◆ CKK_GENERIC_SECRET

#define CKK_GENERIC_SECRET   (0x10UL)

Definition at line 326 of file pkcs11.h.

◆ CKK_GOST28147

#define CKK_GOST28147   (0x32UL)

Definition at line 351 of file pkcs11.h.

◆ CKK_GOSTR3410

#define CKK_GOSTR3410   (0x30UL)

Definition at line 349 of file pkcs11.h.

◆ CKK_GOSTR3411

#define CKK_GOSTR3411   (0x31UL)

Definition at line 350 of file pkcs11.h.

◆ CKK_IDEA

#define CKK_IDEA   (0x1aUL)

Definition at line 336 of file pkcs11.h.

◆ CKK_JUNIPER

#define CKK_JUNIPER   (0x1dUL)

Definition at line 339 of file pkcs11.h.

◆ CKK_KEA

#define CKK_KEA   (5UL)

Definition at line 325 of file pkcs11.h.

◆ CKK_RC2

#define CKK_RC2   (0x11UL)

Definition at line 327 of file pkcs11.h.

◆ CKK_RC4

#define CKK_RC4   (0x12UL)

Definition at line 328 of file pkcs11.h.

◆ CKK_RC5

#define CKK_RC5   (0x19UL)

Definition at line 335 of file pkcs11.h.

◆ CKK_RSA

#define CKK_RSA   (0UL)

Definition at line 319 of file pkcs11.h.

◆ CKK_SHA224_HMAC

#define CKK_SHA224_HMAC   (0x2eUL)

Definition at line 348 of file pkcs11.h.

◆ CKK_SHA256_HMAC

#define CKK_SHA256_HMAC   (0x2bUL)

Definition at line 345 of file pkcs11.h.

◆ CKK_SHA384_HMAC

#define CKK_SHA384_HMAC   (0x2cUL)

Definition at line 346 of file pkcs11.h.

◆ CKK_SHA512_HMAC

#define CKK_SHA512_HMAC   (0x2dUL)

Definition at line 347 of file pkcs11.h.

◆ CKK_SHA_1_HMAC

#define CKK_SHA_1_HMAC   (0x28UL)

Definition at line 344 of file pkcs11.h.

◆ CKK_SKIPJACK

#define CKK_SKIPJACK   (0x1bUL)

Definition at line 337 of file pkcs11.h.

◆ CKK_TWOFISH

#define CKK_TWOFISH   (0x21UL)

Definition at line 343 of file pkcs11.h.

◆ CKK_VENDOR_DEFINED

#define CKK_VENDOR_DEFINED   (1UL << 31)

Definition at line 352 of file pkcs11.h.

◆ CKK_X9_42_DH

#define CKK_X9_42_DH   (4UL)

Definition at line 324 of file pkcs11.h.

◆ CKM_AES_CBC

#define CKM_AES_CBC   (0x1082UL)

Definition at line 664 of file pkcs11.h.

◆ CKM_AES_CBC_PAD

#define CKM_AES_CBC_PAD   (0x1085UL)

Definition at line 667 of file pkcs11.h.

◆ CKM_AES_CCM

#define CKM_AES_CCM   (0x1088UL)

Definition at line 670 of file pkcs11.h.

◆ CKM_AES_CTR

#define CKM_AES_CTR   (0x1086UL)

Definition at line 668 of file pkcs11.h.

◆ CKM_AES_CTS

#define CKM_AES_CTS   (0x1089UL)

Definition at line 671 of file pkcs11.h.

◆ CKM_AES_ECB

#define CKM_AES_ECB   (0x1081UL)

Definition at line 663 of file pkcs11.h.

◆ CKM_AES_GCM

#define CKM_AES_GCM   (0x1087UL)

Definition at line 669 of file pkcs11.h.

◆ CKM_AES_KEY_GEN

#define CKM_AES_KEY_GEN   (0x1080UL)

Definition at line 662 of file pkcs11.h.

◆ CKM_AES_MAC

#define CKM_AES_MAC   (0x1083UL)

Definition at line 665 of file pkcs11.h.

◆ CKM_AES_MAC_GENERAL

#define CKM_AES_MAC_GENERAL   (0x1084UL)

Definition at line 666 of file pkcs11.h.

◆ CKM_BATON_CBC128

#define CKM_BATON_CBC128   (0x1033UL)

Definition at line 640 of file pkcs11.h.

◆ CKM_BATON_COUNTER

#define CKM_BATON_COUNTER   (0x1034UL)

Definition at line 641 of file pkcs11.h.

◆ CKM_BATON_ECB128

#define CKM_BATON_ECB128   (0x1031UL)

Definition at line 638 of file pkcs11.h.

◆ CKM_BATON_ECB96

#define CKM_BATON_ECB96   (0x1032UL)

Definition at line 639 of file pkcs11.h.

◆ CKM_BATON_KEY_GEN

#define CKM_BATON_KEY_GEN   (0x1030UL)

Definition at line 637 of file pkcs11.h.

◆ CKM_BATON_SHUFFLE

#define CKM_BATON_SHUFFLE   (0x1035UL)

Definition at line 642 of file pkcs11.h.

◆ CKM_BATON_WRAP

#define CKM_BATON_WRAP   (0x1036UL)

Definition at line 643 of file pkcs11.h.

◆ CKM_BLOWFISH_CBC

#define CKM_BLOWFISH_CBC   (0x1091UL)

Definition at line 673 of file pkcs11.h.

◆ CKM_BLOWFISH_KEY_GEN

#define CKM_BLOWFISH_KEY_GEN   (0x1090UL)

Definition at line 672 of file pkcs11.h.

◆ CKM_CAST128_CBC

#define CKM_CAST128_CBC   (0x322UL)

Definition at line 567 of file pkcs11.h.

◆ CKM_CAST128_CBC_PAD

#define CKM_CAST128_CBC_PAD   (0x325UL)

Definition at line 573 of file pkcs11.h.

◆ CKM_CAST128_ECB

#define CKM_CAST128_ECB   (0x321UL)

Definition at line 565 of file pkcs11.h.

◆ CKM_CAST128_KEY_GEN

#define CKM_CAST128_KEY_GEN   (0x320UL)

Definition at line 563 of file pkcs11.h.

◆ CKM_CAST128_MAC

#define CKM_CAST128_MAC   (0x323UL)

Definition at line 569 of file pkcs11.h.

◆ CKM_CAST128_MAC_GENERAL

#define CKM_CAST128_MAC_GENERAL   (0x324UL)

Definition at line 571 of file pkcs11.h.

◆ CKM_CAST3_CBC

#define CKM_CAST3_CBC   (0x312UL)

Definition at line 558 of file pkcs11.h.

◆ CKM_CAST3_CBC_PAD

#define CKM_CAST3_CBC_PAD   (0x315UL)

Definition at line 561 of file pkcs11.h.

◆ CKM_CAST3_ECB

#define CKM_CAST3_ECB   (0x311UL)

Definition at line 557 of file pkcs11.h.

◆ CKM_CAST3_KEY_GEN

#define CKM_CAST3_KEY_GEN   (0x310UL)

Definition at line 556 of file pkcs11.h.

◆ CKM_CAST3_MAC

#define CKM_CAST3_MAC   (0x313UL)

Definition at line 559 of file pkcs11.h.

◆ CKM_CAST3_MAC_GENERAL

#define CKM_CAST3_MAC_GENERAL   (0x314UL)

Definition at line 560 of file pkcs11.h.

◆ CKM_CAST5_CBC

#define CKM_CAST5_CBC   (0x322UL)

Definition at line 566 of file pkcs11.h.

◆ CKM_CAST5_CBC_PAD

#define CKM_CAST5_CBC_PAD   (0x325UL)

Definition at line 572 of file pkcs11.h.

◆ CKM_CAST5_ECB

#define CKM_CAST5_ECB   (0x321UL)

Definition at line 564 of file pkcs11.h.

◆ CKM_CAST5_KEY_GEN

#define CKM_CAST5_KEY_GEN   (0x320UL)

Definition at line 562 of file pkcs11.h.

◆ CKM_CAST5_MAC

#define CKM_CAST5_MAC   (0x323UL)

Definition at line 568 of file pkcs11.h.

◆ CKM_CAST5_MAC_GENERAL

#define CKM_CAST5_MAC_GENERAL   (0x324UL)

Definition at line 570 of file pkcs11.h.

◆ CKM_CAST_CBC

#define CKM_CAST_CBC   (0x302UL)

Definition at line 552 of file pkcs11.h.

◆ CKM_CAST_CBC_PAD

#define CKM_CAST_CBC_PAD   (0x305UL)

Definition at line 555 of file pkcs11.h.

◆ CKM_CAST_ECB

#define CKM_CAST_ECB   (0x301UL)

Definition at line 551 of file pkcs11.h.

◆ CKM_CAST_KEY_GEN

#define CKM_CAST_KEY_GEN   (0x300UL)

Definition at line 550 of file pkcs11.h.

◆ CKM_CAST_MAC

#define CKM_CAST_MAC   (0x303UL)

Definition at line 553 of file pkcs11.h.

◆ CKM_CAST_MAC_GENERAL

#define CKM_CAST_MAC_GENERAL   (0x304UL)

Definition at line 554 of file pkcs11.h.

◆ CKM_CDMF_CBC

#define CKM_CDMF_CBC   (0x142UL)

Definition at line 522 of file pkcs11.h.

◆ CKM_CDMF_CBC_PAD

#define CKM_CDMF_CBC_PAD   (0x145UL)

Definition at line 525 of file pkcs11.h.

◆ CKM_CDMF_ECB

#define CKM_CDMF_ECB   (0x141UL)

Definition at line 521 of file pkcs11.h.

◆ CKM_CDMF_KEY_GEN

#define CKM_CDMF_KEY_GEN   (0x140UL)

Definition at line 520 of file pkcs11.h.

◆ CKM_CDMF_MAC

#define CKM_CDMF_MAC   (0x143UL)

Definition at line 523 of file pkcs11.h.

◆ CKM_CDMF_MAC_GENERAL

#define CKM_CDMF_MAC_GENERAL   (0x144UL)

Definition at line 524 of file pkcs11.h.

◆ CKM_CONCATENATE_BASE_AND_DATA

#define CKM_CONCATENATE_BASE_AND_DATA   (0x362UL)

Definition at line 588 of file pkcs11.h.

◆ CKM_CONCATENATE_BASE_AND_KEY

#define CKM_CONCATENATE_BASE_AND_KEY   (0x360UL)

Definition at line 587 of file pkcs11.h.

◆ CKM_CONCATENATE_DATA_AND_BASE

#define CKM_CONCATENATE_DATA_AND_BASE   (0x363UL)

Definition at line 589 of file pkcs11.h.

◆ CKM_DES2_KEY_GEN

#define CKM_DES2_KEY_GEN   (0x130UL)

Definition at line 513 of file pkcs11.h.

◆ CKM_DES3_CBC

#define CKM_DES3_CBC   (0x133UL)

Definition at line 516 of file pkcs11.h.

◆ CKM_DES3_CBC_PAD

#define CKM_DES3_CBC_PAD   (0x136UL)

Definition at line 519 of file pkcs11.h.

◆ CKM_DES3_ECB

#define CKM_DES3_ECB   (0x132UL)

Definition at line 515 of file pkcs11.h.

◆ CKM_DES3_KEY_GEN

#define CKM_DES3_KEY_GEN   (0x131UL)

Definition at line 514 of file pkcs11.h.

◆ CKM_DES3_MAC

#define CKM_DES3_MAC   (0x134UL)

Definition at line 517 of file pkcs11.h.

◆ CKM_DES3_MAC_GENERAL

#define CKM_DES3_MAC_GENERAL   (0x135UL)

Definition at line 518 of file pkcs11.h.

◆ CKM_DES_CBC

#define CKM_DES_CBC   (0x122UL)

Definition at line 509 of file pkcs11.h.

◆ CKM_DES_CBC_PAD

#define CKM_DES_CBC_PAD   (0x125UL)

Definition at line 512 of file pkcs11.h.

◆ CKM_DES_ECB

#define CKM_DES_ECB   (0x121UL)

Definition at line 508 of file pkcs11.h.

◆ CKM_DES_KEY_GEN

#define CKM_DES_KEY_GEN   (0x120UL)

Definition at line 507 of file pkcs11.h.

◆ CKM_DES_MAC

#define CKM_DES_MAC   (0x123UL)

Definition at line 510 of file pkcs11.h.

◆ CKM_DES_MAC_GENERAL

#define CKM_DES_MAC_GENERAL   (0x124UL)

Definition at line 511 of file pkcs11.h.

◆ CKM_DH_PKCS_DERIVE

#define CKM_DH_PKCS_DERIVE   (0x21UL)

Definition at line 488 of file pkcs11.h.

◆ CKM_DH_PKCS_KEY_PAIR_GEN

#define CKM_DH_PKCS_KEY_PAIR_GEN   (0x20UL)

Definition at line 487 of file pkcs11.h.

◆ CKM_DH_PKCS_PARAMETER_GEN

#define CKM_DH_PKCS_PARAMETER_GEN   (0x2001UL)

Definition at line 690 of file pkcs11.h.

◆ CKM_DSA

#define CKM_DSA   (0x11UL)

Definition at line 485 of file pkcs11.h.

◆ CKM_DSA_KEY_PAIR_GEN

#define CKM_DSA_KEY_PAIR_GEN   (0x10UL)

Definition at line 484 of file pkcs11.h.

◆ CKM_DSA_PARAMETER_GEN

#define CKM_DSA_PARAMETER_GEN   (0x2000UL)

Definition at line 689 of file pkcs11.h.

◆ CKM_DSA_SHA1

#define CKM_DSA_SHA1   (0x12UL)

Definition at line 486 of file pkcs11.h.

◆ CKM_EC_KEY_PAIR_GEN

#define CKM_EC_KEY_PAIR_GEN   (0x1040UL)

Definition at line 645 of file pkcs11.h.

◆ CKM_ECDH1_COFACTOR_DERIVE

#define CKM_ECDH1_COFACTOR_DERIVE   (0x1051UL)

Definition at line 653 of file pkcs11.h.

◆ CKM_ECDH1_DERIVE

#define CKM_ECDH1_DERIVE   (0x1050UL)

Definition at line 652 of file pkcs11.h.

◆ CKM_ECDSA

#define CKM_ECDSA   (0x1041UL)

Definition at line 646 of file pkcs11.h.

◆ CKM_ECDSA_KEY_PAIR_GEN

#define CKM_ECDSA_KEY_PAIR_GEN   (0x1040UL)

Definition at line 644 of file pkcs11.h.

◆ CKM_ECDSA_SHA1

#define CKM_ECDSA_SHA1   (0x1042UL)

Definition at line 647 of file pkcs11.h.

◆ CKM_ECDSA_SHA224

#define CKM_ECDSA_SHA224   (0x1043UL)

Definition at line 648 of file pkcs11.h.

◆ CKM_ECDSA_SHA256

#define CKM_ECDSA_SHA256   (0x1044UL)

Definition at line 649 of file pkcs11.h.

◆ CKM_ECDSA_SHA384

#define CKM_ECDSA_SHA384   (0x1045UL)

Definition at line 650 of file pkcs11.h.

◆ CKM_ECDSA_SHA512

#define CKM_ECDSA_SHA512   (0x1046UL)

Definition at line 651 of file pkcs11.h.

◆ CKM_ECMQV_DERIVE

#define CKM_ECMQV_DERIVE   (0x1052UL)

Definition at line 654 of file pkcs11.h.

◆ CKM_EXTRACT_KEY_FROM_KEY

#define CKM_EXTRACT_KEY_FROM_KEY   (0x365UL)

Definition at line 591 of file pkcs11.h.

◆ CKM_FASTHASH

#define CKM_FASTHASH   (0x1070UL)

Definition at line 661 of file pkcs11.h.

◆ CKM_FORTEZZA_TIMESTAMP

#define CKM_FORTEZZA_TIMESTAMP   (0x1020UL)

Definition at line 636 of file pkcs11.h.

◆ CKM_GENERIC_SECRET_KEY_GEN

#define CKM_GENERIC_SECRET_KEY_GEN   (0x350UL)

Definition at line 586 of file pkcs11.h.

◆ CKM_GOST28147

#define CKM_GOST28147   (0x1222UL)

Definition at line 685 of file pkcs11.h.

◆ CKM_GOST28147_ECB

#define CKM_GOST28147_ECB   (0x1221UL)

Definition at line 684 of file pkcs11.h.

◆ CKM_GOST28147_KEY_GEN

#define CKM_GOST28147_KEY_GEN   (0x1220UL)

Definition at line 683 of file pkcs11.h.

◆ CKM_GOST28147_KEY_WRAP

#define CKM_GOST28147_KEY_WRAP   (0x1224UL)

Definition at line 687 of file pkcs11.h.

◆ CKM_GOST28147_MAC

#define CKM_GOST28147_MAC   (0x1223UL)

Definition at line 686 of file pkcs11.h.

◆ CKM_GOSTR3410

#define CKM_GOSTR3410   (0x1201UL)

Definition at line 677 of file pkcs11.h.

◆ CKM_GOSTR3410_DERIVE

#define CKM_GOSTR3410_DERIVE   (0x1204UL)

Definition at line 680 of file pkcs11.h.

◆ CKM_GOSTR3410_KEY_PAIR_GEN

#define CKM_GOSTR3410_KEY_PAIR_GEN   (0x1200UL)

Definition at line 676 of file pkcs11.h.

◆ CKM_GOSTR3410_KEY_WRAP

#define CKM_GOSTR3410_KEY_WRAP   (0x1203UL)

Definition at line 679 of file pkcs11.h.

◆ CKM_GOSTR3410_WITH_GOSTR3411

#define CKM_GOSTR3410_WITH_GOSTR3411   (0x1202UL)

Definition at line 678 of file pkcs11.h.

◆ CKM_GOSTR3411

#define CKM_GOSTR3411   (0x1210UL)

Definition at line 681 of file pkcs11.h.

◆ CKM_GOSTR3411_HMAC

#define CKM_GOSTR3411_HMAC   (0x1211UL)

Definition at line 682 of file pkcs11.h.

◆ CKM_IDEA_CBC

#define CKM_IDEA_CBC   (0x342UL)

Definition at line 582 of file pkcs11.h.

◆ CKM_IDEA_CBC_PAD

#define CKM_IDEA_CBC_PAD   (0x345UL)

Definition at line 585 of file pkcs11.h.

◆ CKM_IDEA_ECB

#define CKM_IDEA_ECB   (0x341UL)

Definition at line 581 of file pkcs11.h.

◆ CKM_IDEA_KEY_GEN

#define CKM_IDEA_KEY_GEN   (0x340UL)

Definition at line 580 of file pkcs11.h.

◆ CKM_IDEA_MAC

#define CKM_IDEA_MAC   (0x343UL)

Definition at line 583 of file pkcs11.h.

◆ CKM_IDEA_MAC_GENERAL

#define CKM_IDEA_MAC_GENERAL   (0x344UL)

Definition at line 584 of file pkcs11.h.

◆ CKM_JUNIPER_CBC128

#define CKM_JUNIPER_CBC128   (0x1062UL)

Definition at line 657 of file pkcs11.h.

◆ CKM_JUNIPER_COUNTER

#define CKM_JUNIPER_COUNTER   (0x1063UL)

Definition at line 658 of file pkcs11.h.

◆ CKM_JUNIPER_ECB128

#define CKM_JUNIPER_ECB128   (0x1061UL)

Definition at line 656 of file pkcs11.h.

◆ CKM_JUNIPER_KEY_GEN

#define CKM_JUNIPER_KEY_GEN   (0x1060UL)

Definition at line 655 of file pkcs11.h.

◆ CKM_JUNIPER_SHUFFLE

#define CKM_JUNIPER_SHUFFLE   (0x1064UL)

Definition at line 659 of file pkcs11.h.

◆ CKM_JUNIPER_WRAP

#define CKM_JUNIPER_WRAP   (0x1065UL)

Definition at line 660 of file pkcs11.h.

◆ CKM_KEA_KEY_DERIVE

#define CKM_KEA_KEY_DERIVE   (0x1011UL)

Definition at line 635 of file pkcs11.h.

◆ CKM_KEA_KEY_PAIR_GEN

#define CKM_KEA_KEY_PAIR_GEN   (0x1010UL)

Definition at line 634 of file pkcs11.h.

◆ CKM_KEY_WRAP_LYNKS

#define CKM_KEY_WRAP_LYNKS   (0x400UL)

Definition at line 621 of file pkcs11.h.

◆ CKM_KEY_WRAP_SET_OAEP

#define CKM_KEY_WRAP_SET_OAEP   (0x401UL)

Definition at line 622 of file pkcs11.h.

◆ CKM_MD2

#define CKM_MD2   (0x200UL)

Definition at line 526 of file pkcs11.h.

◆ CKM_MD2_HMAC

#define CKM_MD2_HMAC   (0x201UL)

Definition at line 527 of file pkcs11.h.

◆ CKM_MD2_HMAC_GENERAL

#define CKM_MD2_HMAC_GENERAL   (0x202UL)

Definition at line 528 of file pkcs11.h.

◆ CKM_MD2_KEY_DERIVATION

#define CKM_MD2_KEY_DERIVATION   (0x391UL)

Definition at line 603 of file pkcs11.h.

◆ CKM_MD2_RSA_PKCS

#define CKM_MD2_RSA_PKCS   (4UL)

Definition at line 473 of file pkcs11.h.

◆ CKM_MD5

#define CKM_MD5   (0x210UL)

Definition at line 529 of file pkcs11.h.

◆ CKM_MD5_HMAC

#define CKM_MD5_HMAC   (0x211UL)

Definition at line 530 of file pkcs11.h.

◆ CKM_MD5_HMAC_GENERAL

#define CKM_MD5_HMAC_GENERAL   (0x212UL)

Definition at line 531 of file pkcs11.h.

◆ CKM_MD5_KEY_DERIVATION

#define CKM_MD5_KEY_DERIVATION   (0x390UL)

Definition at line 602 of file pkcs11.h.

◆ CKM_MD5_RSA_PKCS

#define CKM_MD5_RSA_PKCS   (5UL)

Definition at line 474 of file pkcs11.h.

◆ CKM_PBA_SHA1_WITH_SHA1_HMAC

#define CKM_PBA_SHA1_WITH_SHA1_HMAC   (0x3c0UL)

Definition at line 620 of file pkcs11.h.

◆ CKM_PBE_MD2_DES_CBC

#define CKM_PBE_MD2_DES_CBC   (0x3a0UL)

Definition at line 605 of file pkcs11.h.

◆ CKM_PBE_MD5_CAST128_CBC

#define CKM_PBE_MD5_CAST128_CBC   (0x3a4UL)

Definition at line 610 of file pkcs11.h.

◆ CKM_PBE_MD5_CAST3_CBC

#define CKM_PBE_MD5_CAST3_CBC   (0x3a3UL)

Definition at line 608 of file pkcs11.h.

◆ CKM_PBE_MD5_CAST5_CBC

#define CKM_PBE_MD5_CAST5_CBC   (0x3a4UL)

Definition at line 609 of file pkcs11.h.

◆ CKM_PBE_MD5_CAST_CBC

#define CKM_PBE_MD5_CAST_CBC   (0x3a2UL)

Definition at line 607 of file pkcs11.h.

◆ CKM_PBE_MD5_DES_CBC

#define CKM_PBE_MD5_DES_CBC   (0x3a1UL)

Definition at line 606 of file pkcs11.h.

◆ CKM_PBE_SHA1_CAST128_CBC

#define CKM_PBE_SHA1_CAST128_CBC   (0x3a5UL)

Definition at line 612 of file pkcs11.h.

◆ CKM_PBE_SHA1_CAST5_CBC

#define CKM_PBE_SHA1_CAST5_CBC   (0x3a5UL)

Definition at line 611 of file pkcs11.h.

◆ CKM_PBE_SHA1_DES2_EDE_CBC

#define CKM_PBE_SHA1_DES2_EDE_CBC   (0x3a9UL)

Definition at line 616 of file pkcs11.h.

◆ CKM_PBE_SHA1_DES3_EDE_CBC

#define CKM_PBE_SHA1_DES3_EDE_CBC   (0x3a8UL)

Definition at line 615 of file pkcs11.h.

◆ CKM_PBE_SHA1_RC2_128_CBC

#define CKM_PBE_SHA1_RC2_128_CBC   (0x3aaUL)

Definition at line 617 of file pkcs11.h.

◆ CKM_PBE_SHA1_RC2_40_CBC

#define CKM_PBE_SHA1_RC2_40_CBC   (0x3abUL)

Definition at line 618 of file pkcs11.h.

◆ CKM_PBE_SHA1_RC4_128

#define CKM_PBE_SHA1_RC4_128   (0x3a6UL)

Definition at line 613 of file pkcs11.h.

◆ CKM_PBE_SHA1_RC4_40

#define CKM_PBE_SHA1_RC4_40   (0x3a7UL)

Definition at line 614 of file pkcs11.h.

◆ CKM_PKCS5_PBKD2

#define CKM_PKCS5_PBKD2   (0x3b0UL)

Definition at line 619 of file pkcs11.h.

◆ CKM_RC2_CBC

#define CKM_RC2_CBC   (0x102UL)

Definition at line 501 of file pkcs11.h.

◆ CKM_RC2_CBC_PAD

#define CKM_RC2_CBC_PAD   (0x105UL)

Definition at line 504 of file pkcs11.h.

◆ CKM_RC2_ECB

#define CKM_RC2_ECB   (0x101UL)

Definition at line 500 of file pkcs11.h.

◆ CKM_RC2_KEY_GEN

#define CKM_RC2_KEY_GEN   (0x100UL)

Definition at line 499 of file pkcs11.h.

◆ CKM_RC2_MAC

#define CKM_RC2_MAC   (0x103UL)

Definition at line 502 of file pkcs11.h.

◆ CKM_RC2_MAC_GENERAL

#define CKM_RC2_MAC_GENERAL   (0x104UL)

Definition at line 503 of file pkcs11.h.

◆ CKM_RC4

#define CKM_RC4   (0x111UL)

Definition at line 506 of file pkcs11.h.

◆ CKM_RC4_KEY_GEN

#define CKM_RC4_KEY_GEN   (0x110UL)

Definition at line 505 of file pkcs11.h.

◆ CKM_RC5_CBC

#define CKM_RC5_CBC   (0x332UL)

Definition at line 576 of file pkcs11.h.

◆ CKM_RC5_CBC_PAD

#define CKM_RC5_CBC_PAD   (0x335UL)

Definition at line 579 of file pkcs11.h.

◆ CKM_RC5_ECB

#define CKM_RC5_ECB   (0x331UL)

Definition at line 575 of file pkcs11.h.

◆ CKM_RC5_KEY_GEN

#define CKM_RC5_KEY_GEN   (0x330UL)

Definition at line 574 of file pkcs11.h.

◆ CKM_RC5_MAC

#define CKM_RC5_MAC   (0x333UL)

Definition at line 577 of file pkcs11.h.

◆ CKM_RC5_MAC_GENERAL

#define CKM_RC5_MAC_GENERAL   (0x334UL)

Definition at line 578 of file pkcs11.h.

◆ CKM_RIPEMD128

#define CKM_RIPEMD128   (0x230UL)

Definition at line 535 of file pkcs11.h.

◆ CKM_RIPEMD128_HMAC

#define CKM_RIPEMD128_HMAC   (0x231UL)

Definition at line 536 of file pkcs11.h.

◆ CKM_RIPEMD128_HMAC_GENERAL

#define CKM_RIPEMD128_HMAC_GENERAL   (0x232UL)

Definition at line 537 of file pkcs11.h.

◆ CKM_RIPEMD128_RSA_PKCS

#define CKM_RIPEMD128_RSA_PKCS   (7UL)

Definition at line 476 of file pkcs11.h.

◆ CKM_RIPEMD160

#define CKM_RIPEMD160   (0x240UL)

Definition at line 538 of file pkcs11.h.

◆ CKM_RIPEMD160_HMAC

#define CKM_RIPEMD160_HMAC   (0x241UL)

Definition at line 539 of file pkcs11.h.

◆ CKM_RIPEMD160_HMAC_GENERAL

#define CKM_RIPEMD160_HMAC_GENERAL   (0x242UL)

Definition at line 540 of file pkcs11.h.

◆ CKM_RIPEMD160_RSA_PKCS

#define CKM_RIPEMD160_RSA_PKCS   (8UL)

Definition at line 477 of file pkcs11.h.

◆ CKM_RSA_9796

#define CKM_RSA_9796   (2UL)

Definition at line 471 of file pkcs11.h.

◆ CKM_RSA_PKCS

#define CKM_RSA_PKCS   (1UL)

Definition at line 470 of file pkcs11.h.

◆ CKM_RSA_PKCS_KEY_PAIR_GEN

#define CKM_RSA_PKCS_KEY_PAIR_GEN   (0UL)

Definition at line 469 of file pkcs11.h.

◆ CKM_RSA_PKCS_OAEP

#define CKM_RSA_PKCS_OAEP   (9UL)

Definition at line 478 of file pkcs11.h.

◆ CKM_RSA_PKCS_PSS

#define CKM_RSA_PKCS_PSS   (0xdUL)

Definition at line 482 of file pkcs11.h.

◆ CKM_RSA_X9_31

#define CKM_RSA_X9_31   (0xbUL)

Definition at line 480 of file pkcs11.h.

◆ CKM_RSA_X9_31_KEY_PAIR_GEN

#define CKM_RSA_X9_31_KEY_PAIR_GEN   (0xaUL)

Definition at line 479 of file pkcs11.h.

◆ CKM_RSA_X_509

#define CKM_RSA_X_509   (3UL)

Definition at line 472 of file pkcs11.h.

◆ CKM_SHA1_KEY_DERIVATION

#define CKM_SHA1_KEY_DERIVATION   (0x392UL)

Definition at line 604 of file pkcs11.h.

◆ CKM_SHA1_RSA_PKCS

#define CKM_SHA1_RSA_PKCS   (6UL)

Definition at line 475 of file pkcs11.h.

◆ CKM_SHA1_RSA_PKCS_PSS

#define CKM_SHA1_RSA_PKCS_PSS   (0xeUL)

Definition at line 483 of file pkcs11.h.

◆ CKM_SHA1_RSA_X9_31

#define CKM_SHA1_RSA_X9_31   (0xcUL)

Definition at line 481 of file pkcs11.h.

◆ CKM_SHA256

#define CKM_SHA256   (0x250UL)

Definition at line 541 of file pkcs11.h.

◆ CKM_SHA256_HMAC

#define CKM_SHA256_HMAC   (0x251UL)

Definition at line 542 of file pkcs11.h.

◆ CKM_SHA256_HMAC_GENERAL

#define CKM_SHA256_HMAC_GENERAL   (0x252UL)

Definition at line 543 of file pkcs11.h.

◆ CKM_SHA256_RSA_PKCS

#define CKM_SHA256_RSA_PKCS   (0x40UL)

Definition at line 493 of file pkcs11.h.

◆ CKM_SHA256_RSA_PKCS_PSS

#define CKM_SHA256_RSA_PKCS_PSS   (0x43UL)

Definition at line 496 of file pkcs11.h.

◆ CKM_SHA384

#define CKM_SHA384   (0x260UL)

Definition at line 544 of file pkcs11.h.

◆ CKM_SHA384_HMAC

#define CKM_SHA384_HMAC   (0x261UL)

Definition at line 545 of file pkcs11.h.

◆ CKM_SHA384_HMAC_GENERAL

#define CKM_SHA384_HMAC_GENERAL   (0x262UL)

Definition at line 546 of file pkcs11.h.

◆ CKM_SHA384_RSA_PKCS

#define CKM_SHA384_RSA_PKCS   (0x41UL)

Definition at line 494 of file pkcs11.h.

◆ CKM_SHA384_RSA_PKCS_PSS

#define CKM_SHA384_RSA_PKCS_PSS   (0x44UL)

Definition at line 497 of file pkcs11.h.

◆ CKM_SHA512

#define CKM_SHA512   (0x270UL)

Definition at line 547 of file pkcs11.h.

◆ CKM_SHA512_HMAC

#define CKM_SHA512_HMAC   (0x271UL)

Definition at line 548 of file pkcs11.h.

◆ CKM_SHA512_HMAC_GENERAL

#define CKM_SHA512_HMAC_GENERAL   (0x272UL)

Definition at line 549 of file pkcs11.h.

◆ CKM_SHA512_RSA_PKCS

#define CKM_SHA512_RSA_PKCS   (0x42UL)

Definition at line 495 of file pkcs11.h.

◆ CKM_SHA512_RSA_PKCS_PSS

#define CKM_SHA512_RSA_PKCS_PSS   (0x45UL)

Definition at line 498 of file pkcs11.h.

◆ CKM_SHA_1

#define CKM_SHA_1   (0x220UL)

Definition at line 532 of file pkcs11.h.

◆ CKM_SHA_1_HMAC

#define CKM_SHA_1_HMAC   (0x221UL)

Definition at line 533 of file pkcs11.h.

◆ CKM_SHA_1_HMAC_GENERAL

#define CKM_SHA_1_HMAC_GENERAL   (0x222UL)

Definition at line 534 of file pkcs11.h.

◆ CKM_SKIPJACK_CBC64

#define CKM_SKIPJACK_CBC64   (0x1002UL)

Definition at line 625 of file pkcs11.h.

◆ CKM_SKIPJACK_CFB16

#define CKM_SKIPJACK_CFB16   (0x1006UL)

Definition at line 629 of file pkcs11.h.

◆ CKM_SKIPJACK_CFB32

#define CKM_SKIPJACK_CFB32   (0x1005UL)

Definition at line 628 of file pkcs11.h.

◆ CKM_SKIPJACK_CFB64

#define CKM_SKIPJACK_CFB64   (0x1004UL)

Definition at line 627 of file pkcs11.h.

◆ CKM_SKIPJACK_CFB8

#define CKM_SKIPJACK_CFB8   (0x1007UL)

Definition at line 630 of file pkcs11.h.

◆ CKM_SKIPJACK_ECB64

#define CKM_SKIPJACK_ECB64   (0x1001UL)

Definition at line 624 of file pkcs11.h.

◆ CKM_SKIPJACK_KEY_GEN

#define CKM_SKIPJACK_KEY_GEN   (0x1000UL)

Definition at line 623 of file pkcs11.h.

◆ CKM_SKIPJACK_OFB64

#define CKM_SKIPJACK_OFB64   (0x1003UL)

Definition at line 626 of file pkcs11.h.

◆ CKM_SKIPJACK_PRIVATE_WRAP

#define CKM_SKIPJACK_PRIVATE_WRAP   (0x1009UL)

Definition at line 632 of file pkcs11.h.

◆ CKM_SKIPJACK_RELAYX

#define CKM_SKIPJACK_RELAYX   (0x100aUL)

Definition at line 633 of file pkcs11.h.

◆ CKM_SKIPJACK_WRAP

#define CKM_SKIPJACK_WRAP   (0x1008UL)

Definition at line 631 of file pkcs11.h.

◆ CKM_SSL3_KEY_AND_MAC_DERIVE

#define CKM_SSL3_KEY_AND_MAC_DERIVE   (0x372UL)

Definition at line 594 of file pkcs11.h.

◆ CKM_SSL3_MASTER_KEY_DERIVE

#define CKM_SSL3_MASTER_KEY_DERIVE   (0x371UL)

Definition at line 593 of file pkcs11.h.

◆ CKM_SSL3_MASTER_KEY_DERIVE_DH

#define CKM_SSL3_MASTER_KEY_DERIVE_DH   (0x373UL)

Definition at line 595 of file pkcs11.h.

◆ CKM_SSL3_MD5_MAC

#define CKM_SSL3_MD5_MAC   (0x380UL)

Definition at line 600 of file pkcs11.h.

◆ CKM_SSL3_PRE_MASTER_KEY_GEN

#define CKM_SSL3_PRE_MASTER_KEY_GEN   (0x370UL)

Definition at line 592 of file pkcs11.h.

◆ CKM_SSL3_SHA1_MAC

#define CKM_SSL3_SHA1_MAC   (0x381UL)

Definition at line 601 of file pkcs11.h.

◆ CKM_TLS_KEY_AND_MAC_DERIVE

#define CKM_TLS_KEY_AND_MAC_DERIVE   (0x376UL)

Definition at line 598 of file pkcs11.h.

◆ CKM_TLS_MASTER_KEY_DERIVE

#define CKM_TLS_MASTER_KEY_DERIVE   (0x375UL)

Definition at line 597 of file pkcs11.h.

◆ CKM_TLS_MASTER_KEY_DERIVE_DH

#define CKM_TLS_MASTER_KEY_DERIVE_DH   (0x377UL)

Definition at line 599 of file pkcs11.h.

◆ CKM_TLS_PRE_MASTER_KEY_GEN

#define CKM_TLS_PRE_MASTER_KEY_GEN   (0x374UL)

Definition at line 596 of file pkcs11.h.

◆ CKM_TWOFISH_CBC

#define CKM_TWOFISH_CBC   (0x1093UL)

Definition at line 675 of file pkcs11.h.

◆ CKM_TWOFISH_KEY_GEN

#define CKM_TWOFISH_KEY_GEN   (0x1092UL)

Definition at line 674 of file pkcs11.h.

◆ CKM_VENDOR_DEFINED

#define CKM_VENDOR_DEFINED   (1UL << 31)

Definition at line 692 of file pkcs11.h.

◆ CKM_X9_42_DH_DERIVE

#define CKM_X9_42_DH_DERIVE   (0x31UL)

Definition at line 490 of file pkcs11.h.

◆ CKM_X9_42_DH_HYBRID_DERIVE

#define CKM_X9_42_DH_HYBRID_DERIVE   (0x32UL)

Definition at line 491 of file pkcs11.h.

◆ CKM_X9_42_DH_KEY_PAIR_GEN

#define CKM_X9_42_DH_KEY_PAIR_GEN   (0x30UL)

Definition at line 489 of file pkcs11.h.

◆ CKM_X9_42_DH_PARAMETER_GEN

#define CKM_X9_42_DH_PARAMETER_GEN   (0x2002UL)

Definition at line 691 of file pkcs11.h.

◆ CKM_X9_42_MQV_DERIVE

#define CKM_X9_42_MQV_DERIVE   (0x33UL)

Definition at line 492 of file pkcs11.h.

◆ CKM_XOR_BASE_AND_DATA

#define CKM_XOR_BASE_AND_DATA   (0x364UL)

Definition at line 590 of file pkcs11.h.

◆ CKN_SURRENDER

#define CKN_SURRENDER   (0UL)

Definition at line 208 of file pkcs11.h.

◆ CKO_CERTIFICATE

#define CKO_CERTIFICATE   (1UL)

Definition at line 301 of file pkcs11.h.

◆ CKO_DATA

#define CKO_DATA   (0UL)

Definition at line 300 of file pkcs11.h.

◆ CKO_DOMAIN_PARAMETERS

#define CKO_DOMAIN_PARAMETERS   (6UL)

Definition at line 306 of file pkcs11.h.

◆ CKO_HW_FEATURE

#define CKO_HW_FEATURE   (5UL)

Definition at line 305 of file pkcs11.h.

◆ CKO_MECHANISM

#define CKO_MECHANISM   (7UL)

Definition at line 307 of file pkcs11.h.

◆ CKO_PRIVATE_KEY

#define CKO_PRIVATE_KEY   (3UL)

Definition at line 303 of file pkcs11.h.

◆ CKO_PUBLIC_KEY

#define CKO_PUBLIC_KEY   (2UL)

Definition at line 302 of file pkcs11.h.

◆ CKO_SECRET_KEY

#define CKO_SECRET_KEY   (4UL)

Definition at line 304 of file pkcs11.h.

◆ CKO_VENDOR_DEFINED

#define CKO_VENDOR_DEFINED   (1UL << 31)

Definition at line 308 of file pkcs11.h.

◆ CKR_ARGUMENTS_BAD

#define CKR_ARGUMENTS_BAD   (7UL)

Definition at line 1098 of file pkcs11.h.

◆ CKR_ATTRIBUTE_READ_ONLY

#define CKR_ATTRIBUTE_READ_ONLY   (0x10UL)

Definition at line 1102 of file pkcs11.h.

◆ CKR_ATTRIBUTE_SENSITIVE

#define CKR_ATTRIBUTE_SENSITIVE   (0x11UL)

Definition at line 1103 of file pkcs11.h.

◆ CKR_ATTRIBUTE_TYPE_INVALID

#define CKR_ATTRIBUTE_TYPE_INVALID   (0x12UL)

Definition at line 1104 of file pkcs11.h.

◆ CKR_ATTRIBUTE_VALUE_INVALID

#define CKR_ATTRIBUTE_VALUE_INVALID   (0x13UL)

Definition at line 1105 of file pkcs11.h.

◆ CKR_BUFFER_TOO_SMALL

#define CKR_BUFFER_TOO_SMALL   (0x150UL)

Definition at line 1169 of file pkcs11.h.

◆ CKR_CANCEL

#define CKR_CANCEL   (1UL)

Definition at line 1093 of file pkcs11.h.

◆ CKR_CANT_LOCK

#define CKR_CANT_LOCK   (0xaUL)

Definition at line 1101 of file pkcs11.h.

◆ CKR_CRYPTOKI_ALREADY_INITIALIZED

#define CKR_CRYPTOKI_ALREADY_INITIALIZED   (0x191UL)

Definition at line 1174 of file pkcs11.h.

◆ CKR_CRYPTOKI_NOT_INITIALIZED

#define CKR_CRYPTOKI_NOT_INITIALIZED   (0x190UL)

Definition at line 1173 of file pkcs11.h.

◆ CKR_CURVE_NOT_SUPPORTED

#define CKR_CURVE_NOT_SUPPORTED   (0x140UL)

Definition at line 1168 of file pkcs11.h.

◆ CKR_DATA_INVALID

#define CKR_DATA_INVALID   (0x20UL)

Definition at line 1106 of file pkcs11.h.

◆ CKR_DATA_LEN_RANGE

#define CKR_DATA_LEN_RANGE   (0x21UL)

Definition at line 1107 of file pkcs11.h.

◆ CKR_DEVICE_ERROR

#define CKR_DEVICE_ERROR   (0x30UL)

Definition at line 1108 of file pkcs11.h.

◆ CKR_DEVICE_MEMORY

#define CKR_DEVICE_MEMORY   (0x31UL)

Definition at line 1109 of file pkcs11.h.

◆ CKR_DEVICE_REMOVED

#define CKR_DEVICE_REMOVED   (0x32UL)

Definition at line 1110 of file pkcs11.h.

◆ CKR_DOMAIN_PARAMS_INVALID

#define CKR_DOMAIN_PARAMS_INVALID   (0x130UL)

Definition at line 1167 of file pkcs11.h.

◆ CKR_ENCRYPTED_DATA_INVALID

#define CKR_ENCRYPTED_DATA_INVALID   (0x40UL)

Definition at line 1111 of file pkcs11.h.

◆ CKR_ENCRYPTED_DATA_LEN_RANGE

#define CKR_ENCRYPTED_DATA_LEN_RANGE   (0x41UL)

Definition at line 1112 of file pkcs11.h.

◆ CKR_FUNCTION_CANCELED

#define CKR_FUNCTION_CANCELED   (0x50UL)

Definition at line 1113 of file pkcs11.h.

◆ CKR_FUNCTION_FAILED

#define CKR_FUNCTION_FAILED   (6UL)

Definition at line 1097 of file pkcs11.h.

◆ CKR_FUNCTION_NOT_PARALLEL

#define CKR_FUNCTION_NOT_PARALLEL   (0x51UL)

Definition at line 1114 of file pkcs11.h.

◆ CKR_FUNCTION_NOT_SUPPORTED

return CKR_FUNCTION_NOT_SUPPORTED   (0x54UL)

Definition at line 1115 of file pkcs11.h.

◆ CKR_FUNCTION_REJECTED

#define CKR_FUNCTION_REJECTED   (0x200UL)

Definition at line 1177 of file pkcs11.h.

◆ CKR_GENERAL_ERROR

#define CKR_GENERAL_ERROR   (5UL)

Definition at line 1096 of file pkcs11.h.

◆ CKR_HOST_MEMORY

#define CKR_HOST_MEMORY   (2UL)

Definition at line 1094 of file pkcs11.h.

◆ CKR_INFORMATION_SENSITIVE

#define CKR_INFORMATION_SENSITIVE   (0x170UL)

Definition at line 1171 of file pkcs11.h.

◆ CKR_KEY_CHANGED

#define CKR_KEY_CHANGED   (0x65UL)

Definition at line 1120 of file pkcs11.h.

◆ CKR_KEY_FUNCTION_NOT_PERMITTED

#define CKR_KEY_FUNCTION_NOT_PERMITTED   (0x68UL)

Definition at line 1123 of file pkcs11.h.

◆ CKR_KEY_HANDLE_INVALID

#define CKR_KEY_HANDLE_INVALID   (0x60UL)

Definition at line 1116 of file pkcs11.h.

◆ CKR_KEY_INDIGESTIBLE

#define CKR_KEY_INDIGESTIBLE   (0x67UL)

Definition at line 1122 of file pkcs11.h.

◆ CKR_KEY_NEEDED

#define CKR_KEY_NEEDED   (0x66UL)

Definition at line 1121 of file pkcs11.h.

◆ CKR_KEY_NOT_NEEDED

#define CKR_KEY_NOT_NEEDED   (0x64UL)

Definition at line 1119 of file pkcs11.h.

◆ CKR_KEY_NOT_WRAPPABLE

#define CKR_KEY_NOT_WRAPPABLE   (0x69UL)

Definition at line 1124 of file pkcs11.h.

◆ CKR_KEY_SIZE_RANGE

#define CKR_KEY_SIZE_RANGE   (0x62UL)

Definition at line 1117 of file pkcs11.h.

◆ CKR_KEY_TYPE_INCONSISTENT

#define CKR_KEY_TYPE_INCONSISTENT   (0x63UL)

Definition at line 1118 of file pkcs11.h.

◆ CKR_KEY_UNEXTRACTABLE

#define CKR_KEY_UNEXTRACTABLE   (0x6aUL)

Definition at line 1125 of file pkcs11.h.

◆ CKR_MECHANISM_INVALID

#define CKR_MECHANISM_INVALID   (0x70UL)

Definition at line 1126 of file pkcs11.h.

◆ CKR_MECHANISM_PARAM_INVALID

#define CKR_MECHANISM_PARAM_INVALID   (0x71UL)

Definition at line 1127 of file pkcs11.h.

◆ CKR_MUTEX_BAD

#define CKR_MUTEX_BAD   (0x1a0UL)

Definition at line 1175 of file pkcs11.h.

◆ CKR_MUTEX_NOT_LOCKED

#define CKR_MUTEX_NOT_LOCKED   (0x1a1UL)

Definition at line 1176 of file pkcs11.h.

◆ CKR_NEED_TO_CREATE_THREADS

#define CKR_NEED_TO_CREATE_THREADS   (9UL)

Definition at line 1100 of file pkcs11.h.

◆ CKR_NO_EVENT

#define CKR_NO_EVENT   (8UL)

Definition at line 1099 of file pkcs11.h.

◆ CKR_OBJECT_HANDLE_INVALID

#define CKR_OBJECT_HANDLE_INVALID   (0x82UL)

Definition at line 1128 of file pkcs11.h.

◆ CKR_OK

return CKR_OK   (0UL)

Definition at line 1092 of file pkcs11.h.

◆ CKR_OPERATION_ACTIVE

#define CKR_OPERATION_ACTIVE   (0x90UL)

Definition at line 1129 of file pkcs11.h.

◆ CKR_OPERATION_NOT_INITIALIZED

#define CKR_OPERATION_NOT_INITIALIZED   (0x91UL)

Definition at line 1130 of file pkcs11.h.

◆ CKR_PIN_EXPIRED

#define CKR_PIN_EXPIRED   (0xa3UL)

Definition at line 1134 of file pkcs11.h.

◆ CKR_PIN_INCORRECT

#define CKR_PIN_INCORRECT   (0xa0UL)

Definition at line 1131 of file pkcs11.h.

◆ CKR_PIN_INVALID

#define CKR_PIN_INVALID   (0xa1UL)

Definition at line 1132 of file pkcs11.h.

◆ CKR_PIN_LEN_RANGE

#define CKR_PIN_LEN_RANGE   (0xa2UL)

Definition at line 1133 of file pkcs11.h.

◆ CKR_PIN_LOCKED

#define CKR_PIN_LOCKED   (0xa4UL)

Definition at line 1135 of file pkcs11.h.

◆ CKR_RANDOM_NO_RNG

#define CKR_RANDOM_NO_RNG   (0x121UL)

Definition at line 1166 of file pkcs11.h.

◆ CKR_RANDOM_SEED_NOT_SUPPORTED

#define CKR_RANDOM_SEED_NOT_SUPPORTED   (0x120UL)

Definition at line 1165 of file pkcs11.h.

◆ CKR_SAVED_STATE_INVALID

#define CKR_SAVED_STATE_INVALID   (0x160UL)

Definition at line 1170 of file pkcs11.h.

◆ CKR_SESSION_CLOSED

#define CKR_SESSION_CLOSED   (0xb0UL)

Definition at line 1136 of file pkcs11.h.

◆ CKR_SESSION_COUNT

#define CKR_SESSION_COUNT   (0xb1UL)

Definition at line 1137 of file pkcs11.h.

◆ CKR_SESSION_EXISTS

#define CKR_SESSION_EXISTS   (0xb6UL)

Definition at line 1141 of file pkcs11.h.

◆ CKR_SESSION_HANDLE_INVALID

#define CKR_SESSION_HANDLE_INVALID   (0xb3UL)

Definition at line 1138 of file pkcs11.h.

◆ CKR_SESSION_PARALLEL_NOT_SUPPORTED

#define CKR_SESSION_PARALLEL_NOT_SUPPORTED   (0xb4UL)

Definition at line 1139 of file pkcs11.h.

◆ CKR_SESSION_READ_ONLY

#define CKR_SESSION_READ_ONLY   (0xb5UL)

Definition at line 1140 of file pkcs11.h.

◆ CKR_SESSION_READ_ONLY_EXISTS

#define CKR_SESSION_READ_ONLY_EXISTS   (0xb7UL)

Definition at line 1142 of file pkcs11.h.

◆ CKR_SESSION_READ_WRITE_SO_EXISTS

#define CKR_SESSION_READ_WRITE_SO_EXISTS   (0xb8UL)

Definition at line 1143 of file pkcs11.h.

◆ CKR_SIGNATURE_INVALID

#define CKR_SIGNATURE_INVALID   (0xc0UL)

Definition at line 1144 of file pkcs11.h.

◆ CKR_SIGNATURE_LEN_RANGE

#define CKR_SIGNATURE_LEN_RANGE   (0xc1UL)

Definition at line 1145 of file pkcs11.h.

◆ CKR_SLOT_ID_INVALID

#define CKR_SLOT_ID_INVALID   (3UL)

Definition at line 1095 of file pkcs11.h.

◆ CKR_STATE_UNSAVEABLE

#define CKR_STATE_UNSAVEABLE   (0x180UL)

Definition at line 1172 of file pkcs11.h.

◆ CKR_TEMPLATE_INCOMPLETE

#define CKR_TEMPLATE_INCOMPLETE   (0xd0UL)

Definition at line 1146 of file pkcs11.h.

◆ CKR_TEMPLATE_INCONSISTENT

#define CKR_TEMPLATE_INCONSISTENT   (0xd1UL)

Definition at line 1147 of file pkcs11.h.

◆ CKR_TOKEN_NOT_PRESENT

#define CKR_TOKEN_NOT_PRESENT   (0xe0UL)

Definition at line 1148 of file pkcs11.h.

◆ CKR_TOKEN_NOT_RECOGNIZED

#define CKR_TOKEN_NOT_RECOGNIZED   (0xe1UL)

Definition at line 1149 of file pkcs11.h.

◆ CKR_TOKEN_WRITE_PROTECTED

#define CKR_TOKEN_WRITE_PROTECTED   (0xe2UL)

Definition at line 1150 of file pkcs11.h.

◆ CKR_UNWRAPPING_KEY_HANDLE_INVALID

#define CKR_UNWRAPPING_KEY_HANDLE_INVALID   (0xf0UL)

Definition at line 1151 of file pkcs11.h.

◆ CKR_UNWRAPPING_KEY_SIZE_RANGE

#define CKR_UNWRAPPING_KEY_SIZE_RANGE   (0xf1UL)

Definition at line 1152 of file pkcs11.h.

◆ CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT

#define CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT   (0xf2UL)

Definition at line 1153 of file pkcs11.h.

◆ CKR_USER_ALREADY_LOGGED_IN

#define CKR_USER_ALREADY_LOGGED_IN   (0x100UL)

Definition at line 1154 of file pkcs11.h.

◆ CKR_USER_ANOTHER_ALREADY_LOGGED_IN

#define CKR_USER_ANOTHER_ALREADY_LOGGED_IN   (0x104UL)

Definition at line 1158 of file pkcs11.h.

◆ CKR_USER_NOT_LOGGED_IN

#define CKR_USER_NOT_LOGGED_IN   (0x101UL)

Definition at line 1155 of file pkcs11.h.

◆ CKR_USER_PIN_NOT_INITIALIZED

#define CKR_USER_PIN_NOT_INITIALIZED   (0x102UL)

Definition at line 1156 of file pkcs11.h.

◆ CKR_USER_TOO_MANY_TYPES

#define CKR_USER_TOO_MANY_TYPES   (0x105UL)

Definition at line 1159 of file pkcs11.h.

◆ CKR_USER_TYPE_INVALID

#define CKR_USER_TYPE_INVALID   (0x103UL)

Definition at line 1157 of file pkcs11.h.

◆ CKR_VENDOR_DEFINED

#define CKR_VENDOR_DEFINED   (1UL << 31)

Definition at line 1178 of file pkcs11.h.

◆ CKR_WRAPPED_KEY_INVALID

#define CKR_WRAPPED_KEY_INVALID   (0x110UL)

Definition at line 1160 of file pkcs11.h.

◆ CKR_WRAPPED_KEY_LEN_RANGE

#define CKR_WRAPPED_KEY_LEN_RANGE   (0x112UL)

Definition at line 1161 of file pkcs11.h.

◆ CKR_WRAPPING_KEY_HANDLE_INVALID

#define CKR_WRAPPING_KEY_HANDLE_INVALID   (0x113UL)

Definition at line 1162 of file pkcs11.h.

◆ CKR_WRAPPING_KEY_SIZE_RANGE

#define CKR_WRAPPING_KEY_SIZE_RANGE   (0x114UL)

Definition at line 1163 of file pkcs11.h.

◆ CKR_WRAPPING_KEY_TYPE_INCONSISTENT

#define CKR_WRAPPING_KEY_TYPE_INCONSISTENT   (0x115UL)

Definition at line 1164 of file pkcs11.h.

◆ CKS_RO_PUBLIC_SESSION

#define CKS_RO_PUBLIC_SESSION   (0UL)

Definition at line 280 of file pkcs11.h.

◆ CKS_RO_USER_FUNCTIONS

#define CKS_RO_USER_FUNCTIONS   (1UL)

Definition at line 281 of file pkcs11.h.

◆ CKS_RW_PUBLIC_SESSION

#define CKS_RW_PUBLIC_SESSION   (2UL)

Definition at line 282 of file pkcs11.h.

◆ CKS_RW_SO_FUNCTIONS

#define CKS_RW_SO_FUNCTIONS   (4UL)

Definition at line 284 of file pkcs11.h.

◆ CKS_RW_USER_FUNCTIONS

#define CKS_RW_USER_FUNCTIONS   (3UL)

Definition at line 283 of file pkcs11.h.

◆ CKU_CONTEXT_SPECIFIC

#define CKU_CONTEXT_SPECIFIC   (2UL)

Definition at line 276 of file pkcs11.h.

◆ CKU_SO

#define CKU_SO   (0UL)

Definition at line 274 of file pkcs11.h.

◆ CKU_USER

#define CKU_USER   (1UL)

Definition at line 275 of file pkcs11.h.

◆ CKZ_DATA_SPECIFIED

#define CKZ_DATA_SPECIFIED   (1UL << 0)

Definition at line 752 of file pkcs11.h.

◆ create_mutex

#define create_mutex   CreateMutex

Definition at line 183 of file pkcs11.h.

◆ CRYPTOKI_COMPAT

#define CRYPTOKI_COMPAT   1

Definition at line 73 of file pkcs11.h.

◆ cryptoki_version

#define cryptoki_version   cryptokiVersion

Definition at line 114 of file pkcs11.h.

◆ CRYPTOKI_VERSION_MAJOR

#define CRYPTOKI_VERSION_MAJOR   2

Definition at line 65 of file pkcs11.h.

◆ CRYPTOKI_VERSION_MINOR

#define CRYPTOKI_VERSION_MINOR   40

Definition at line 66 of file pkcs11.h.

◆ CRYPTOKI_VERSION_REVISION

#define CRYPTOKI_VERSION_REVISION   0

Definition at line 67 of file pkcs11.h.

◆ destroy_mutex

#define destroy_mutex   DestroyMutex

Definition at line 184 of file pkcs11.h.

◆ device_error

#define device_error   ulDeviceError

Definition at line 147 of file pkcs11.h.

◆ FALSE

#define FALSE   0

Definition at line 1206 of file pkcs11.h.

◆ firmware_version

#define firmware_version   firmwareVersion

Definition at line 125 of file pkcs11.h.

◆ free_private_memory

#define free_private_memory   ulFreePrivateMemory

Definition at line 138 of file pkcs11.h.

◆ free_public_memory

#define free_public_memory   ulFreePublicMemory

Definition at line 136 of file pkcs11.h.

◆ hardware_version

#define hardware_version   hardwareVersion

Definition at line 124 of file pkcs11.h.

◆ library_description

#define library_description   libraryDescription

Definition at line 116 of file pkcs11.h.

◆ library_version

#define library_version   libraryVersion

Definition at line 117 of file pkcs11.h.

◆ lock_mutex

#define lock_mutex   LockMutex

Definition at line 185 of file pkcs11.h.

◆ manufacturer_id

#define manufacturer_id   manufacturerID

Definition at line 115 of file pkcs11.h.

◆ max_key_size

#define max_key_size   ulMaxKeySize

Definition at line 170 of file pkcs11.h.

◆ max_pin_len

#define max_pin_len   ulMaxPinLen

Definition at line 133 of file pkcs11.h.

◆ max_rw_session_count

#define max_rw_session_count   ulMaxRwSessionCount

Definition at line 131 of file pkcs11.h.

◆ max_session_count

#define max_session_count   ulMaxSessionCount

Definition at line 129 of file pkcs11.h.

◆ min_key_size

#define min_key_size   ulMinKeySize

Definition at line 169 of file pkcs11.h.

◆ min_pin_len

#define min_pin_len   ulMinPinLen

Definition at line 134 of file pkcs11.h.

◆ NULL_PTR

#define NULL_PTR   NULL

Definition at line 1257 of file pkcs11.h.

◆ parameter

#define parameter   pParameter

Definition at line 165 of file pkcs11.h.

◆ parameter_len

#define parameter_len   ulParameterLen

Definition at line 166 of file pkcs11.h.

◆ reserved

#define reserved   pReserved

Definition at line 187 of file pkcs11.h.

◆ rw_session_count

#define rw_session_count   ulRwSessionCount

Definition at line 132 of file pkcs11.h.

◆ serial_number

#define serial_number   serialNumber

Definition at line 128 of file pkcs11.h.

◆ session_count

#define session_count   ulSessionCount

Definition at line 130 of file pkcs11.h.

◆ slot_description

#define slot_description   slotDescription

Definition at line 123 of file pkcs11.h.

◆ slot_id

#define slot_id   slotID

Definition at line 146 of file pkcs11.h.

◆ total_private_memory

#define total_private_memory   ulTotalPrivateMemory

Definition at line 137 of file pkcs11.h.

◆ total_public_memory

#define total_public_memory   ulTotalPublicMemory

Definition at line 135 of file pkcs11.h.

◆ TRUE

#define TRUE   1

Definition at line 1209 of file pkcs11.h.

◆ unlock_mutex

#define unlock_mutex   UnlockMutex

Definition at line 186 of file pkcs11.h.

◆ utc_time

#define utc_time   utcTime

Definition at line 139 of file pkcs11.h.

◆ value

const GenericPointer< typename DocumentType::ValueType > T2 value   pValue

Definition at line 157 of file pkcs11.h.

◆ value_len

#define value_len   ulValueLen

Definition at line 158 of file pkcs11.h.

Typedef Documentation

◆ CK_ATTRIBUTE

typedef struct ck_attribute CK_ATTRIBUTE

Definition at line 1236 of file pkcs11.h.

◆ CK_ATTRIBUTE_PTR

typedef struct ck_attribute* CK_ATTRIBUTE_PTR

Definition at line 1237 of file pkcs11.h.

◆ ck_attribute_type_t

typedef unsigned long ck_attribute_type_t

Definition at line 361 of file pkcs11.h.

◆ CK_BBOOL

typedef unsigned char CK_BBOOL

Definition at line 1193 of file pkcs11.h.

◆ CK_BYTE

typedef unsigned char CK_BYTE

Definition at line 1190 of file pkcs11.h.

◆ CK_BYTE_PTR

typedef CK_BYTE* CK_BYTE_PTR

Definition at line 1196 of file pkcs11.h.

◆ CK_C_INITIALIZE_ARGS

Definition at line 1254 of file pkcs11.h.

◆ CK_C_INITIALIZE_ARGS_PTR

Definition at line 1255 of file pkcs11.h.

◆ ck_certificate_type_t

typedef unsigned long ck_certificate_type_t

Definition at line 354 of file pkcs11.h.

◆ CK_CHAR

typedef unsigned char CK_CHAR

Definition at line 1191 of file pkcs11.h.

◆ CK_CHAR_PTR

typedef CK_CHAR* CK_CHAR_PTR

Definition at line 1197 of file pkcs11.h.

◆ ck_createmutex_t

typedef ck_rv_t(* ck_createmutex_t) (void **mutex)

Definition at line 1075 of file pkcs11.h.

◆ CK_DATE

typedef struct ck_date CK_DATE

Definition at line 1239 of file pkcs11.h.

◆ CK_DATE_PTR

typedef struct ck_date* CK_DATE_PTR

Definition at line 1240 of file pkcs11.h.

◆ ck_destroymutex_t

typedef ck_rv_t(* ck_destroymutex_t) (void *mutex)

Definition at line 1076 of file pkcs11.h.

◆ CK_ECDH1_DERIVE_PARAMS

typedef struct CK_ECDH1_DERIVE_PARAMS CK_ECDH1_DERIVE_PARAMS

◆ ck_flags_t

typedef unsigned long ck_flags_t

Definition at line 191 of file pkcs11.h.

◆ CK_FUNCTION_LIST

Definition at line 1250 of file pkcs11.h.

◆ CK_FUNCTION_LIST_PTR

Definition at line 1251 of file pkcs11.h.

◆ CK_FUNCTION_LIST_PTR_PTR

Definition at line 1252 of file pkcs11.h.

◆ ck_hw_feature_type_t

typedef unsigned long ck_hw_feature_type_t

Definition at line 310 of file pkcs11.h.

◆ CK_INFO

typedef struct ck_info CK_INFO

Definition at line 1216 of file pkcs11.h.

◆ CK_INFO_PTR

typedef struct ck_info* CK_INFO_PTR

Definition at line 1217 of file pkcs11.h.

◆ ck_key_type_t

typedef unsigned long ck_key_type_t

Definition at line 317 of file pkcs11.h.

◆ ck_lockmutex_t

typedef ck_rv_t(* ck_lockmutex_t) (void *mutex)

Definition at line 1077 of file pkcs11.h.

◆ CK_LONG

typedef long int CK_LONG

Definition at line 1195 of file pkcs11.h.

◆ CK_MECHANISM

typedef struct ck_mechanism CK_MECHANISM

Definition at line 1244 of file pkcs11.h.

◆ CK_MECHANISM_INFO

Definition at line 1247 of file pkcs11.h.

◆ CK_MECHANISM_INFO_PTR

Definition at line 1248 of file pkcs11.h.

◆ CK_MECHANISM_PTR

typedef struct ck_mechanism* CK_MECHANISM_PTR

Definition at line 1245 of file pkcs11.h.

◆ CK_MECHANISM_TYPE_PTR

Definition at line 1242 of file pkcs11.h.

◆ ck_mechanism_type_t

typedef unsigned long ck_mechanism_type_t

Definition at line 467 of file pkcs11.h.

◆ ck_notification_t

typedef unsigned long ck_notification_t

Definition at line 206 of file pkcs11.h.

◆ ck_notify_t

typedef ck_rv_t(* ck_notify_t) (ck_session_handle_t session, ck_notification_t event, void *application)

Definition at line 770 of file pkcs11.h.

◆ CK_OBJECT_CLASS_PTR

Definition at line 1234 of file pkcs11.h.

◆ ck_object_class_t

typedef unsigned long ck_object_class_t

Definition at line 298 of file pkcs11.h.

◆ CK_OBJECT_HANDLE_PTR

Definition at line 1232 of file pkcs11.h.

◆ ck_object_handle_t

typedef unsigned long ck_object_handle_t

Definition at line 296 of file pkcs11.h.

◆ CK_RSA_PKCS_MGF_TYPE

typedef unsigned long CK_RSA_PKCS_MGF_TYPE

Definition at line 742 of file pkcs11.h.

◆ CK_RSA_PKCS_OAEP_PARAMS

typedef struct CK_RSA_PKCS_OAEP_PARAMS CK_RSA_PKCS_OAEP_PARAMS

◆ CK_RSA_PKCS_OAEP_SOURCE_TYPE

typedef unsigned long CK_RSA_PKCS_OAEP_SOURCE_TYPE

Definition at line 750 of file pkcs11.h.

◆ CK_RSA_PKCS_PSS_PARAMS

typedef struct CK_RSA_PKCS_PSS_PARAMS CK_RSA_PKCS_PSS_PARAMS

◆ ck_rv_t

typedef unsigned long ck_rv_t

Definition at line 768 of file pkcs11.h.

◆ CK_SESSION_HANDLE_PTR

Definition at line 1227 of file pkcs11.h.

◆ ck_session_handle_t

typedef unsigned long ck_session_handle_t

Definition at line 268 of file pkcs11.h.

◆ CK_SESSION_INFO

Definition at line 1229 of file pkcs11.h.

◆ CK_SESSION_INFO_PTR

Definition at line 1230 of file pkcs11.h.

◆ CK_SLOT_ID_PTR

Definition at line 1219 of file pkcs11.h.

◆ ck_slot_id_t

typedef unsigned long ck_slot_id_t

Definition at line 210 of file pkcs11.h.

◆ CK_SLOT_INFO

typedef struct ck_slot_info CK_SLOT_INFO

Definition at line 1221 of file pkcs11.h.

◆ CK_SLOT_INFO_PTR

typedef struct ck_slot_info* CK_SLOT_INFO_PTR

Definition at line 1222 of file pkcs11.h.

◆ ck_state_t

typedef unsigned long ck_state_t

Definition at line 278 of file pkcs11.h.

◆ CK_TOKEN_INFO

typedef struct ck_token_info CK_TOKEN_INFO

Definition at line 1224 of file pkcs11.h.

◆ CK_TOKEN_INFO_PTR

Definition at line 1225 of file pkcs11.h.

◆ CK_ULONG

typedef unsigned long int CK_ULONG

Definition at line 1194 of file pkcs11.h.

◆ CK_ULONG_PTR

Definition at line 1199 of file pkcs11.h.

◆ ck_unlockmutex_t

typedef ck_rv_t(* ck_unlockmutex_t) (void *mutex)

Definition at line 1078 of file pkcs11.h.

◆ ck_user_type_t

typedef unsigned long ck_user_type_t

Definition at line 272 of file pkcs11.h.

◆ CK_UTF8CHAR

typedef unsigned char CK_UTF8CHAR

Definition at line 1192 of file pkcs11.h.

◆ CK_UTF8CHAR_PTR

Definition at line 1198 of file pkcs11.h.

◆ CK_VERSION

typedef struct ck_version CK_VERSION

Definition at line 1213 of file pkcs11.h.

◆ CK_VERSION_PTR

typedef struct ck_version* CK_VERSION_PTR

Definition at line 1214 of file pkcs11.h.

◆ CK_VOID_PTR

typedef void* CK_VOID_PTR

Definition at line 1200 of file pkcs11.h.

◆ CK_VOID_PTR_PTR

typedef void** CK_VOID_PTR_PTR

Definition at line 1201 of file pkcs11.h.

Function Documentation

◆ _CK_DECLARE_FUNCTION() [1/68]

_CK_DECLARE_FUNCTION ( C_CancelFunction ,
(ck_session_handle_t session)  )

◆ _CK_DECLARE_FUNCTION() [2/68]

_CK_DECLARE_FUNCTION ( C_CloseAllSessions ,
(ck_slot_id_t slot_id)  )

◆ _CK_DECLARE_FUNCTION() [3/68]

_CK_DECLARE_FUNCTION ( C_CloseSession ,
(ck_session_handle_t session)  )

◆ _CK_DECLARE_FUNCTION() [4/68]

_CK_DECLARE_FUNCTION ( C_CopyObject ,
(ck_session_handle_t session, ck_object_handle_t object, struct ck_attribute *templ, unsigned long count, ck_object_handle_t *new_object)  )

◆ _CK_DECLARE_FUNCTION() [5/68]

_CK_DECLARE_FUNCTION ( C_CreateObject ,
(ck_session_handle_t session, struct ck_attribute *templ, unsigned long count, ck_object_handle_t *object)  )

◆ _CK_DECLARE_FUNCTION() [6/68]

_CK_DECLARE_FUNCTION ( C_Decrypt ,
(ck_session_handle_t session, unsigned char *encrypted_data, unsigned long encrypted_data_len, unsigned char *data, unsigned long *data_len)  )

◆ _CK_DECLARE_FUNCTION() [7/68]

_CK_DECLARE_FUNCTION ( C_DecryptDigestUpdate ,
(ck_session_handle_t session, unsigned char *encrypted_part, unsigned long encrypted_part_len, unsigned char *part, unsigned long *part_len)  )

◆ _CK_DECLARE_FUNCTION() [8/68]

_CK_DECLARE_FUNCTION ( C_DecryptFinal ,
(ck_session_handle_t session, unsigned char *last_part, unsigned long *last_part_len)  )

◆ _CK_DECLARE_FUNCTION() [9/68]

_CK_DECLARE_FUNCTION ( C_DecryptInit ,
(ck_session_handle_t session, struct ck_mechanism *mechanism, ck_object_handle_t key)  )

◆ _CK_DECLARE_FUNCTION() [10/68]

_CK_DECLARE_FUNCTION ( C_DecryptUpdate ,
(ck_session_handle_t session, unsigned char *encrypted_part, unsigned long encrypted_part_len, unsigned char *part, unsigned long *part_len)  )

◆ _CK_DECLARE_FUNCTION() [11/68]

_CK_DECLARE_FUNCTION ( C_DecryptVerifyUpdate ,
(ck_session_handle_t session, unsigned char *encrypted_part, unsigned long encrypted_part_len, unsigned char *part, unsigned long *part_len)  )

◆ _CK_DECLARE_FUNCTION() [12/68]

_CK_DECLARE_FUNCTION ( C_DeriveKey ,
(ck_session_handle_t session, struct ck_mechanism *mechanism, ck_object_handle_t base_key, struct ck_attribute *templ, unsigned long attribute_count, ck_object_handle_t *key)  )

◆ _CK_DECLARE_FUNCTION() [13/68]

_CK_DECLARE_FUNCTION ( C_DestroyObject ,
(ck_session_handle_t session, ck_object_handle_t object)  )

◆ _CK_DECLARE_FUNCTION() [14/68]

_CK_DECLARE_FUNCTION ( C_Digest ,
(ck_session_handle_t session, unsigned char *data, unsigned long data_len, unsigned char *digest, unsigned long *digest_len)  )

◆ _CK_DECLARE_FUNCTION() [15/68]

_CK_DECLARE_FUNCTION ( C_DigestEncryptUpdate ,
(ck_session_handle_t session, unsigned char *part, unsigned long part_len, unsigned char *encrypted_part, unsigned long *encrypted_part_len)  )

◆ _CK_DECLARE_FUNCTION() [16/68]

_CK_DECLARE_FUNCTION ( C_DigestFinal ,
(ck_session_handle_t session, unsigned char *digest, unsigned long *digest_len)  )

◆ _CK_DECLARE_FUNCTION() [17/68]

_CK_DECLARE_FUNCTION ( C_DigestInit ,
(ck_session_handle_t session, struct ck_mechanism *mechanism)  )

◆ _CK_DECLARE_FUNCTION() [18/68]

_CK_DECLARE_FUNCTION ( C_DigestKey ,
(ck_session_handle_t session, ck_object_handle_t key)  )

◆ _CK_DECLARE_FUNCTION() [19/68]

_CK_DECLARE_FUNCTION ( C_DigestUpdate ,
(ck_session_handle_t session, unsigned char *part, unsigned long part_len)  )

◆ _CK_DECLARE_FUNCTION() [20/68]

_CK_DECLARE_FUNCTION ( C_Encrypt ,
(ck_session_handle_t session, unsigned char *data, unsigned long data_len, unsigned char *encrypted_data, unsigned long *encrypted_data_len)  )

◆ _CK_DECLARE_FUNCTION() [21/68]

_CK_DECLARE_FUNCTION ( C_EncryptFinal ,
(ck_session_handle_t session, unsigned char *last_encrypted_part, unsigned long *last_encrypted_part_len)  )

◆ _CK_DECLARE_FUNCTION() [22/68]

_CK_DECLARE_FUNCTION ( C_EncryptInit ,
(ck_session_handle_t session, struct ck_mechanism *mechanism, ck_object_handle_t key)  )

◆ _CK_DECLARE_FUNCTION() [23/68]

_CK_DECLARE_FUNCTION ( C_EncryptUpdate ,
(ck_session_handle_t session, unsigned char *part, unsigned long part_len, unsigned char *encrypted_part, unsigned long *encrypted_part_len)  )

◆ _CK_DECLARE_FUNCTION() [24/68]

_CK_DECLARE_FUNCTION ( C_Finalize ,
(void *reserved)  )

◆ _CK_DECLARE_FUNCTION() [25/68]

_CK_DECLARE_FUNCTION ( C_FindObjects ,
(ck_session_handle_t session, ck_object_handle_t *object, unsigned long max_object_count, unsigned long *object_count)  )

◆ _CK_DECLARE_FUNCTION() [26/68]

_CK_DECLARE_FUNCTION ( C_FindObjectsFinal ,
(ck_session_handle_t session)  )

◆ _CK_DECLARE_FUNCTION() [27/68]

_CK_DECLARE_FUNCTION ( C_FindObjectsInit ,
(ck_session_handle_t session, struct ck_attribute *templ, unsigned long count)  )

◆ _CK_DECLARE_FUNCTION() [28/68]

_CK_DECLARE_FUNCTION ( C_GenerateKey ,
(ck_session_handle_t session, struct ck_mechanism *mechanism, struct ck_attribute *templ, unsigned long count, ck_object_handle_t *key)  )

◆ _CK_DECLARE_FUNCTION() [29/68]

_CK_DECLARE_FUNCTION ( C_GenerateKeyPair ,
(ck_session_handle_t session, struct ck_mechanism *mechanism, struct ck_attribute *public_key_template, unsigned long public_key_attribute_count, struct ck_attribute *private_key_template, unsigned long private_key_attribute_count, ck_object_handle_t *public_key, ck_object_handle_t *private_key)  )

◆ _CK_DECLARE_FUNCTION() [30/68]

_CK_DECLARE_FUNCTION ( C_GenerateRandom ,
(ck_session_handle_t session, unsigned char *random_data, unsigned long random_len)  )

◆ _CK_DECLARE_FUNCTION() [31/68]

_CK_DECLARE_FUNCTION ( C_GetAttributeValue ,
(ck_session_handle_t session, ck_object_handle_t object, struct ck_attribute *templ, unsigned long count)  )

◆ _CK_DECLARE_FUNCTION() [32/68]

_CK_DECLARE_FUNCTION ( C_GetFunctionList ,
(struct ck_function_list **function_list)  )

◆ _CK_DECLARE_FUNCTION() [33/68]

_CK_DECLARE_FUNCTION ( C_GetFunctionStatus ,
(ck_session_handle_t session)  )

◆ _CK_DECLARE_FUNCTION() [34/68]

_CK_DECLARE_FUNCTION ( C_GetInfo ,
(struct ck_info *info)  )

◆ _CK_DECLARE_FUNCTION() [35/68]

_CK_DECLARE_FUNCTION ( C_GetMechanismInfo ,
(ck_slot_id_t slot_id, ck_mechanism_type_t type, struct ck_mechanism_info *info)  )

◆ _CK_DECLARE_FUNCTION() [36/68]

_CK_DECLARE_FUNCTION ( C_GetMechanismList ,
(ck_slot_id_t slot_id, ck_mechanism_type_t *mechanism_list, unsigned long *count)  )

◆ _CK_DECLARE_FUNCTION() [37/68]

_CK_DECLARE_FUNCTION ( C_GetObjectSize ,
(ck_session_handle_t session, ck_object_handle_t object, unsigned long *size)  )

◆ _CK_DECLARE_FUNCTION() [38/68]

_CK_DECLARE_FUNCTION ( C_GetOperationState ,
(ck_session_handle_t session, unsigned char *operation_state, unsigned long *operation_state_len)  )

◆ _CK_DECLARE_FUNCTION() [39/68]

_CK_DECLARE_FUNCTION ( C_GetSessionInfo ,
(ck_session_handle_t session, struct ck_session_info *info)  )

◆ _CK_DECLARE_FUNCTION() [40/68]

_CK_DECLARE_FUNCTION ( C_GetSlotInfo ,
(ck_slot_id_t slot_id, struct ck_slot_info *info)  )

◆ _CK_DECLARE_FUNCTION() [41/68]

_CK_DECLARE_FUNCTION ( C_GetSlotList ,
(unsigned char token_present, ck_slot_id_t *slot_list, unsigned long *count)  )

◆ _CK_DECLARE_FUNCTION() [42/68]

_CK_DECLARE_FUNCTION ( C_GetTokenInfo ,
(ck_slot_id_t slot_id, struct ck_token_info *info)  )

◆ _CK_DECLARE_FUNCTION() [43/68]

_CK_DECLARE_FUNCTION ( C_Initialize ,
(void *init_args)  )

◆ _CK_DECLARE_FUNCTION() [44/68]

_CK_DECLARE_FUNCTION ( C_InitPIN ,
(ck_session_handle_t session, unsigned char *pin, unsigned long pin_len)  )

◆ _CK_DECLARE_FUNCTION() [45/68]

_CK_DECLARE_FUNCTION ( C_InitToken ,
(ck_slot_id_t slot_id, unsigned char *pin, unsigned long pin_len, unsigned char *label)  )

◆ _CK_DECLARE_FUNCTION() [46/68]

_CK_DECLARE_FUNCTION ( C_Login ,
(ck_session_handle_t session, ck_user_type_t user_type, unsigned char *pin, unsigned long pin_len)  )

◆ _CK_DECLARE_FUNCTION() [47/68]

_CK_DECLARE_FUNCTION ( C_Logout ,
(ck_session_handle_t session)  )

◆ _CK_DECLARE_FUNCTION() [48/68]

_CK_DECLARE_FUNCTION ( C_OpenSession ,
(ck_slot_id_t slot_id, ck_flags_t flags, void *application, ck_notify_t notify, ck_session_handle_t *session)  )

◆ _CK_DECLARE_FUNCTION() [49/68]

_CK_DECLARE_FUNCTION ( C_SeedRandom ,
(ck_session_handle_t session, unsigned char *seed, unsigned long seed_len)  )

◆ _CK_DECLARE_FUNCTION() [50/68]

_CK_DECLARE_FUNCTION ( C_SetAttributeValue ,
(ck_session_handle_t session, ck_object_handle_t object, struct ck_attribute *templ, unsigned long count)  )

◆ _CK_DECLARE_FUNCTION() [51/68]

_CK_DECLARE_FUNCTION ( C_SetOperationState ,
(ck_session_handle_t session, unsigned char *operation_state, unsigned long operation_state_len, ck_object_handle_t encryption_key, ck_object_handle_t authentiation_key)  )

◆ _CK_DECLARE_FUNCTION() [52/68]

_CK_DECLARE_FUNCTION ( C_SetPIN ,
(ck_session_handle_t session, unsigned char *old_pin, unsigned long old_len, unsigned char *new_pin, unsigned long new_len)  )

◆ _CK_DECLARE_FUNCTION() [53/68]

_CK_DECLARE_FUNCTION ( C_Sign ,
(ck_session_handle_t session, unsigned char *data, unsigned long data_len, unsigned char *signature, unsigned long *signature_len)  )

◆ _CK_DECLARE_FUNCTION() [54/68]

_CK_DECLARE_FUNCTION ( C_SignEncryptUpdate ,
(ck_session_handle_t session, unsigned char *part, unsigned long part_len, unsigned char *encrypted_part, unsigned long *encrypted_part_len)  )

◆ _CK_DECLARE_FUNCTION() [55/68]

_CK_DECLARE_FUNCTION ( C_SignFinal ,
(ck_session_handle_t session, unsigned char *signature, unsigned long *signature_len)  )

◆ _CK_DECLARE_FUNCTION() [56/68]

_CK_DECLARE_FUNCTION ( C_SignInit ,
(ck_session_handle_t session, struct ck_mechanism *mechanism, ck_object_handle_t key)  )

◆ _CK_DECLARE_FUNCTION() [57/68]

_CK_DECLARE_FUNCTION ( C_SignRecover ,
(ck_session_handle_t session, unsigned char *data, unsigned long data_len, unsigned char *signature, unsigned long *signature_len)  )

◆ _CK_DECLARE_FUNCTION() [58/68]

_CK_DECLARE_FUNCTION ( C_SignRecoverInit ,
(ck_session_handle_t session, struct ck_mechanism *mechanism, ck_object_handle_t key)  )

◆ _CK_DECLARE_FUNCTION() [59/68]

_CK_DECLARE_FUNCTION ( C_SignUpdate ,
(ck_session_handle_t session, unsigned char *part, unsigned long part_len)  )

◆ _CK_DECLARE_FUNCTION() [60/68]

_CK_DECLARE_FUNCTION ( C_UnwrapKey ,
(ck_session_handle_t session, struct ck_mechanism *mechanism, ck_object_handle_t unwrapping_key, unsigned char *wrapped_key, unsigned long wrapped_key_len, struct ck_attribute *templ, unsigned long attribute_count, ck_object_handle_t *key)  )

◆ _CK_DECLARE_FUNCTION() [61/68]

_CK_DECLARE_FUNCTION ( C_Verify ,
(ck_session_handle_t session, unsigned char *data, unsigned long data_len, unsigned char *signature, unsigned long signature_len)  )

◆ _CK_DECLARE_FUNCTION() [62/68]

_CK_DECLARE_FUNCTION ( C_VerifyFinal ,
(ck_session_handle_t session, unsigned char *signature, unsigned long signature_len)  )

◆ _CK_DECLARE_FUNCTION() [63/68]

_CK_DECLARE_FUNCTION ( C_VerifyInit ,
(ck_session_handle_t session, struct ck_mechanism *mechanism, ck_object_handle_t key)  )

◆ _CK_DECLARE_FUNCTION() [64/68]

_CK_DECLARE_FUNCTION ( C_VerifyRecover ,
(ck_session_handle_t session, unsigned char *signature, unsigned long signature_len, unsigned char *data, unsigned long *data_len)  )

◆ _CK_DECLARE_FUNCTION() [65/68]

_CK_DECLARE_FUNCTION ( C_VerifyRecoverInit ,
(ck_session_handle_t session, struct ck_mechanism *mechanism, ck_object_handle_t key)  )

◆ _CK_DECLARE_FUNCTION() [66/68]

_CK_DECLARE_FUNCTION ( C_VerifyUpdate ,
(ck_session_handle_t session, unsigned char *part, unsigned long part_len)  )

◆ _CK_DECLARE_FUNCTION() [67/68]

_CK_DECLARE_FUNCTION ( C_WaitForSlotEvent ,
(ck_flags_t flags, ck_slot_id_t *slot, void *reserved)  )

◆ _CK_DECLARE_FUNCTION() [68/68]

_CK_DECLARE_FUNCTION ( C_WrapKey ,
(ck_session_handle_t session, struct ck_mechanism *mechanism, ck_object_handle_t wrapping_key, ck_object_handle_t key, unsigned char *wrapped_key, unsigned long *wrapped_key_len)  )