Struct
GckTokenInfo
since: 1
Description [src]
struct GckTokenInfo {
gchar* label;
gchar* manufacturer_id;
gchar* model;
gchar* serial_number;
gulong flags;
glong max_session_count;
glong session_count;
glong max_rw_session_count;
glong rw_session_count;
glong max_pin_len;
glong min_pin_len;
glong total_public_memory;
glong free_public_memory;
glong total_private_memory;
glong free_private_memory;
guint8 hardware_version_major;
guint8 hardware_version_minor;
guint8 firmware_version_major;
guint8 firmware_version_minor;
gint64 utc_time;
}
Represents information about a PKCS11 token.
This is analogous to a CK_TOKEN_INFO structure, but the strings are far more usable.
When you’re done with this structure it should be released with gck_token_info_free().
Structure members
labelThe displayable token label.
manufacturer_idThe manufacturer of this slot.
modelThe token model number as a string.
serial_numberThe token serial number as a string.
flagsVarious PKCS11 flags that apply to this token.
max_session_countThe maximum number of sessions allowed on this token.
session_countThe number of sessions open on this token.
max_rw_session_countThe maximum number of read/write sessions allowed on this token.
rw_session_countThe number of sessions open on this token.
max_pin_lenThe maximum length of a PIN for locking this token.
min_pin_lenThe minimum length of a PIN for locking this token.
total_public_memoryThe total amount of memory on this token for storing public objects.
free_public_memoryThe available amount of memory on this token for storing public objects.
total_private_memoryThe total amount of memory on this token for storing private objects.
free_private_memoryThe available amount of memory on this token for storing private objects.
hardware_version_majorThe major version of the hardware.
hardware_version_minorThe minor version of the hardware.
firmware_version_majorThe major version of the firmware.
firmware_version_minorThe minor version of the firmware.
utc_timeIf the token has a hardware clock, this is set to the number of seconds since the epoch.
Available since: 1