Public Member Functions | |
AttributeContainer (void) | |
~AttributeContainer (void) | |
CK_ATTRIBUTE * | getAttribute (CK_ATTRIBUTE_TYPE type) |
map< CK_ATTRIBUTE_TYPE, CK_ATTRIBUTE * > | getAttributes () |
CK_ATTRIBUTE * | addAttribute (CK_ATTRIBUTE_TYPE type, void *value, size_t size) |
CK_ATTRIBUTE * | addAttribute (CK_ATTRIBUTE_TYPE type, X509_NAME *name) |
CK_ATTRIBUTE * | addAttribute (CK_ATTRIBUTE_TYPE type, ASN1_STRING *string) |
CK_ATTRIBUTE * | addAttribute (CK_ATTRIBUTE_TYPE type, CK_DATE *date, ASN1_STRING *str) |
CK_ATTRIBUTE * | addAttribute (CK_ATTRIBUTE_TYPE type, BIGNUM *num) |
CK_ATTRIBUTE * | addAttribute (CK_ATTRIBUTE_TYPE type, X509 *x509) |
void | clear () |
|
All attribute containers start out empty |
|
frees memory |
|
|
|
|
|
This method, along with all the others, creates a new ATTRIBUTE and populates the value and length from the parameters.
|
|
This method, along with all the others, creates a new ATTRIBUTE and populates the value and length from the parameters.
|
|
This method, along with all the others, creates a new ATTRIBUTE and populates the value and length from the parameters.
|
|
This method, along with all the others, creates a new ATTRIBUTE and populates the value and length from the parameters. THIS method does not DER encoded the data into the attrib as other methods do. Cryptoki expects it to be in a special form from the ASN1_STRING value and converts it to the correctly formatted CRYPTOKI CK_DATE pointed to by 'date'.
|
|
This method, along with all the others, creates a new ATTRIBUTE and populates the value and length from the parameters.
|
|
This method, along with all the others, creates a new ATTRIBUTE and populates the value and length from the parameters.
|
|
clears all attributes |