Cryptographic Token Interface Standard |
PKCS#11 |
Data Fields | |
CK_CREATEMUTEX | CreateMutex |
pointer to a function to use for creating mutex objects. More... | |
CK_DESTROYMUTEX | DestroyMutex |
pointer to a function to use for destroying mutex objects. More... | |
CK_LOCKMUTEX | LockMutex |
pointer to a function to use for locking mutex objects. More... | |
CK_UNLOCKMUTEX | UnlockMutex |
pointer to a function to use for unlocking mutex objects. More... | |
CK_FLAGS | flags |
bit flags specifying options for '''C_Initialize'''; the flags are defined below. More... | |
CK_VOID_PTR | pReserved |
reserved for future use. More... |
CreateMutex | pointer to a function to use for creating mutex objects |
DestroyMutex | pointer to a function to use for destroying mutex objects |
LockMutex | pointer to a function to use for locking mutex objects |
UnlockMutex | pointer to a function to use for unlocking mutex objects |
flags | bit flags specifying options for '''C_Initialize'''; the flags are defined below |
pReserved | reserved for future use. Should be NULL_PTR for this version of Cryptoki |
The following table defines the flags field:
Table 14, C_Initialize Parameter Flags
Bit Flag | Mask | Meaning |
CKF_LIBRARY_CANT_CREATE_OS_THREADS | 0x00000001 | True if application threads which are executing calls to the library may not use native operating system calls to spawn new threads; false if they may |
CKF_OS_LOCKING_OK | 0x00000002 | True if the library can use the native operation system threading model for locking; false otherwise |
CK_C_INITIALIZE_ARGS_PTR is a pointer to a CK_C_INITIALIZE_ARGS.
|
pointer to a function to use for creating mutex objects. |
|
pointer to a function to use for destroying mutex objects. |
|
pointer to a function to use for locking mutex objects. |
|
pointer to a function to use for unlocking mutex objects. |
|
bit flags specifying options for '''C_Initialize'''; the flags are defined below. |
|
reserved for future use. Should be NULL_PTR for this version of Cryptoki |