PKCS11 Library Object Handling. More...
#include "pkcs11_object.h"
Data Structures | |
struct | pkcs11_ecc_key_info_s |
struct | pkcs11_rsa_key_info_s |
struct | pkcs11_key_info_s |
Typedefs | |
typedef struct pkcs11_ecc_key_info_s | pkcs11_ecc_key_info_t |
typedef struct pkcs11_rsa_key_info_s | pkcs11_rsa_key_info_t |
typedef struct pkcs11_key_info_s | pkcs11_key_info_t |
Functions | |
CK_RV | pkcs11_key_write (CK_VOID_PTR pSession, CK_VOID_PTR pObject, CK_ATTRIBUTE_PTR pAttribute) |
CK_RV | pkcs11_key_generate (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_OBJECT_HANDLE_PTR phKey) |
CK_RV | pkcs11_key_generate_pair (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_ATTRIBUTE_PTR pPublicKeyTemplate, CK_ULONG ulPublicKeyAttributeCount, CK_ATTRIBUTE_PTR pPrivateKeyTemplate, CK_ULONG ulPrivateKeyAttributeCount, CK_OBJECT_HANDLE_PTR phPublicKey, CK_OBJECT_HANDLE_PTR phPrivateKey) |
CK_RV | pkcs11_key_derive (CK_SESSION_HANDLE hSession, CK_MECHANISM_PTR pMechanism, CK_OBJECT_HANDLE hBaseKey, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_OBJECT_HANDLE_PTR phKey) |
CK_RV | pkcs11_key_clear_session_cache (pkcs11_session_ctx_ptr session_ctx) |
CK_RV | pkcs11_key_clear_object_cache (pkcs11_object_ptr pObject) |
const pkcs11_key_info_t * | pkcs11_get_object_key_type (ATCADevice device_ctx, pkcs11_object_ptr obj_ptr) |
CK_RV | pkcs11_ta_get_pubkey (CK_VOID_PTR pObject, cal_buffer *key_buffer, pkcs11_session_ctx_ptr session_ctx) |
Variables | |
const pkcs11_ecc_key_info_t | ec_key_data_table [4] |
const pkcs11_rsa_key_info_t | rsa_key_data_table [4] |
const pkcs11_key_info_t | key_data_table [] |
const pkcs11_attrib_model | pkcs11_key_public_attributes [] |
const CK_ULONG | pkcs11_key_public_attributes_count |
const pkcs11_attrib_model | pkcs11_key_private_attributes [] |
const CK_ULONG | pkcs11_key_private_attributes_count |
const pkcs11_attrib_model | pkcs11_key_secret_attributes [] |
const CK_ULONG | pkcs11_key_secret_attributes_count |
CK_BYTE | pkcs11_ec_pbkey_asn1_hdr_p256 [] |
CK_BYTE | pkcs11_x962_asn1_hdr_ec256 [] |
CK_BYTE | pkcs11_key_ec_params_p256 [] |
CK_BYTE | pkcs11_ec_pbkey_asn1_hdr_p224 [] |
CK_BYTE | pkcs11_x962_asn1_hdr_ec224 [] |
CK_BYTE | pkcs11_key_ec_params_p224 [] |
CK_BYTE | pkcs11_ec_pbkey_asn1_hdr_p384 [] |
CK_BYTE | pkcs11_x962_asn1_hdr_ec384 [] |
CK_BYTE | pkcs11_key_ec_params_p384 [] |
CK_BYTE | pkcs11_ec_pbkey_asn1_hdr_p521 [] |
CK_BYTE | pkcs11_x962_asn1_hdr_ec521 [] |
CK_BYTE | pkcs11_key_ec_params_p521 [] |
PKCS11 Library Object Handling.