| Cryptographic Token Interface Standard |
PKCS#11 |
Data Fields | |
| CK_MECHANISM_TYPE | mechanism |
| the type of mechanism. More... | |
| CK_VOID_PTR | pParameter |
| pointer to the parameter if required by the mechanism. More... | |
| CK_ULONG | ulParameterLen |
| mechanism | the type of mechanism |
| pParameter | pointer to the parameter if required by the mechanism |
| usParameterLen | length in bytes of the parameter |
Note that pParameter is a "void" pointer, facilitating the passing of arbitrary values. Both the application and Cryptoki library must ensure that the pointer can be safely cast to the expected type (e.g., without word-alignment errors).
|
|
the type of mechanism. |
|
|
pointer to the parameter if required by the mechanism. |