CryptoAuthLib v3.7.6
Microchip CryptoAuthentication Library
 
Loading...
Searching...
No Matches
pkcs11_slot.h File Reference

PKCS11 Library Slot Handling & Context. More...

#include "pkcs11_init.h"
#include "cryptoauthlib.h"

Data Structures

struct  pkcs11_slot_ctx_s
 

Macros

#define SLOT_STATE_UNINITIALIZED   (0U)
 
#define SLOT_STATE_CONFIGURED   (1U)
 
#define SLOT_STATE_READY   (2U)
 

Typedefs

typedef struct pkcs11_slot_ctx_s pkcs11_slot_ctx
 

Functions

CK_RV pkcs11_slot_init (CK_SLOT_ID slotID)
 This is an internal function that initializes a pkcs11 slot - it must already have the locks in place before being called.
 
CK_RV pkcs11_slot_config (CK_SLOT_ID slotID)
 
CK_VOID_PTR pkcs11_slot_initslots (CK_ULONG pulCount)
 
CK_RV pkcs11_slot_deinitslots (pkcs11_lib_ctx_ptr lib_ctx)
 
pkcs11_slot_ctx_ptr pkcs11_slot_get_context (pkcs11_lib_ctx_ptr lib_ctx, CK_SLOT_ID slotID)
 Retrieve the current slot context.
 
pkcs11_slot_ctx_ptr pkcs11_slot_get_new_context (pkcs11_lib_ctx_ptr lib_ctx)
 
CK_RV pkcs11_slot_get_list (CK_BBOOL tokenPresent, CK_SLOT_ID_PTR pSlotList, CK_ULONG_PTR pulCount)
 
CK_RV pkcs11_slot_get_info (CK_SLOT_ID slotID, CK_SLOT_INFO_PTR pInfo)
 Obtains information about a particular slot.
 

Detailed Description

PKCS11 Library Slot Handling & Context.

Typedef Documentation

◆ pkcs11_slot_ctx

Slot Context