CryptoAuthLib v3.7.6
Microchip CryptoAuthentication Library
 
Loading...
Searching...
No Matches
pkcs11_lib_ctx_s Struct Reference

#include <lib/pkcs11/pkcs11_init.h>

Data Fields

CK_BBOOL initialized
 
CK_C_INITIALIZE_ARGS init_args
 
CK_VOID_PTR lib_lock
 
pkcs11_dev_statedev_state
 
CK_BBOOL dev_lock_enabled
 
CK_VOID_PTR slots
 
CK_ULONG slot_cnt
 
CK_CHAR config_path [200]
 

Detailed Description

Library Context

Field Documentation

◆ config_path

CK_CHAR pkcs11_lib_ctx_s::config_path[200]

Filesystem path where the base config is located

◆ dev_lock_enabled

CK_BBOOL pkcs11_lib_ctx_s::dev_lock_enabled

Flag to indicate if a device lock is enabled and configured

◆ dev_state

pkcs11_dev_state* pkcs11_lib_ctx_s::dev_state

Device State state and Lock (if configured)

◆ init_args

CK_C_INITIALIZE_ARGS pkcs11_lib_ctx_s::init_args

Arguments provided by the app for C_Initialize

◆ initialized

CK_BBOOL pkcs11_lib_ctx_s::initialized

Indicates that the library has been initialized

◆ lib_lock

CK_VOID_PTR pkcs11_lib_ctx_s::lib_lock

Application Lock for concurrent access to the library if the application will be using threads

◆ slot_cnt

CK_ULONG pkcs11_lib_ctx_s::slot_cnt

Number of configured slots

◆ slots

CK_VOID_PTR pkcs11_lib_ctx_s::slots

Configured slots in the library