Function
GckAttributenew
Declaration [src]
GckAttribute*
gck_attribute_new (
gulong attr_type,
const guchar* value,
gsize length
)
Parameters
attr_type |
gulong |
The PKCS#11 attribute type to set on the attribute. |
|
value |
const guchar* |
The raw value of the attribute. |
|
The data is owned by the caller of the function. | |
length |
gsize |
The length of the attribute. |
Return value
Returns: | GckAttribute |
The new attribute; when done with the attribute
use |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |