P11ex.Lib.Slot (p11ex v0.1.1)
Represents a PKCS#11 slot. A slot can contain a token (e.g. a smart card) or a token emulator (e.g. a software token).
Summary
Types
The slot description.
The firmware version of the slot.
The flags of the slot. See P11ex.Flags
for more information.
The hardware version of the slot.
The manufacturer ID of the slot.
The PKCS#11 module that the slot belongs to.
The slot identifier.
A struct representing a PKCS#11 slot.
Types
@type description() :: String.t()
The slot description.
@type firmware_version() :: {non_neg_integer(), non_neg_integer()}
The firmware version of the slot.
The flags of the slot. See P11ex.Flags
for more information.
@type hardware_version() :: {non_neg_integer(), non_neg_integer()}
The hardware version of the slot.
@type manufacturer_id() :: String.t()
The manufacturer ID of the slot.
@type pkcs11_module() :: P11ex.Lib.ModuleHandle.t()
The PKCS#11 module that the slot belongs to.
@type slot_id() :: non_neg_integer()
The slot identifier.
@type t() :: %P11ex.Lib.Slot{ description: description(), firmware_version: firmware_version(), flags: flags(), hardware_version: hardware_version(), manufacturer_id: manufacturer_id(), module: pkcs11_module(), slot_id: slot_id() }
A struct representing a PKCS#11 slot.