#include <lib/pkcs11/pkcs11_init.h>
Data Fields | |
| CK_BBOOL | initialized |
| CK_C_INITIALIZE_ARGS | init_args |
| CK_VOID_PTR | lib_lock |
| pkcs11_dev_state * | dev_state |
| CK_BBOOL | dev_lock_enabled |
| CK_VOID_PTR | slots |
| CK_ULONG | slot_cnt |
| CK_CHAR | config_path [200] |
Library Context
| CK_CHAR pkcs11_lib_ctx_s::config_path[200] |
Filesystem path where the base config is located
| CK_BBOOL pkcs11_lib_ctx_s::dev_lock_enabled |
Flag to indicate if a device lock is enabled and configured
| pkcs11_dev_state* pkcs11_lib_ctx_s::dev_state |
Device State state and Lock (if configured)
| CK_C_INITIALIZE_ARGS pkcs11_lib_ctx_s::init_args |
Arguments provided by the app for C_Initialize
| CK_BBOOL pkcs11_lib_ctx_s::initialized |
Indicates that the library has been initialized
| CK_VOID_PTR pkcs11_lib_ctx_s::lib_lock |
Application Lock for concurrent access to the library if the application will be using threads
| CK_ULONG pkcs11_lib_ctx_s::slot_cnt |
Number of configured slots
| CK_VOID_PTR pkcs11_lib_ctx_s::slots |
Configured slots in the library