Optionalproperties: Partial<{}>Get attribute at the specified index in the attribute array.
Use Attributes.count to determine how many attributes are in the array.
The attribute index to retrieve.
the specified attribute
Get the number of attributes in this attribute array.
The number of contained attributes.
Dump the attributes using g_printerr().
Find an attribute with the specified type in the array.
The attribute (if found) must be of the right size to store a boolean value (ie: CK_BBOOL). If the attribute is marked invalid then it will be treated as not found.
The type of attribute to find.
Whether a value was found or not.
Find an attribute with the specified type in the array.
The attribute (if found) must be of the right size to store a date value (ie: CK_DATE). If the attribute is marked invalid then it will be treated as not found.
The type of attribute to find.
Whether a value was found or not.
Find an attribute with the specified type in the array.
If the attribute is marked invalid then it will be treated as not found.
The resulting string will be null-terminated, and must be freed by the caller
using g_free().
The type of attribute to find.
Whether a value was found or not.
Find an attribute with the specified type in the array.
The attribute (if found) must be of the right size to store a unsigned long value (ie: CK_ULONG). If the attribute is marked invalid then it will be treated as not found.
The type of attribute to find.
Whether a value was found or not.
Print out attributes to a string in aform that's useful for debugging or logging.
The format of the string returned may change in the future.
a newly allocated string
Unreference this attribute array.
When all outstanding references are gone, the array will be freed.
Staticnew
A set of Attribute structures.
These attributes contain information about a PKCS11 object. Use Object.get or Object.set to set and retrieve attributes on an object.