Represents PKCS#11 token structure

Hierarchy (view full)

Constructors

Properties

firmwareVersion: Version

Version number of firmware

flags: TokenFlag

Bit flags indicating capabilities and status of the device

freePrivateMemory: number

The amount of free (unused) memory on the token in bytes for private objects

freePublicMemory: number

The amount of free (unused) memory on the token in bytes for public objects

handle: Buffer

ID of PKCS#11 object

hardwareVersion: Version

Version number of hardware

label: string

Application-defined label, assigned during token initialization

lib: PKCS11

PKCS#11 module

manufacturerID: string

ID of the device manufacturer

maxPinLen: number

Maximum length in bytes of the PIN

maxRwSessionCount: number

maximum number of read/write sessions that can be opened with the token at one time by a single application

maxSessionCount: number

Maximum number of sessions that can be opened with the token at one time by a single application

minPinLen: number

Minimum length in bytes of the PIN

model: string

Model of the device

rwSessionCount: number

Number of read/write sessions that this application currently has open with the token

serialNumber: string

Character-string serial number of the device.

sessionCount: number

Number of sessions that this application currently has open with the token

totalPrivateMemory: number

The total amount of memory on the token in bytes in which private objects may be stored

totalPublicMemory: number

The total amount of memory on the token in bytes in which public objects may be stored

utcTime: null | Date

Current time. Null when a token does not have a clock.

Methods

Generated using TypeDoc