Gjsify LogoGjsify Logo

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().

record

Hierarchy

  • TokenInfo

Index

Constructors

Properties

firmwareVersionMajor: number

The major version of the firmware.

field
firmwareVersionMinor: number

The minor version of the firmware.

field
flags: number

Various PKCS11 flags that apply to this token.

field
freePrivateMemory: number

The available amount of memory on this token for storing private objects.

field
freePublicMemory: number

The available amount of memory on this token for storing public objects.

field
hardwareVersionMajor: number

The major version of the hardware.

field
hardwareVersionMinor: number

The minor version of the hardware.

field
label: string

The displayable token label.

field
manufacturerId: string

The manufacturer of this slot.

field
maxPinLen: number

The maximum length of a PIN for locking this token.

field
maxRwSessionCount: number

The maximum number of read/write sessions allowed on this token.

field
maxSessionCount: number

The maximum number of sessions allowed on this token.

field
minPinLen: number

The minimum length of a PIN for locking this token.

field
model: string

The token model number as a string.

field
rwSessionCount: number

The number of sessions open on this token.

field
serialNumber: string

The token serial number as a string.

field
sessionCount: number

The number of sessions open on this token.

field
totalPrivateMemory: number

The total amount of memory on this token for storing private objects.

field
totalPublicMemory: number

The total amount of memory on this token for storing public objects.

field
utcTime: number

If the token has a hardware clock, this is set to the number of seconds since the epoch.

field
name: string

Methods

  • free(): void
  • Free the GckTokenInfo and associated resources.

    Returns void

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method