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 |
length in bytes of the parameter. More... |
mechanism | the type of mechanism |
pParameter | pointer to the parameter if required by the mechanism |
ulParameterLen | length in bytes of the parameter |
Note that pParameter is a "void" pointer, facilitating the passing of arbitrary values. Both the application and the Cryptoki library must ensure that the pointer can be safely cast to the expected type (i.e., without word-alignment errors).
CK_MECHANISM_PTR is a pointer to a CK_MECHANISM.
|
the type of mechanism. |
|
pointer to the parameter if required by the mechanism. |
|
length in bytes of the parameter. |