Cryptographic Token Interface Standard |
PKCS#11 |
Data Fields | |
CK_ATTRIBUTE_TYPE | type |
the attribute type. More... | |
CK_VOID_PTR | pValue |
pointer to the value of the attribute. More... | |
CK_USHORT | usValueLen |
length in bytes of the value. More... |
type | the attribute type |
pValue | pointer to the value of the attribute |
usValueLen | length in bytes of the value |
If an attribute has no value, then pValue = NULL_PTR, and usValueLen = 0. An array of CK_ATTRIBUTEs is called a "template" and is used for creating, manipulating and searching for objects. Note that pValue 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 attribute type. |
|
pointer to the value of the attribute. |
|
length in bytes of the value. |