Interface SessionInfo

Provides information about a session

interface SessionInfo {
    deviceError: number;
    flags: number;
    slotID: Buffer;
    state: number;
}

Properties

deviceError: number

An error code defined by the cryptographic device

flags: number

Bit flags that define the type of session

slotID: Buffer

ID of the slot that interfaces with the token

state: number

The state of the session