PKCS11 Library Object Handling Base. More...
#include "cryptoauthlib.h"
#include "atcacert/atcacert_def.h"
#include "cryptoki.h"
#include "pkcs11_config.h"
#include "pkcs11_debug.h"
#include "pkcs11_init.h"
#include "pkcs11_slot.h"
#include "pkcs11_session.h"
#include "pkcs11_util.h"
#include "pkcs11_object.h"
#include "pkcs11_os.h"
#include "pkcs11_find.h"
#include "pkcs11_key.h"
#include "pkcs11_cert.h"
Functions | |
CK_RV | pkcs11_object_alloc (CK_SLOT_ID slotId, pkcs11_object_ptr *ppObject) |
CK_RV | pkcs11_object_free (pkcs11_object_ptr pObject) |
CK_RV | pkcs11_object_check (pkcs11_object_ptr *ppObject, CK_OBJECT_HANDLE hObject) |
CK_RV | pkcs11_object_get_handle (pkcs11_object_ptr pObject, CK_OBJECT_HANDLE_PTR phObject) |
CK_RV | pkcs11_object_get_owner (pkcs11_object_ptr pObject, CK_SLOT_ID_PTR pSlotId) |
CK_RV | pkcs11_object_get_name (CK_VOID_PTR pObject, CK_ATTRIBUTE_PTR pAttribute, pkcs11_session_ctx_ptr pSession) |
CK_RV | pkcs11_object_get_class (CK_VOID_PTR pObject, CK_ATTRIBUTE_PTR pAttribute, pkcs11_session_ctx_ptr pSession) |
CK_RV | pkcs11_object_get_type (CK_VOID_PTR pObject, CK_ATTRIBUTE_PTR pAttribute, pkcs11_session_ctx_ptr pSession) |
CK_RV | pkcs11_object_get_destroyable (CK_VOID_PTR pObject, CK_ATTRIBUTE_PTR pAttribute, pkcs11_session_ctx_ptr pSession) |
CK_RV | pkcs11_object_get_size (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject, CK_ULONG_PTR pulSize) |
CK_RV | pkcs11_object_find (CK_SLOT_ID slotId, pkcs11_object_ptr *ppObject, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount) |
CK_RV | pkcs11_object_create (CK_SESSION_HANDLE hSession, CK_ATTRIBUTE_PTR pTemplate, CK_ULONG ulCount, CK_OBJECT_HANDLE_PTR phObject) |
Create a new object on the token in the specified session using the given attribute template. | |
CK_RV | pkcs11_object_destroy (CK_SESSION_HANDLE hSession, CK_OBJECT_HANDLE hObject) |
Destroy the specified object. | |
CK_RV | pkcs11_object_deinit (pkcs11_lib_ctx_ptr pContext) |
ATCA_STATUS | pkcs11_object_load_handle_info (ATCADevice device, pkcs11_lib_ctx_ptr pContext) |
CK_RV | pkcs11_object_is_private (pkcs11_object_ptr pObject, CK_BBOOL *is_private, pkcs11_session_ctx_ptr pSession) |
Checks the attributes of the underlying cryptographic asset to determine if it is a private key - this changes the way the associated public key is referenced. | |
Variables | |
pkcs11_object_cache_t | pkcs11_object_cache [PKCS11_MAX_OBJECTS_ALLOWED] |
const pkcs11_attrib_model | pkcs11_object_monotonic_attributes [] |
const CK_ULONG | pkcs11_object_monotonic_attributes_count = (CK_ULONG)(sizeof( pkcs11_object_monotonic_attributes ) / sizeof( pkcs11_object_monotonic_attributes [0])) |
PKCS11 Library Object Handling Base.