Struct
GckTokenInfo
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
- label
- The displayable token label. 
- manufacturer_id
- The manufacturer of this slot. 
- model
- The token model number as a string. 
- serial_number
- The token serial number as a string. 
- flags
- Various PKCS11 flags that apply to this token. 
- max_session_count
- The maximum number of sessions allowed on this token. 
- session_count
- The number of sessions open on this token. 
- max_rw_session_count
- The maximum number of read/write sessions allowed on this token. 
- rw_session_count
- The number of sessions open on this token. 
- max_pin_len
- The maximum length of a PIN for locking this token. 
- min_pin_len
- The minimum length of a PIN for locking this token. 
- total_public_memory
- The total amount of memory on this token for storing public objects. 
- free_public_memory
- The available amount of memory on this token for storing public objects. 
- total_private_memory
- The total amount of memory on this token for storing private objects. 
- free_private_memory
- The available amount of memory on this token for storing private objects. 
- hardware_version_major
- The major version of the hardware. 
- hardware_version_minor
- The minor version of the hardware. 
- firmware_version_major
- The major version of the firmware. 
- firmware_version_minor
- The minor version of the firmware. 
- utc_time
- If the token has a hardware clock, this is set to the number of seconds since the epoch.