### Struct

# Gck Attributes

since: 2

#### Description [src]

    struct GckAttributes {
      /* No available fields */
    }

A set of `GckAttribute` structures.

These attributes contain information about a PKCS11 object. Use `gck_object_get()` or `gck_object_set()` to set and retrieve attributes on an object.

Available since: 2

#### Constructors

###### gck_attributes_new

Create a new empty `GckAttributes` array.

since: 2

###### gck_attributes_new_empty

Creates an GckAttributes array with empty attributes.

since: 2

#### Instance methods

###### gck_attributes_at

Get attribute at the specified index in the attribute array.

since: 2

###### gck_attributes_contains

Check whether the attributes contain a certain attribute.

since: 2

###### gck_attributes_count

Get the number of attributes in this attribute array.

since: 2

###### gck_attributes_dump

Dump the attributes using g_printerr().

since: 2

###### gck_attributes_find

Find an attribute with the specified type in the array.

since: 2

###### gck_attributes_find_boolean

Find an attribute with the specified type in the array.

since: 2

###### gck_attributes_find_date

Find an attribute with the specified type in the array.

since: 2

###### gck_attributes_find_string

Find an attribute with the specified type in the array.

since: 2

###### gck_attributes_find_ulong

Find an attribute with the specified type in the array.

since: 2

###### gck_attributes_ref

Reference this attributes array.

since: 2

###### gck_attributes_to_string

Print out attributes to a string in aform that’s useful for debugging or logging.

since: 2

###### gck_attributes_unref

Unreference this attribute array.

since: 2