- public void builder_unref (void* builder)
Unreferences a builder.
- public Quark error_get_quark ()
- public Type list_get_boxed_type ()
- public bool mechanisms_check (Array<ulong> mechanisms, ...)
Check whether all the mechanism types are in the list.
- public unowned string message_from_rv (ulong rv)
Get a message for a PKCS#11 return value or error code.
- public Enumerator modules_enumerate_objects (List<Module> modules, Attributes attrs, SessionOptions session_options)
Setup an enumerator for listing matching objects on the modules.
- public Enumerator modules_enumerate_uri (List<Module> modules, string uri, SessionOptions session_options) throws Error
Enumerate objects that match a URI.
- public List<Slot> modules_get_slots (List<Module> modules, bool token_present)
Get a list of slots for across all of the modules.
- public List<Module> modules_initialize_registered (Cancellable? cancellable = null) throws Error
Load and initialize all the registered modules.
- public async List<Module> modules_initialize_registered_async (Cancellable? cancellable) throws Error
Load and initialize all the registered modules asynchronously.
- public Object? modules_object_for_uri (List<Module> modules, string uri, SessionOptions session_options) throws Error
Find an object that matches a URI.
- public List<Object> modules_objects_for_uri (List<Module> modules, string uri, SessionOptions session_options) throws Error
Find objects that match a URI.
- public Slot modules_token_for_uri (List<Module> modules, string uri) throws Error
Lookup a token that matches the URI.
- public List<Slot> modules_tokens_for_uri (List<Module> modules, string uri) throws Error
Lookup a token that matches the URI.
- public List<Object> objects_from_handle_array (Session session, ulong[] object_handles)
Initialize a list of GckObject from raw PKCS#11 handles.
- public Enumerator slots_enumerate_objects (List<Slot> slots, Attributes match, SessionOptions options)
Setup an enumerator for listing matching objects on the slots.
- public string uri_build (UriData uri_data, UriFlags flags)
Build a PKCS#11 URI.
- public Quark uri_error_get_quark ()
- public UriData uri_parse (string string, UriFlags flags) throws Error
Parse a PKCS#11 URI for use in a given context.
- public bool value_to_boolean (uint8[] value, out bool result)
Convert `CK_BBOOL` type memory to a boolean.
- public bool value_to_ulong (uint8[] value, out ulong result)
Convert `CK_ULONG` type memory to a boolean.