Class
GckModule
Description [src]
class Gck.Module : GObject.Object
{
/* No available fields */
}
Holds a loaded PKCS#11 module. A PKCS#11 module is a shared library.
You can load and initialize a PKCS#11 module with the
gck_module_initialize()
call. If you already have a loaded and
initialized module that you’d like to use with the various Gck functions,
then you can use gck_module_new()
.
Constructors
gck_module_new
Create a GckModule
representing a PKCS#11 module. It is assumed that
this the module is already initialized. In addition it will not be
finalized when complete.
Functions
gck_module_initialize_async
Asynchronously load and initialize a PKCS#11 module represented by a
GckModule
object.
Instance methods
gck_module_equal
Checks equality of two modules. Two GckModule objects can point to the same underlying PKCS#11 module.
gck_module_get_path
Get the file path of this module. This may not be an absolute path, and
usually reflects the path passed to gck_module_initialize()
.
Signals
Gck.Module::authenticate-object
Use gck_session_set_interaction()
instead of connecting to this signal.
deprecated: Unknown
Gck.Module::authenticate-slot
Use gck_session_set_interaction()
instead of connecting to this signal.
deprecated: Unknown
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct GckModuleClass {
GObjectClass parent;
gboolean (* authenticate_slot) (
GckModule* self,
GckSlot* slot,
gchar* label,
gchar** password
);
gboolean (* authenticate_object) (
GckModule* self,
GckObject* object,
gchar* label,
gchar** password
);
}
No description available.
Class members
parent: GObjectClass
No description available.
authenticate_slot: gboolean (* authenticate_slot) ( GckModule* self, GckSlot* slot, gchar* label, gchar** password )
No description available.
authenticate_object: gboolean (* authenticate_object) ( GckModule* self, GckObject* object, gchar* label, gchar** password )
No description available.