{"meta":{"ns":"Gck","version":"1","generator":"gi-docgen","generator-version":"2025.3"},"symbols":[{"type":"bitfield","name":"SessionOptions","ctype":"GckSessionOptions","summary":"Options for creating sessions.","deprecated":null},{"type":"bitfield","name":"UriFlags","ctype":"GckUriFlags","summary":"Which parts of the PKCS#11 URI will be parsed or formatted. These can be combined.","deprecated":null},{"type":"callback","name":"Allocator","ctype":"GckAllocator","summary":"An allocator used to allocate data for the attributes in this [struct@Attributes] set.  This is a function that ...","deprecated":null},{"type":"class","name":"Enumerator","ctype":"GckEnumerator","summary":"Can be used to enumerate through PKCS#11 objects. It will automatically create sessions as necessary.  Use [func@modules_enumerate_objects] or ...","deprecated":null},{"type":"class","name":"Module","ctype":"GckModule","summary":"Holds a loaded PKCS#11 module. A PKCS#11 module is a shared library.  You can load and initialize a ...","deprecated":null},{"type":"class","name":"Object","ctype":"GckObject","summary":"Holds a handle to a PKCS11 object such as a key or certificate. Token objects are stored on the ...","deprecated":null},{"type":"class","name":"Password","ctype":"GckPassword","summary":"Represents a password which is requested of the user.  This is used in conjuction with [class@Gio.TlsInteraction]. `GckPassword` is ...","deprecated":null},{"type":"class","name":"Session","ctype":"GckSession","summary":"Represents an open PKCS11 session.  Before performing any PKCS11 operations, a session must be opened. This is analogous ...","deprecated":null},{"type":"class","name":"Slot","ctype":"GckSlot","summary":"Represents a PKCS#11 slot that can contain a token.  A PKCS#11 slot can contain a token. As an ...","deprecated":null},{"type":"constant","name":"INVALID","ident":"GCK_INVALID","summary":"Used as a terminator at the end of variable argument lists.","deprecated":null},{"type":"constant","name":"MAJOR_VERSION","ident":"GCK_MAJOR_VERSION","summary":"The major version number of the Gck library.","deprecated":null},{"type":"constant","name":"MICRO_VERSION","ident":"GCK_MICRO_VERSION","summary":"The micro version number of the Gck library.","deprecated":null},{"type":"constant","name":"MINOR_VERSION","ident":"GCK_MINOR_VERSION","summary":"The minor version number of the Gck library.","deprecated":null},{"type":"constant","name":"URI_FOR_MODULE_WITH_VERSION","ident":"GCK_URI_FOR_MODULE_WITH_VERSION","summary":"The URI will match specific version of modules. To be used as a GckUriFlags argument.","deprecated":null},{"type":"constant","name":"URI_FOR_OBJECT_ON_TOKEN","ident":"GCK_URI_FOR_OBJECT_ON_TOKEN","summary":"The URI will match objects on a specific token. To be used as a GckUriFlags argument.","deprecated":null},{"type":"constant","name":"URI_FOR_OBJECT_ON_TOKEN_AND_MODULE","ident":"GCK_URI_FOR_OBJECT_ON_TOKEN_AND_MODULE","summary":"The token inserted into a device with a specific module.","deprecated":null},{"type":"constant","name":"VENDOR_CODE","ident":"GCK_VENDOR_CODE","summary":"Custom PKCS#11 errors that originate from the gck library, are based at this error code.","deprecated":null},{"type":"content","name":"About PKCS#11","href":"pkcs11-links.html","summary":" About PKCS#11 ============= PKCS#11 is an API for storing and using crypto objects, and performing crypto operations on ..."},{"type":"ctor","name":"from_handle","type_name":"Object","ident":"gck_object_from_handle","summary":"Initialize a GckObject from a raw PKCS#11 handle. Normally you would use [method@Session.create_object] or [method@Session.find_objects] to access objects.","deprecated":null},{"type":"ctor","name":"new","type_name":"Module","ident":"gck_module_new","summary":"Create a [class@Module] representing a PKCS#11 module. It is assumed that this the module is already initialized. In addition ...","deprecated":null},{"type":"ctor","name":"new","type_name":"Attribute","ident":"gck_attribute_new","summary":"Create a new PKCS#11 attribute. The value will be copied into the new attribute.","deprecated":null},{"type":"ctor","name":"new","type_name":"Attributes","ident":"gck_attributes_new","summary":"Create a new empty `GckAttributes` array.  The returned set of attributes is floating, and should either be passed ...","deprecated":null},{"type":"ctor","name":"new","type_name":"Builder","ident":"gck_builder_new","summary":"Create a new `GckBuilder` not allocated on the stack, so it can be shared across a single scope, and ...","deprecated":null},{"type":"ctor","name":"new","type_name":"UriData","ident":"gck_uri_data_new","summary":"Allocate a new GckUriData structure. None of the fields will be set.","deprecated":null},{"type":"ctor","name":"new_boolean","type_name":"Attribute","ident":"gck_attribute_new_boolean","summary":"Initialize a PKCS#11 attribute to boolean. This will result in a CK_BBOOL attribute from the PKCS#11 specs.","deprecated":null},{"type":"ctor","name":"new_date","type_name":"Attribute","ident":"gck_attribute_new_date","summary":"Initialize a PKCS#11 attribute to a date. This will result in a CK_DATE attribute from the PKCS#11 specs.","deprecated":null},{"type":"ctor","name":"new_empty","type_name":"Attribute","ident":"gck_attribute_new_empty","summary":"Create a new PKCS#11 attribute with empty data.","deprecated":null},{"type":"ctor","name":"new_empty","type_name":"Attributes","ident":"gck_attributes_new_empty","summary":"Creates an GckAttributes array with empty attributes  Terminate the argument list with [const@INVALID].  The returned set of ...","deprecated":null},{"type":"ctor","name":"new_invalid","type_name":"Attribute","ident":"gck_attribute_new_invalid","summary":"Create a new PKCS#11 attribute as 'invalid' or 'not found' state. Specifically this sets the value length to (CK_ULONG)-1 ...","deprecated":null},{"type":"ctor","name":"new_string","type_name":"Attribute","ident":"gck_attribute_new_string","summary":"Initialize a PKCS#11 attribute to a string. This will result in an attribute containing the text, but not the ...","deprecated":null},{"type":"ctor","name":"new_ulong","type_name":"Attribute","ident":"gck_attribute_new_ulong","summary":"Initialize a PKCS#11 attribute to a unsigned long. This will result in a `CK_ULONG` attribute from the PKCS#11 specs.","deprecated":null},{"type":"enum","name":"BuilderFlags","ctype":"GckBuilderFlags","summary":"Flags to be used with a [method@Builder.init_full] and [ctor@Builder.new].","deprecated":null},{"type":"enum","name":"Error","ctype":"GckError","summary":"Various error codes. All the `CKR_XXX` error codes from PKCS#11 are also relevant error codes.  Note that errors ...","deprecated":null},{"type":"enum","name":"UriError","ctype":"GckUriError","summary":"Various error codes used with PKCS#11 URIs","deprecated":null},{"type":"function","name":"list_get_boxed_type","ident":"gck_list_get_boxed_type","summary":"No description available.","deprecated":null},{"type":"function","name":"list_ref_copy","ident":"gck_list_ref_copy","summary":"Copy a list of GObject based pointers. All objects in the list will be reffed and the list will ...","deprecated":null},{"type":"function","name":"list_unref_free","ident":"gck_list_unref_free","summary":"Free a list of GObject based pointers. All objects in the list will be unreffed and then the list ...","deprecated":null},{"type":"function","name":"mechanisms_check","ident":"gck_mechanisms_check","summary":"Check whether all the mechanism types are in the list.  The arguments should be a list of CKM_XXX ...","deprecated":null},{"type":"function","name":"message_from_rv","ident":"gck_message_from_rv","summary":"Get a message for a PKCS#11 return value or error code. Do not pass `CKR_OK` or other non-errors to ...","deprecated":null},{"type":"function","name":"modules_enumerate_objects","ident":"gck_modules_enumerate_objects","summary":"Setup an enumerator for listing matching objects on the modules.  This call will not block but will return ...","deprecated":null},{"type":"function","name":"modules_enumerate_uri","ident":"gck_modules_enumerate_uri","summary":"Enumerate objects that match a URI.  This call will not block. Use the [class@Enumerator] functions in order to ...","deprecated":null},{"type":"function","name":"modules_get_slots","ident":"gck_modules_get_slots","summary":"Get a list of slots for across all of the modules.","deprecated":null},{"type":"function","name":"modules_initialize_registered","ident":"gck_modules_initialize_registered","summary":"Load and initialize all the registered modules.","deprecated":null},{"type":"function","name":"modules_initialize_registered_async","ident":"gck_modules_initialize_registered_async","summary":"Load and initialize all the registered modules asynchronously.","deprecated":null},{"type":"function","name":"modules_initialize_registered_finish","ident":"gck_modules_initialize_registered_finish","summary":"Finishes the asynchronous operation to initialize the registered PKCS#11 modules.","deprecated":null},{"type":"function","name":"modules_object_for_uri","ident":"gck_modules_object_for_uri","summary":"Find an object that matches a URI.  This call can block. Use [func@modules_enumerate_uri] for a non-blocking version.","deprecated":null},{"type":"function","name":"modules_objects_for_uri","ident":"gck_modules_objects_for_uri","summary":"Find objects that match a URI.  This call can block. Use [func@modules_enumerate_uri] for a non-blocking version.","deprecated":null},{"type":"function","name":"modules_token_for_uri","ident":"gck_modules_token_for_uri","summary":"Lookup a token that matches the URI.","deprecated":null},{"type":"function","name":"modules_tokens_for_uri","ident":"gck_modules_tokens_for_uri","summary":"Lookup a token that matches the URI.","deprecated":null},{"type":"function","name":"objects_from_handle_array","ident":"gck_objects_from_handle_array","summary":"Initialize a list of GckObject from raw PKCS#11 handles. The handles argument must contain contiguous CK_OBJECT_HANDLE handles in an array.","deprecated":null},{"type":"function","name":"slots_enumerate_objects","ident":"gck_slots_enumerate_objects","summary":"Setup an enumerator for listing matching objects on the slots.  If the @match #GckAttributes is floating, it is ...","deprecated":null},{"type":"function","name":"string_from_chars","ident":"gck_string_from_chars","summary":"Create a string from a set of PKCS#11 characters. This is similar to [func@GLib.strndup], except for that it also ...","deprecated":null},{"type":"function","name":"string_to_chars","ident":"gck_string_to_chars","summary":"Create a space padded PKCS#11 string from a null terminated string. The string must be shorter than the buffer ...","deprecated":null},{"type":"function","name":"uri_build","ident":"gck_uri_build","summary":"Build a PKCS#11 URI. The various parts relevant to the flags specified will be used to build the URI.","deprecated":null},{"type":"function","name":"uri_parse","ident":"gck_uri_parse","summary":"Parse a PKCS#11 URI for use in a given context.  The result will contain the fields that are ...","deprecated":null},{"type":"function","name":"value_to_boolean","ident":"gck_value_to_boolean","summary":"Convert `CK_BBOOL` type memory to a boolean.","deprecated":null},{"type":"function","name":"value_to_ulong","ident":"gck_value_to_ulong","summary":"Convert `CK_ULONG` type memory to a boolean.","deprecated":null},{"type":"function_macro","name":"CHECK_VERSION","ident":"GCK_CHECK_VERSION","summary":"Checks the version of the Gck library that is being compiled against.  ``` #if !GCK_CHECK_VERSION (3, 0, 0) ...","deprecated":null},{"type":"function_macro","name":"mechanisms_at","ident":"gck_mechanisms_at","summary":"Get a specific mechanism in a the set.","deprecated":null},{"type":"function_macro","name":"mechanisms_length","ident":"gck_mechanisms_length","summary":"Get the number of GckMechanismInfo in the set.","deprecated":null},{"type":"interface","name":"ObjectCache","ctype":"GckObjectCache","summary":"An interface implemented by derived classes of [class@Object] to indicate which attributes they'd like an enumerator to retrieve.  ...","deprecated":null},{"type":"method","name":"add_all","type_name":"Builder","ident":"gck_builder_add_all","summary":"Add all the @attrs attributes to the builder. The attributes are added uncondititionally whether or not attributes with the ..."},{"type":"method","name":"add_attribute","type_name":"Builder","ident":"gck_builder_add_attribute","summary":"Add an attribute to the builder. The attribute is added unconditionally whether or not an attribute with the same ..."},{"type":"method","name":"add_boolean","type_name":"Builder","ident":"gck_builder_add_boolean","summary":"Add a new attribute to the builder for the boolean @value. Unconditionally adds a new attribute, even if one ..."},{"type":"method","name":"add_data","type_name":"Builder","ident":"gck_builder_add_data","summary":"Add a new attribute to the builder with an arbitrary value. Unconditionally adds a new attribute, even if one ..."},{"type":"method","name":"add_date","type_name":"Builder","ident":"gck_builder_add_date","summary":"Add a new attribute to the builder for the date @value. Unconditionally adds a new attribute, even if one ..."},{"type":"method","name":"add_empty","type_name":"Builder","ident":"gck_builder_add_empty","summary":"Add a new attribute to the builder that is empty. Unconditionally adds a new attribute, even if one with ..."},{"type":"method","name":"add_except","type_name":"Builder","ident":"gck_builder_add_except","summary":"Add the attributes in @attrs to the builder, with the exception of those in the argument list. The attributes ..."},{"type":"method","name":"add_exceptv","type_name":"Builder","ident":"gck_builder_add_exceptv","summary":"Add the attributes in @attrs to the builder, with the exception of those whose types are specified in @except_types. ..."},{"type":"method","name":"add_invalid","type_name":"Builder","ident":"gck_builder_add_invalid","summary":"Add a new attribute to the builder that is invalid in the PKCS#11 sense. Unconditionally adds a new attribute, ..."},{"type":"method","name":"add_only","type_name":"Builder","ident":"gck_builder_add_only","summary":"Add the attributes specified in the argument list from @attrs to the builder. The attributes are added uncondititionally whether ..."},{"type":"method","name":"add_onlyv","type_name":"Builder","ident":"gck_builder_add_onlyv","summary":"Add the attributes with the types in @only_types from @attrs to the builder. The attributes are added uncondititionally whether ..."},{"type":"method","name":"add_string","type_name":"Builder","ident":"gck_builder_add_string","summary":"Add a new attribute to the builder for the string @value or %NULL. Unconditionally adds a new attribute, even ..."},{"type":"method","name":"add_ulong","type_name":"Builder","ident":"gck_builder_add_ulong","summary":"Add a new attribute to the builder for the unsigned long @value. Unconditionally adds a new attribute, even if ..."},{"type":"method","name":"at","type_name":"Attributes","ident":"gck_attributes_at","summary":"Get attribute at the specified index in the attribute array.  Use [method@Attributes.count] to determine how many attributes are ..."},{"type":"method","name":"cache_lookup","type_name":"Object","ident":"gck_object_cache_lookup","summary":"Lookup attributes in the cache, or retrieve them from the object if necessary.  If @object is a #GckObjectCache ...","deprecated":null},{"type":"method","name":"cache_lookup_async","type_name":"Object","ident":"gck_object_cache_lookup_async","summary":"Lookup attributes in the cache, or retrieve them from the object if necessary.  If @object is a #GckObjectCache ...","deprecated":null},{"type":"method","name":"cache_lookup_finish","type_name":"Object","ident":"gck_object_cache_lookup_finish","summary":"Complete an operation to lookup attributes in the cache or retrieve them from the object if necessary.","deprecated":null},{"type":"method","name":"clear","type_name":"Attribute","ident":"gck_attribute_clear","summary":"Clear allocated memory held by a #GckAttribute.  This attribute must have been allocated by a Gck library function, ..."},{"type":"method","name":"clear","type_name":"Builder","ident":"gck_builder_clear","summary":"Clear the builder and release all allocated memory. The builder may be used again to build another set of ..."},{"type":"method","name":"contains","type_name":"Attributes","ident":"gck_attributes_contains","summary":"Check whether the attributes contain a certain attribute."},{"type":"method","name":"copy","type_name":"Builder","ident":"gck_builder_copy","summary":"Make a copy of the builder and its state. The new builder is allocated with [ctor@Builder.new] and should be ..."},{"type":"method","name":"copy","type_name":"MechanismInfo","ident":"gck_mechanism_info_copy","summary":"Make a copy of the mechanism info."},{"type":"method","name":"copy","type_name":"ModuleInfo","ident":"gck_module_info_copy","summary":"Make a copy of the module info."},{"type":"method","name":"copy","type_name":"SessionInfo","ident":"gck_session_info_copy","summary":"Make a new copy of a session info structure."},{"type":"method","name":"copy","type_name":"SlotInfo","ident":"gck_slot_info_copy","summary":"Make a copy of the slot info."},{"type":"method","name":"copy","type_name":"TokenInfo","ident":"gck_token_info_copy","summary":"Make a copy of the token info."},{"type":"method","name":"copy","type_name":"UriData","ident":"gck_uri_data_copy","summary":"Copy a #GckUriData"},{"type":"method","name":"count","type_name":"Attributes","ident":"gck_attributes_count","summary":"Get the number of attributes in this attribute array."},{"type":"method","name":"create_object","type_name":"Session","ident":"gck_session_create_object","summary":"Create a new PKCS#11 object. This call may block for an indefinite period.  If the @attrs #GckAttributes is ...","deprecated":null},{"type":"method","name":"create_object_async","type_name":"Session","ident":"gck_session_create_object_async","summary":"Create a new PKCS#11 object. This call will return immediately and complete asynchronously.  If @attrs is a floating ...","deprecated":null},{"type":"method","name":"create_object_finish","type_name":"Session","ident":"gck_session_create_object_finish","summary":"Get the result of creating a new PKCS#11 object.","deprecated":null},{"type":"method","name":"decrypt","type_name":"Session","ident":"gck_session_decrypt","summary":"Decrypt data in a mechanism specific manner. This call may block for an indefinite period.","deprecated":null},{"type":"method","name":"decrypt_async","type_name":"Session","ident":"gck_session_decrypt_async","summary":"Decrypt data in a mechanism specific manner. This call will return immediately and complete asynchronously.","deprecated":null},{"type":"method","name":"decrypt_finish","type_name":"Session","ident":"gck_session_decrypt_finish","summary":"Get the result of an decryption operation.","deprecated":null},{"type":"method","name":"decrypt_full","type_name":"Session","ident":"gck_session_decrypt_full","summary":"Decrypt data in a mechanism specific manner. This call may block for an indefinite period.","deprecated":null},{"type":"method","name":"derive_key","type_name":"Session","ident":"gck_session_derive_key","summary":"Derive a key from another key. This call may block for an indefinite period.  If the @attrs #GckAttributes ...","deprecated":null},{"type":"method","name":"derive_key_async","type_name":"Session","ident":"gck_session_derive_key_async","summary":"Derive a key from another key. This call will return immediately and complete asynchronously.  If the @attrs #GckAttributes ...","deprecated":null},{"type":"method","name":"derive_key_finish","type_name":"Session","ident":"gck_session_derive_key_finish","summary":"Get the result of a derive key operation.","deprecated":null},{"type":"method","name":"derive_key_full","type_name":"Session","ident":"gck_session_derive_key_full","summary":"Derive a key from another key. This call may block for an indefinite period.  If the @attrs #GckAttributes ...","deprecated":null},{"type":"method","name":"destroy","type_name":"Object","ident":"gck_object_destroy","summary":"Destroy a PKCS#11 object, deleting it from storage or the session. This call may block for an indefinite period.","deprecated":null},{"type":"method","name":"destroy_async","type_name":"Object","ident":"gck_object_destroy_async","summary":"Destroy a PKCS#11 object, deleting it from storage or the session. This call will return immediately and complete asynchronously.","deprecated":null},{"type":"method","name":"destroy_finish","type_name":"Object","ident":"gck_object_destroy_finish","summary":"Get the status of the operation to destroy a PKCS#11 object, begun with gck_object_destroy_async().","deprecated":null},{"type":"method","name":"dump","type_name":"Attribute","ident":"gck_attribute_dump","summary":"Dump the specified attribute using g_printerr()."},{"type":"method","name":"dump","type_name":"Attributes","ident":"gck_attributes_dump","summary":"Dump the attributes using g_printerr()."},{"type":"method","name":"dup","type_name":"Attribute","ident":"gck_attribute_dup","summary":"Duplicate the PKCS#11 attribute. All value memory is also copied.  The @attr must have been allocated or initialized ..."},{"type":"method","name":"encrypt","type_name":"Session","ident":"gck_session_encrypt","summary":"Encrypt data in a mechanism specific manner. This call may block for an indefinite period.","deprecated":null},{"type":"method","name":"encrypt_async","type_name":"Session","ident":"gck_session_encrypt_async","summary":"Encrypt data in a mechanism specific manner. This call will return immediately and complete asynchronously.","deprecated":null},{"type":"method","name":"encrypt_finish","type_name":"Session","ident":"gck_session_encrypt_finish","summary":"Get the result of an encryption operation.","deprecated":null},{"type":"method","name":"encrypt_full","type_name":"Session","ident":"gck_session_encrypt_full","summary":"Encrypt data in a mechanism specific manner. This call may block for an indefinite period.","deprecated":null},{"type":"method","name":"end","type_name":"Builder","ident":"gck_builder_end","summary":"Complete the #GckBuilder, and return the attributes contained in the builder. The #GckBuilder will be cleared after this function ..."},{"type":"method","name":"enumerate_objects","type_name":"Session","ident":"gck_session_enumerate_objects","summary":"Setup an enumerator for listing matching objects available via this session.  If @match is a floating reference, it ...","deprecated":null},{"type":"method","name":"enumerate_objects","type_name":"Slot","ident":"gck_slot_enumerate_objects","summary":"Setup an enumerator for listing matching objects on the slot.  If the @match #GckAttributes is floating, it is ...","deprecated":null},{"type":"method","name":"equal","type_name":"Module","ident":"gck_module_equal","summary":"Checks equality of two modules. Two GckModule objects can point to the same underlying PKCS#11 module.","deprecated":null},{"type":"method","name":"equal","type_name":"Object","ident":"gck_object_equal","summary":"Checks equality of two objects. Two GckObject objects can point to the same underlying PKCS#11 object.","deprecated":null},{"type":"method","name":"equal","type_name":"Slot","ident":"gck_slot_equal","summary":"Checks equality of two slots. Two GckSlot objects can point to the same underlying PKCS#11 slot.","deprecated":null},{"type":"method","name":"equal","type_name":"Attribute","ident":"gck_attribute_equal","summary":"Compare two attributes. Useful with GHashTable."},{"type":"method","name":"fill","type_name":"ObjectCache","ident":"gck_object_cache_fill","summary":"Adds the attributes to the set cached on this object. If an attribute is already present in the cache ...","deprecated":null},{"type":"method","name":"find","type_name":"Attributes","ident":"gck_attributes_find","summary":"Find an attribute with the specified type in the array."},{"type":"method","name":"find","type_name":"Builder","ident":"gck_builder_find","summary":"Find an attribute in the builder. Both valid and invalid attributes (in the PKCS#11 sense) are returned. If multiple ..."},{"type":"method","name":"find_boolean","type_name":"Attributes","ident":"gck_attributes_find_boolean","summary":"Find an attribute with the specified type in the array.  The attribute (if found) must be of the ..."},{"type":"method","name":"find_boolean","type_name":"Builder","ident":"gck_builder_find_boolean","summary":"Find a boolean attribute in the builder that has the type @attr_type, is of the correct boolean size, and ..."},{"type":"method","name":"find_date","type_name":"Attributes","ident":"gck_attributes_find_date","summary":"Find an attribute with the specified type in the array.  The attribute (if found) must be of the ..."},{"type":"method","name":"find_date","type_name":"Builder","ident":"gck_builder_find_date","summary":"Find a date attribute in the builder that has the type @attr_type, is of the correct date size, and ..."},{"type":"method","name":"find_handles","type_name":"Session","ident":"gck_session_find_handles","summary":"Find the objects matching the passed attributes. This call may block for an indefinite period.  If @match is ...","deprecated":null},{"type":"method","name":"find_handles_async","type_name":"Session","ident":"gck_session_find_handles_async","summary":"Find the objects matching the passed attributes. This call will return immediately and complete asynchronously.  If @match is ...","deprecated":null},{"type":"method","name":"find_handles_finish","type_name":"Session","ident":"gck_session_find_handles_finish","summary":"Get the result of a find handles operation.","deprecated":null},{"type":"method","name":"find_objects","type_name":"Session","ident":"gck_session_find_objects","summary":"Find the objects matching the passed attributes. This call may block for an indefinite period.  If @match is ...","deprecated":null},{"type":"method","name":"find_objects_async","type_name":"Session","ident":"gck_session_find_objects_async","summary":"Find the objects matching the passed attributes. This call will return immediately and complete asynchronously.  If the @match ...","deprecated":null},{"type":"method","name":"find_objects_finish","type_name":"Session","ident":"gck_session_find_objects_finish","summary":"Get the result of a find operation.","deprecated":null},{"type":"method","name":"find_string","type_name":"Attributes","ident":"gck_attributes_find_string","summary":"Find an attribute with the specified type in the array.  If the attribute is marked invalid then it ..."},{"type":"method","name":"find_string","type_name":"Builder","ident":"gck_builder_find_string","summary":"Find a string attribute in the builder that has the type @attr_type, has a non %NULL value pointer, and ..."},{"type":"method","name":"find_ulong","type_name":"Attributes","ident":"gck_attributes_find_ulong","summary":"Find an attribute with the specified type in the array.  The attribute (if found) must be of the ..."},{"type":"method","name":"find_ulong","type_name":"Builder","ident":"gck_builder_find_ulong","summary":"Find a unsigned long attribute in the builder that has the type @attr_type, is of the correct unsigned long ..."},{"type":"method","name":"free","type_name":"Attribute","ident":"gck_attribute_free","summary":"Free an attribute and its allocated memory. These is usually used with attributes that are allocated by [ctor@Attribute.new] or ..."},{"type":"method","name":"free","type_name":"MechanismInfo","ident":"gck_mechanism_info_free","summary":"Free the GckMechanismInfo and associated resources."},{"type":"method","name":"free","type_name":"ModuleInfo","ident":"gck_module_info_free","summary":"Free a GckModuleInfo structure."},{"type":"method","name":"free","type_name":"SessionInfo","ident":"gck_session_info_free","summary":"Free the GckSessionInfo structure and all associated memory."},{"type":"method","name":"free","type_name":"SlotInfo","ident":"gck_slot_info_free","summary":"Free the GckSlotInfo and associated resources."},{"type":"method","name":"free","type_name":"TokenInfo","ident":"gck_token_info_free","summary":"Free the GckTokenInfo and associated resources."},{"type":"method","name":"free","type_name":"UriData","ident":"gck_uri_data_free","summary":"Free a #GckUriData."},{"type":"method","name":"generate_key_pair","type_name":"Session","ident":"gck_session_generate_key_pair","summary":"Generate a new key pair of public and private keys. This call may block for an indefinite period.  ...","deprecated":null},{"type":"method","name":"generate_key_pair_async","type_name":"Session","ident":"gck_session_generate_key_pair_async","summary":"Generate a new key pair of public and private keys. This call will return immediately and complete asynchronously.  ...","deprecated":null},{"type":"method","name":"generate_key_pair_finish","type_name":"Session","ident":"gck_session_generate_key_pair_finish","summary":"Get the result of a generate key pair operation.","deprecated":null},{"type":"method","name":"generate_key_pair_full","type_name":"Session","ident":"gck_session_generate_key_pair_full","summary":"Generate a new key pair of public and private keys. This call may block for an indefinite period.  ...","deprecated":null},{"type":"method","name":"get","type_name":"Object","ident":"gck_object_get","summary":"Get the specified attributes from the object. This call may block for an indefinite period.","deprecated":null},{"type":"method","name":"get_async","type_name":"Object","ident":"gck_object_get_async","summary":"Get the specified attributes from the object. The attributes will be cleared of their current values, and new attributes ...","deprecated":null},{"type":"method","name":"get_attributes","type_name":"ObjectCache","ident":"gck_object_cache_get_attributes","summary":"Gets the attributes cached on this object.","deprecated":null},{"type":"method","name":"get_boolean","type_name":"Attribute","ident":"gck_attribute_get_boolean","summary":"Get the CK_BBOOL of a PKCS#11 attribute. No conversion is performed. It is an error to pass an attribute ..."},{"type":"method","name":"get_chained","type_name":"Enumerator","ident":"gck_enumerator_get_chained","summary":"Get the enumerator that will be run after all objects from this one are seen.","deprecated":null},{"type":"method","name":"get_data","type_name":"Object","ident":"gck_object_get_data","summary":"Get the data for the specified attribute from the object. For convenience the returned data has a null terminator. ...","deprecated":null},{"type":"method","name":"get_data","type_name":"Attribute","ident":"gck_attribute_get_data","summary":"Get the raw value in the attribute.  This is useful from scripting languages. C callers will generally access ..."},{"type":"method","name":"get_data_async","type_name":"Object","ident":"gck_object_get_data_async","summary":"Get the data for the specified attribute from the object.  This call will return immediately and complete asynchronously.","deprecated":null},{"type":"method","name":"get_data_finish","type_name":"Object","ident":"gck_object_get_data_finish","summary":"Get the result of an operation to get attribute data from an object. For convenience the returned data has ...","deprecated":null},{"type":"method","name":"get_data_full","type_name":"Object","ident":"gck_object_get_data_full","summary":"Get the data for the specified attribute from the object. For convenience the returned data has an extra null ...","deprecated":null},{"type":"method","name":"get_date","type_name":"Attribute","ident":"gck_attribute_get_date","summary":"Get the CK_DATE of a PKCS#11 attribute. No conversion is performed. It is an error to pass an attribute ..."},{"type":"method","name":"get_finish","type_name":"Object","ident":"gck_object_get_finish","summary":"Get the result of a get operation and return specified attributes from the object.  No extra references are ...","deprecated":null},{"type":"method","name":"get_full","type_name":"Object","ident":"gck_object_get_full","summary":"Get the specified attributes from the object. This call may block for an indefinite period.  No extra references ...","deprecated":null},{"type":"method","name":"get_functions","type_name":"Module","ident":"gck_module_get_functions","summary":"Get the PKCS#11 function list for the module.","deprecated":null},{"type":"method","name":"get_handle","type_name":"Object","ident":"gck_object_get_handle","summary":"Get the raw PKCS#11 handle of a GckObject.","deprecated":null},{"type":"method","name":"get_handle","type_name":"Session","ident":"gck_session_get_handle","summary":"Get the raw PKCS#11 session handle from a session object.","deprecated":null},{"type":"method","name":"get_handle","type_name":"Slot","ident":"gck_slot_get_handle","summary":"Get the raw PKCS#11 handle of a slot.","deprecated":null},{"type":"method","name":"get_info","type_name":"Module","ident":"gck_module_get_info","summary":"Get the info about a PKCS#11 module.","deprecated":null},{"type":"method","name":"get_info","type_name":"Session","ident":"gck_session_get_info","summary":"Get information about the session.","deprecated":null},{"type":"method","name":"get_info","type_name":"Slot","ident":"gck_slot_get_info","summary":"Get the information for this slot.","deprecated":null},{"type":"method","name":"get_interaction","type_name":"Enumerator","ident":"gck_enumerator_get_interaction","summary":"Get the interaction used when a pin is needed","deprecated":null},{"type":"method","name":"get_interaction","type_name":"Session","ident":"gck_session_get_interaction","summary":"Get the interaction object set on this session, which is used to prompt for pins and the like.","deprecated":null},{"type":"method","name":"get_key","type_name":"Password","ident":"gck_password_get_key","summary":"If the password request is to unlock a PKCS#11 key, then this is the the object representing that key.","deprecated":null},{"type":"method","name":"get_mechanism_info","type_name":"Slot","ident":"gck_slot_get_mechanism_info","summary":"Get information for the specified mechanism.","deprecated":null},{"type":"method","name":"get_mechanisms","type_name":"Slot","ident":"gck_slot_get_mechanisms","summary":"Get the available mechanisms for this slot.","deprecated":null},{"type":"method","name":"get_module","type_name":"Object","ident":"gck_object_get_module","summary":"Get the PKCS#11 module to which this object belongs.","deprecated":null},{"type":"method","name":"get_module","type_name":"Password","ident":"gck_password_get_module","summary":"Get the PKCS#11 module that is requesting the password.","deprecated":null},{"type":"method","name":"get_module","type_name":"Session","ident":"gck_session_get_module","summary":"Get the PKCS#11 module to which this session belongs.","deprecated":null},{"type":"method","name":"get_module","type_name":"Slot","ident":"gck_slot_get_module","summary":"Get the module that this slot is on.","deprecated":null},{"type":"method","name":"get_object_type","type_name":"Enumerator","ident":"gck_enumerator_get_object_type","summary":"Get the type of objects created by this enumerator. The type will always either be #GckObject or derived from it.","deprecated":null},{"type":"method","name":"get_options","type_name":"Session","ident":"gck_session_get_options","summary":"Get the options this session was opened with.","deprecated":null},{"type":"method","name":"get_path","type_name":"Module","ident":"gck_module_get_path","summary":"Get the file path of this module. This may not be an absolute path, and usually reflects the path ...","deprecated":null},{"type":"method","name":"get_session","type_name":"Object","ident":"gck_object_get_session","summary":"Get the PKCS#11 session assigned to make calls on when operating on this object.  This will only return ...","deprecated":null},{"type":"method","name":"get_slot","type_name":"Session","ident":"gck_session_get_slot","summary":"Get the PKCS#11 slot to which this session belongs.","deprecated":null},{"type":"method","name":"get_slots","type_name":"Module","ident":"gck_module_get_slots","summary":"Get the GckSlot objects for a given module.","deprecated":null},{"type":"method","name":"get_state","type_name":"Session","ident":"gck_session_get_state","summary":"Get the session state. The state is the various PKCS#11 CKS_XXX flags.","deprecated":null},{"type":"method","name":"get_string","type_name":"Attribute","ident":"gck_attribute_get_string","summary":"Get the string value of a PKCS#11 attribute. No conversion is performed. It is an error to pass an ..."},{"type":"method","name":"get_template","type_name":"Object","ident":"gck_object_get_template","summary":"Get an attribute template from the object. The attr_type must be for an attribute which returns a template.  ...","deprecated":null},{"type":"method","name":"get_template_async","type_name":"Object","ident":"gck_object_get_template_async","summary":"Get an attribute template from the object. The @attr_type must be for an attribute which returns a template.  ...","deprecated":null},{"type":"method","name":"get_template_finish","type_name":"Object","ident":"gck_object_get_template_finish","summary":"Get the result of an operation to get attribute template from an object.","deprecated":null},{"type":"method","name":"get_token","type_name":"Password","ident":"gck_password_get_token","summary":"If the password request is to unlock a PKCS#11 token, then this is the slot containing that token.","deprecated":null},{"type":"method","name":"get_token_info","type_name":"Slot","ident":"gck_slot_get_token_info","summary":"Get the token information for this slot.","deprecated":null},{"type":"method","name":"get_ulong","type_name":"Attribute","ident":"gck_attribute_get_ulong","summary":"Get the CK_ULONG value of a PKCS#11 attribute. No conversion is performed. It is an error to pass an ..."},{"type":"method","name":"has_flags","type_name":"Slot","ident":"gck_slot_has_flags","summary":"Check if the PKCS11 slot has the given flags.","deprecated":null},{"type":"method","name":"hash","type_name":"Module","ident":"gck_module_hash","summary":"Create a hash value for the GckModule.  This function is intended for easily hashing a [class@Module] to add ...","deprecated":null},{"type":"method","name":"hash","type_name":"Object","ident":"gck_object_hash","summary":"Create a hash value for the GckObject.  This function is intended for easily hashing a GckObject to add ...","deprecated":null},{"type":"method","name":"hash","type_name":"Slot","ident":"gck_slot_hash","summary":"Create a hash value for the GckSlot.  This function is intended for easily hashing a GckSlot to add ...","deprecated":null},{"type":"method","name":"hash","type_name":"Attribute","ident":"gck_attribute_hash","summary":"Hash an attribute for use in GHashTable keys."},{"type":"method","name":"init","type_name":"Attribute","ident":"gck_attribute_init","summary":"Initialize a PKCS#11 attribute. This copies the value memory into an internal buffer.  When done with the attribute ..."},{"type":"method","name":"init","type_name":"Builder","ident":"gck_builder_init","summary":"Initialize a stack allocated builder, with the default flags.  This is equivalent to initializing a builder variable with ..."},{"type":"method","name":"init_boolean","type_name":"Attribute","ident":"gck_attribute_init_boolean","summary":"Initialize a PKCS#11 attribute to boolean. This will result in a CK_BBOOL attribute from the PKCS#11 specs.  When ..."},{"type":"method","name":"init_copy","type_name":"Attribute","ident":"gck_attribute_init_copy","summary":"Initialize a PKCS#11 attribute as a copy of another attribute. This copies the value memory as well.  When ..."},{"type":"method","name":"init_date","type_name":"Attribute","ident":"gck_attribute_init_date","summary":"Initialize a PKCS#11 attribute to a date. This will result in a CK_DATE attribute from the PKCS#11 specs.  ..."},{"type":"method","name":"init_empty","type_name":"Attribute","ident":"gck_attribute_init_empty","summary":"Initialize a PKCS#11 attribute to an empty state. The attribute type will be set, but no data will be ..."},{"type":"method","name":"init_full","type_name":"Builder","ident":"gck_builder_init_full","summary":"Initialize a stack allocated builder, with the appropriate flags.  If the %GCK_BUILDER_SECURE_MEMORY flag is specified then non-pageable memory ..."},{"type":"method","name":"init_invalid","type_name":"Attribute","ident":"gck_attribute_init_invalid","summary":"Initialize a PKCS#11 attribute to an 'invalid' or 'not found' state. Specifically this sets the value length to (CK_ULONG)-1 ..."},{"type":"method","name":"init_pin","type_name":"Session","ident":"gck_session_init_pin","summary":"Initialize the user's pin on this slot that this session is opened on. According to the PKCS#11 standards, the ...","deprecated":null},{"type":"method","name":"init_pin_async","type_name":"Session","ident":"gck_session_init_pin_async","summary":"Initialize the user's pin on this slot that this session is opened on. According to the PKCS#11 standards, the ...","deprecated":null},{"type":"method","name":"init_pin_finish","type_name":"Session","ident":"gck_session_init_pin_finish","summary":"Get the result of initializing a user's PIN.","deprecated":null},{"type":"method","name":"init_string","type_name":"Attribute","ident":"gck_attribute_init_string","summary":"Initialize a PKCS#11 attribute to a string. This will result in an attribute containing the text, but not the ..."},{"type":"method","name":"init_ulong","type_name":"Attribute","ident":"gck_attribute_init_ulong","summary":"Initialize a PKCS#11 attribute to a unsigned long. This will result in a CK_ULONG attribute from the PKCS#11 specs. ..."},{"type":"method","name":"is_invalid","type_name":"Attribute","ident":"gck_attribute_is_invalid","summary":"Check if the PKCS#11 attribute represents 'invalid' or 'not found' according to the PKCS#11 spec. That is, having length ..."},{"type":"method","name":"login","type_name":"Session","ident":"gck_session_login","summary":"Login the user on the session. This call may block for an indefinite period.","deprecated":null},{"type":"method","name":"login_async","type_name":"Session","ident":"gck_session_login_async","summary":"Login the user on the session. This call will return immediately and completes asynchronously.","deprecated":null},{"type":"method","name":"login_finish","type_name":"Session","ident":"gck_session_login_finish","summary":"Get the result of a login operation.","deprecated":null},{"type":"method","name":"login_interactive","type_name":"Session","ident":"gck_session_login_interactive","summary":"Login the user on the session requesting the password interactively when necessary. This call may block for an indefinite period.","deprecated":null},{"type":"method","name":"login_interactive_async","type_name":"Session","ident":"gck_session_login_interactive_async","summary":"Login the user on the session prompting for passwords interactively when necessary. This call will return immediately and completes asynchronously.","deprecated":null},{"type":"method","name":"login_interactive_finish","type_name":"Session","ident":"gck_session_login_interactive_finish","summary":"Get the result of a login operation.","deprecated":null},{"type":"method","name":"logout","type_name":"Session","ident":"gck_session_logout","summary":"Log out of the session. This call may block for an indefinite period.","deprecated":null},{"type":"method","name":"logout_async","type_name":"Session","ident":"gck_session_logout_async","summary":"Log out of the session. This call returns immediately and completes asynchronously.","deprecated":null},{"type":"method","name":"logout_finish","type_name":"Session","ident":"gck_session_logout_finish","summary":"Get the result of logging out of a session.","deprecated":null},{"type":"method","name":"match","type_name":"Module","ident":"gck_module_match","summary":"Check whether the PKCS#11 URI matches the module","deprecated":null},{"type":"method","name":"match","type_name":"Slot","ident":"gck_slot_match","summary":"Check whether the PKCS#11 URI matches the slot","deprecated":null},{"type":"method","name":"next","type_name":"Enumerator","ident":"gck_enumerator_next","summary":"Get the next object in the enumerator, or %NULL if there are no more objects.  %NULL is also ...","deprecated":null},{"type":"method","name":"next_async","type_name":"Enumerator","ident":"gck_enumerator_next_async","summary":"Get the next set of objects from the enumerator. This operation completes asynchronously.The maximum number of objects can be ...","deprecated":null},{"type":"method","name":"next_finish","type_name":"Enumerator","ident":"gck_enumerator_next_finish","summary":"Complete an operation to enumerate next objects.  %NULL is also returned if the function fails. Use the @error ...","deprecated":null},{"type":"method","name":"next_n","type_name":"Enumerator","ident":"gck_enumerator_next_n","summary":"Get the next set of objects from the enumerator. The maximum number of objects can be specified with @max_objects. ...","deprecated":null},{"type":"method","name":"open_session","type_name":"Slot","ident":"gck_slot_open_session","summary":"Open a session on the slot. If the 'auto reuse' setting is set, then this may be a recycled ...","deprecated":null},{"type":"method","name":"open_session_async","type_name":"Slot","ident":"gck_slot_open_session_async","summary":"Open a session on the slot. If the 'auto reuse' setting is set, then this may be a recycled ...","deprecated":null},{"type":"method","name":"open_session_finish","type_name":"Slot","ident":"gck_slot_open_session_finish","summary":"Get the result of an open session operation. If the 'auto reuse' setting is set, then this may be ...","deprecated":null},{"type":"method","name":"open_session_full","type_name":"Slot","ident":"gck_slot_open_session_full","summary":"Open a session on the slot. If the 'auto reuse' setting is set, then this may be a recycled ...","deprecated":null},{"type":"method","name":"open_session_full_async","type_name":"Slot","ident":"gck_slot_open_session_full_async","summary":"Open a session on the slot. If the 'auto reuse' setting is set, then this may be a recycled ...","deprecated":null},{"type":"method","name":"ref","type_name":"Attributes","ident":"gck_attributes_ref","summary":"Reference this attributes array."},{"type":"method","name":"ref","type_name":"Builder","ident":"gck_builder_ref","summary":"Add a reference to a builder that was created with [ctor@Builder.new]. The builder must later be unreferenced again with ..."},{"type":"method","name":"ref_sink","type_name":"Attributes","ident":"gck_attributes_ref_sink","summary":"#GckAttributes uses a floating reference count system. [method@Builder.end] and [ctor@Attributes.new_empty] both return floating references.  Calling this function on ..."},{"type":"method","name":"set","type_name":"Object","ident":"gck_object_set","summary":"Set PKCS#11 attributes on an object. This call may block for an indefinite period.  If the @attrs #GckAttributes ...","deprecated":null},{"type":"method","name":"set_all","type_name":"Builder","ident":"gck_builder_set_all","summary":"Set all the @attrs attributes to the builder. If any attributes with the same types are already present in ..."},{"type":"method","name":"set_async","type_name":"Object","ident":"gck_object_set_async","summary":"Set PKCS#11 attributes on an object. This call will return immediately and completes asynchronously.  If the @attrs #GckAttributes ...","deprecated":null},{"type":"method","name":"set_attributes","type_name":"ObjectCache","ident":"gck_object_cache_set_attributes","summary":"Sets the attributes cached on this object.  If the @attrs #GckAttributes is floating, it is consumed.","deprecated":null},{"type":"method","name":"set_boolean","type_name":"Builder","ident":"gck_builder_set_boolean","summary":"Set an attribute on the builder for the boolean @value. If an attribute with @attr_type already exists in the ..."},{"type":"method","name":"set_chained","type_name":"Enumerator","ident":"gck_enumerator_set_chained","summary":"Set a chained enumerator that will be run after all objects from this one are seen.","deprecated":null},{"type":"method","name":"set_data","type_name":"Builder","ident":"gck_builder_set_data","summary":"Set a new attribute to the builder with an arbitrary value. If an attribute with @attr_type already exists in ..."},{"type":"method","name":"set_date","type_name":"Builder","ident":"gck_builder_set_date","summary":"Set an attribute on the builder for the date @value. If an attribute with @attr_type already exists in the ..."},{"type":"method","name":"set_empty","type_name":"Builder","ident":"gck_builder_set_empty","summary":"Set an attribute on the builder that is empty. If an attribute with @attr_type already exists in the builder ..."},{"type":"method","name":"set_finish","type_name":"Object","ident":"gck_object_set_finish","summary":"Get the status of the operation to set attributes on a PKCS#11 object, begun with gck_object_set_async().","deprecated":null},{"type":"method","name":"set_interaction","type_name":"Enumerator","ident":"gck_enumerator_set_interaction","summary":"Set the interaction used when a pin is needed","deprecated":null},{"type":"method","name":"set_interaction","type_name":"Session","ident":"gck_session_set_interaction","summary":"Set the interaction object on this session, which is used to prompt for pins and the like.","deprecated":null},{"type":"method","name":"set_invalid","type_name":"Builder","ident":"gck_builder_set_invalid","summary":"Set an attribute on the builder that is invalid in the PKCS#11 sense. If an attribute with @attr_type already ..."},{"type":"method","name":"set_object_type","type_name":"Enumerator","ident":"gck_enumerator_set_object_type","summary":"Set the type of objects to be created by this enumerator. The type must always be either #GckObject or ...","deprecated":null},{"type":"method","name":"set_object_type_full","type_name":"Enumerator","ident":"gck_enumerator_set_object_type_full","summary":"Set the type of objects to be created by this enumerator. The type must always be either #GckObject or ...","deprecated":null},{"type":"method","name":"set_pin","type_name":"Session","ident":"gck_session_set_pin","summary":"Change the user's pin on this slot that this session is opened on.  This call may block for ...","deprecated":null},{"type":"method","name":"set_pin_async","type_name":"Session","ident":"gck_session_set_pin_async","summary":"Change the user's pin on this slot that this session is opened on.  This call will return immediately ...","deprecated":null},{"type":"method","name":"set_pin_finish","type_name":"Session","ident":"gck_session_set_pin_finish","summary":"Get the result of changing a user's PIN.","deprecated":null},{"type":"method","name":"set_string","type_name":"Builder","ident":"gck_builder_set_string","summary":"Set an attribute on the builder for the string @value or %NULL. If an attribute with @attr_type already exists ..."},{"type":"method","name":"set_template","type_name":"Object","ident":"gck_object_set_template","summary":"Set an attribute template on the object. The attr_type must be for an attribute which contains a template.  ...","deprecated":null},{"type":"method","name":"set_template_async","type_name":"Object","ident":"gck_object_set_template_async","summary":"Set an attribute template on the object. The attr_type must be for an attribute which contains a template.  ...","deprecated":null},{"type":"method","name":"set_template_finish","type_name":"Object","ident":"gck_object_set_template_finish","summary":"Get the result of an operation to set attribute template on an object.","deprecated":null},{"type":"method","name":"set_ulong","type_name":"Builder","ident":"gck_builder_set_ulong","summary":"Set an attribute on the builder for the unsigned long @value. If an attribute with @attr_type already exists in ..."},{"type":"method","name":"sign","type_name":"Session","ident":"gck_session_sign","summary":"Sign data in a mechanism specific manner. This call may block for an indefinite period.","deprecated":null},{"type":"method","name":"sign_async","type_name":"Session","ident":"gck_session_sign_async","summary":"Sign data in a mechanism specific manner. This call will return immediately and complete asynchronously.","deprecated":null},{"type":"method","name":"sign_finish","type_name":"Session","ident":"gck_session_sign_finish","summary":"Get the result of an signing operation.","deprecated":null},{"type":"method","name":"sign_full","type_name":"Session","ident":"gck_session_sign_full","summary":"Sign data in a mechanism specific manner. This call may block for an indefinite period.","deprecated":null},{"type":"method","name":"steal","type_name":"Builder","ident":"gck_builder_steal","summary":"Take the attributes that have been built in the #GckBuilder. The builder will no longer contain any attributes after ..."},{"type":"method","name":"take_data","type_name":"Builder","ident":"gck_builder_take_data","summary":"Add a new attribute to the builder with an arbitrary value. Unconditionally adds a new attribute, even if one ..."},{"type":"method","name":"to_string","type_name":"Attributes","ident":"gck_attributes_to_string","summary":"Print out attributes to a string in aform that's useful for debugging or logging.  The format of the ..."},{"type":"method","name":"unref","type_name":"Attributes","ident":"gck_attributes_unref","summary":"Unreference this attribute array.  When all outstanding references are gone, the array will be freed."},{"type":"method","name":"unwrap_key","type_name":"Session","ident":"gck_session_unwrap_key","summary":"Unwrap a key from a byte stream. This call may block for an indefinite period.  If @attrs is ...","deprecated":null},{"type":"method","name":"unwrap_key_async","type_name":"Session","ident":"gck_session_unwrap_key_async","summary":"Unwrap a key from a byte stream. This call will return immediately and complete asynchronously.  If @attrs is ...","deprecated":null},{"type":"method","name":"unwrap_key_finish","type_name":"Session","ident":"gck_session_unwrap_key_finish","summary":"Get the result of a unwrap key operation.","deprecated":null},{"type":"method","name":"unwrap_key_full","type_name":"Session","ident":"gck_session_unwrap_key_full","summary":"Unwrap a key from a byte stream. This call may block for an indefinite period.  If @attrs is ...","deprecated":null},{"type":"method","name":"update","type_name":"ObjectCache","ident":"gck_object_cache_update","summary":"Update the object cache with given attributes. If an attribute already exists in the cache, it will be updated, ...","deprecated":null},{"type":"method","name":"update_async","type_name":"ObjectCache","ident":"gck_object_cache_update_async","summary":"Update the object cache with given attributes. If an attribute already exists in the cache, it will be updated, ...","deprecated":null},{"type":"method","name":"update_finish","type_name":"ObjectCache","ident":"gck_object_cache_update_finish","summary":"Complete an asynchronous operation to update the object cache with given attributes.","deprecated":null},{"type":"method","name":"verify","type_name":"Session","ident":"gck_session_verify","summary":"Verify data in a mechanism specific manner. This call may block for an indefinite period.","deprecated":null},{"type":"method","name":"verify_async","type_name":"Session","ident":"gck_session_verify_async","summary":"Verify data in a mechanism specific manner. This call returns immediately and completes asynchronously.","deprecated":null},{"type":"method","name":"verify_finish","type_name":"Session","ident":"gck_session_verify_finish","summary":"Get the result of an verify operation.","deprecated":null},{"type":"method","name":"verify_full","type_name":"Session","ident":"gck_session_verify_full","summary":"Verify data in a mechanism specific manner. This call may block for an indefinite period.","deprecated":null},{"type":"method","name":"wrap_key","type_name":"Session","ident":"gck_session_wrap_key","summary":"Wrap a key into a byte stream. This call may block for an indefinite period.","deprecated":null},{"type":"method","name":"wrap_key_async","type_name":"Session","ident":"gck_session_wrap_key_async","summary":"Wrap a key into a byte stream. This call will return immediately and complete asynchronously.","deprecated":null},{"type":"method","name":"wrap_key_finish","type_name":"Session","ident":"gck_session_wrap_key_finish","summary":"Get the result of a wrap key operation.","deprecated":null},{"type":"method","name":"wrap_key_full","type_name":"Session","ident":"gck_session_wrap_key_full","summary":"Wrap a key into a byte stream. This call may block for an indefinite period.","deprecated":null},{"type":"property","name":"app-data","type_name":"Session","summary":"Raw PKCS#11 application data used to open the PKCS#11 session.","deprecated":null},{"type":"property","name":"attributes","type_name":"ObjectCache","summary":"The attributes cached on this object.","deprecated":null},{"type":"property","name":"chained","type_name":"Enumerator","summary":"Chained enumerator, which will be enumerated when this enumerator has enumerated all its objects.","deprecated":null},{"type":"property","name":"functions","type_name":"Module","summary":"The raw PKCS&num;11 function list for the module.  This points to a CK_FUNCTION_LIST structure.","deprecated":null},{"type":"property","name":"handle","type_name":"Object","summary":"The raw PKCS11 handle for this object.","deprecated":null},{"type":"property","name":"handle","type_name":"Session","summary":"The raw CK_SESSION_HANDLE handle of this session.","deprecated":null},{"type":"property","name":"handle","type_name":"Slot","summary":"The raw CK_SLOT_ID handle of this slot.","deprecated":null},{"type":"property","name":"interaction","type_name":"Enumerator","summary":"Interaction object used to ask the user for pins when opening sessions. Used if the session_options of the enumerator ...","deprecated":null},{"type":"property","name":"interaction","type_name":"Session","summary":"Interaction object used to ask the user for pins when opening sessions. Used if the session_options of the enumerator ...","deprecated":null},{"type":"property","name":"key","type_name":"Password","summary":"The PKCS#11 key that the password is being requested for. If this is set then the GckPassword:token property will ...","deprecated":null},{"type":"property","name":"module","type_name":"Object","summary":"The GckModule that this object belongs to.","deprecated":null},{"type":"property","name":"module","type_name":"Password","summary":"The PKCS#11 module that is requesting the password","deprecated":null},{"type":"property","name":"module","type_name":"Session","summary":"The GckModule that this session is opened on.","deprecated":null},{"type":"property","name":"module","type_name":"Slot","summary":"The PKCS11 object that this slot is a part of.","deprecated":null},{"type":"property","name":"object-type","type_name":"Enumerator","summary":"The type of objects that are created by the enumerator. Must be GckObject or derived from it.","deprecated":null},{"type":"property","name":"opening-flags","type_name":"Session","summary":"Raw PKCS#11 flags used to open the PKCS#11 session.","deprecated":null},{"type":"property","name":"options","type_name":"Session","summary":"The options this session was opened with.","deprecated":null},{"type":"property","name":"path","type_name":"Module","summary":"The PKCS&num;11 module file path.  This may be set to NULL if this object was created from an ...","deprecated":null},{"type":"property","name":"session","type_name":"Object","summary":"The PKCS11 session to make calls on when this object needs to perform operations on itself.  If this ...","deprecated":null},{"type":"property","name":"slot","type_name":"Session","summary":"The GckSlot this session is opened on.","deprecated":null},{"type":"property","name":"token","type_name":"Password","summary":"The PKCS#11 token the password is for, if this is set then the GckPassword:object property will be %NULL","deprecated":null},{"type":"record","name":"Attribute","ctype":"GckAttribute","summary":"This structure represents a PKCS#11 `CK_ATTRIBUTE`. These attributes contain information about a PKCS#11 object. Use [method@Object.get] or [method@Object.set] to ...","deprecated":null},{"type":"record","name":"Attributes","ctype":"GckAttributes","summary":"A set of [struct@Attribute] structures.  These attributes contain information about a PKCS11 object. Use [method@Object.get] or [method@Object.set] to ...","deprecated":null},{"type":"record","name":"Builder","ctype":"GckBuilder","summary":"A builder for a set of attributes. Add attributes to a builder, and then use [method@Builder.end] to get the ...","deprecated":null},{"type":"record","name":"Mechanism","ctype":"GckMechanism","summary":"Represents a mechanism used with crypto operations.","deprecated":null},{"type":"record","name":"MechanismInfo","ctype":"GckMechanismInfo","summary":"Represents information about a PKCS11 mechanism.  This is analogous to a CK_MECHANISM_INFO structure.  When you're done with ...","deprecated":null},{"type":"record","name":"ModuleInfo","ctype":"GckModuleInfo","summary":"Holds information about the PKCS#11 module.  This structure corresponds to `CK_MODULE_INFO` in the PKCS#11 standard. The strings are ...","deprecated":null},{"type":"record","name":"SessionInfo","ctype":"GckSessionInfo","summary":"Information about the session. This is analogous to a CK_SESSION_INFO structure.  When done with this structure, release it ...","deprecated":null},{"type":"record","name":"SlotInfo","ctype":"GckSlotInfo","summary":"Represents information about a PKCS11 slot.  This is analogous to a CK_SLOT_INFO structure, but the strings are far ...","deprecated":null},{"type":"record","name":"TokenInfo","ctype":"GckTokenInfo","summary":"Represents information about a PKCS11 token.  This is analogous to a CK_TOKEN_INFO structure, but the strings are far ...","deprecated":null},{"type":"record","name":"UriData","ctype":"GckUriData","summary":"Information about the contents of a PKCS#11 URI. Various fields may be %NULL depending on the context that the ...","deprecated":null},{"type":"signal","name":"authenticate-object","type_name":"Module","summary":"Use gck_session_set_interaction() instead of connecting to this signal.","deprecated":"Unknown"},{"type":"signal","name":"authenticate-slot","type_name":"Module","summary":"Use gck_session_set_interaction() instead of connecting to this signal.","deprecated":"Unknown"},{"type":"signal","name":"discard-handle","type_name":"Session","summary":"When a GckSession is being disposed of it emits this signal to allow a session pool to pick up ...","deprecated":null},{"type":"type_func","name":"from_handle","type_name":"Session","ident":"gck_session_from_handle","summary":"Initialize a session object from a raw PKCS#11 session handle. Usually one would use the [method@Slot.open_session] function to create ...","deprecated":null},{"type":"type_func","name":"from_handle","type_name":"Slot","ident":"gck_slot_from_handle","summary":"Create a new GckSlot object for a raw PKCS#11 handle.","deprecated":null},{"type":"type_func","name":"get_quark","type_name":"Error","ident":"gck_error_get_quark","summary":"No description available.","deprecated":null},{"type":"type_func","name":"get_quark","type_name":"UriError","ident":"gck_uri_error_get_quark","summary":"No description available.","deprecated":null},{"type":"type_func","name":"initialize","type_name":"Module","ident":"gck_module_initialize","summary":"Load and initialize a PKCS#11 module represented by a GckModule object.","deprecated":null},{"type":"type_func","name":"initialize_async","type_name":"Module","ident":"gck_module_initialize_async","summary":"Asynchronously load and initialize a PKCS#11 module represented by a [class@Module] object.","deprecated":null},{"type":"type_func","name":"initialize_finish","type_name":"Module","ident":"gck_module_initialize_finish","summary":"Finishes the asynchronous initialize operation.","deprecated":null},{"type":"type_func","name":"open","type_name":"Session","ident":"gck_session_open","summary":"Open a session on the slot. This call may block for an indefinite period.","deprecated":null},{"type":"type_func","name":"open_async","type_name":"Session","ident":"gck_session_open_async","summary":"Open a session on the slot. This call will return immediately and complete asynchronously.","deprecated":null},{"type":"type_func","name":"open_finish","type_name":"Session","ident":"gck_session_open_finish","summary":"Get the result of an open session operation.","deprecated":null},{"type":"type_func","name":"unref","type_name":"Builder","ident":"gck_builder_unref","summary":"Unreferences a builder. If this was the last reference then the builder is freed.  It is an error ..."},{"type":"vfunc","name":"authenticate_object","type_name":"Module","summary":"No description available.","deprecated":null},{"type":"vfunc","name":"authenticate_slot","type_name":"Module","summary":"No description available.","deprecated":null},{"type":"vfunc","name":"discard_handle","type_name":"Session","summary":"No description available.","deprecated":null},{"type":"vfunc","name":"fill","type_name":"ObjectCache","summary":"Adds the attributes to the set cached on this object. If an attribute is already present in the cache ...","deprecated":null}],"terms":{}}