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

firmware_version_major: number

The major version of the firmware.

field
firmware_version_minor: number

The minor version of the firmware.

field
flags: number

Various PKCS11 flags that apply to this token.

field
free_private_memory: number

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

field
free_public_memory: number

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

field
hardware_version_major: number

The major version of the hardware.

field
hardware_version_minor: number

The minor version of the hardware.

field
label: string

The displayable token label.

field
manufacturer_id: string

The manufacturer of this slot.

field
max_pin_len: number

The maximum length of a PIN for locking this token.

field
max_rw_session_count: number

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

field
max_session_count: number

The maximum number of sessions allowed on this token.

field
min_pin_len: number

The minimum length of a PIN for locking this token.

field
model: string

The token model number as a string.

field
rw_session_count: number

The number of sessions open on this token.

field
serial_number: string

The token serial number as a string.

field
session_count: number

The number of sessions open on this token.

field
total_private_memory: number

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

field
total_public_memory: number

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

field
utc_time: 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

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