Attributes
Object Hierarchy:
Gck.Attributes
Gck.Attributes
Gck.Attributes
Description:
[ CCode ( ref_function = "gck_attributes_ref" , type_id = "gck_attributes_get_type ()" , unref_function = "gck_attributes_unref" ) ] [ Compact ]public class Attributes
A set of [struct@Attribute] structures.
These attributes contain information about a PKCS11 object. Use [method@Object.get] or [method@Object.set] to set and retrieve attributes on an
object.
Content:
Creation methods:
Methods:
public Attributes @ref ()
Reference this attributes array.
public unowned Attribute at (uint index)
Get attribute at the specified index in the attribute array.
public bool contains (Attribute match)
Check whether the attributes contain a certain attribute.
public ulong count ()
Get the number of attributes in this attribute array.
public void dump ()
public unowned Attribute find (ulong attr_type)
Find an attribute with the specified type in the array.
public bool find_boolean (ulong attr_type, out bool value)
Find an attribute with the specified type in the array.
public bool find_date (ulong attr_type, out Date value)
Find an attribute with the specified type in the array.
public bool find_string (ulong attr_type, out string value)
Find an attribute with the specified type in the array.
public bool find_ulong (ulong attr_type, out ulong value)
Find an attribute with the specified type in the array.
public string to_string ()
Print out attributes to a string in aform that's useful for debugging or
logging.
public void unref ()
Unreference this attribute array.