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_USHORT | usParameterLen |
length in bytes of the parameter. More... |
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 an "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. |
|
length in bytes of the parameter. |