![]() | Cryptographic Token Interface Standard |
PKCS#11 |
Data Fields | |
CK_PARAM_TYPE | type |
CK_VOID_PTR | pValue |
CK_ULONGulValueLen |
type | the parameter type |
pValue | pointer to the value of the parameter |
ulValueLen | length in bytes of the value |
If a parameter has no value, then ulValueLen = 0, and the value of pValue is irrelevant. Note that pValue 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_OTP_PARAM_PTR is a pointer to a CK_OTP_PARAM.
CK_OTP_PARAMS; CK_OTP_PARAMS_PTR CK_OTP_PARAMS is a structure that is used to provide parameters for OTP mechanisms in a generic fashion. It is defined as follows: