Gck.SlotInfo

Fields

Name

Type

Access

Description

firmware_version_major

int

r/w

The major version of the firmware.

firmware_version_minor

int

r/w

The minor version of the firmware.

flags

int

r/w

Various PKCS11 flags that apply to this slot.

hardware_version_major

int

r/w

The major version of the hardware.

hardware_version_minor

int

r/w

The minor version of the hardware.

manufacturer_id

str

r/w

The manufacturer of this slot.

slot_description

str

r/w

Description of the slot.

Methods

copy ()

free ()

Details

class Gck.SlotInfo

Represents information about a PKCS11 slot.

This is analogous to a CK_SLOT_INFO structure, but the strings are far more usable.

When you’re done with this structure it should be released with Gck.SlotInfo.free().

copy()[source]
Returns:

a newly allocated copy slot info

Return type:

Gck.SlotInfo

Make a copy of the slot info.

free()[source]

Free the Gck.SlotInfo and associated resources.