FreeRTOS: PKCS11
PKCS11 Cryptoki Library
Return to main page ↑
P11Session_t Struct Reference

Session structure. More...

Data Fields

CK_ULONG ulState
 Stores the session flags.
 
CK_BBOOL xOpened
 Set to CK_TRUE upon opening PKCS #11 session.
 
CK_MECHANISM_TYPE xOperationDigestMechanism
 Indicates if a digest operation is in progress.
 
CK_BYTE * pxFindObjectLabel
 Pointer to the label for the search in progress. Should be NULL if no search in progress.
 
CK_ULONG xFindObjectLabelLen
 Size of current search label.
 
CK_MECHANISM_TYPE xOperationVerifyMechanism
 The mechanism of verify operation in progress. Set during C_VerifyInit.
 
SemaphoreHandle_t xVerifyMutex
 Protects the verification key from being modified while in use.
 
mbedtls_pk_context xVerifyKey
 Verification key. Set during C_VerifyInit.
 
CK_MECHANISM_TYPE xOperationSignMechanism
 Mechanism of the sign operation in progress. Set during C_SignInit.
 
SemaphoreHandle_t xSignMutex
 Protects the signing key from being modified while in use.
 
mbedtls_pk_context xSignKey
 Signing key. Set during C_SignInit.
 
mbedtls_sha256_context xSHA256Context
 Context for in progress digest operation.
 

Detailed Description

Session structure.


The documentation for this struct was generated from the following file: