Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • SocketCrypto

Implements

Index

Properties

certStorage

certStorage: ICertificateStorage

Gets a storage of certificates and certificate requests

id

id: string

Gets identity of Crypto

keyStorage

keyStorage: IKeyStorage

Gets a storage of crypto keys

subtle

subtle: SubtleCrypto

Get a set of cryptographic primitives

Methods

getRandomValues

  • Fills the passed TypedArray with cryptographically sound random values.

    Parameters

    • data: ArrayBufferView

      Is an integer-based TypedArray, that is an Int8Array, a Uint8Array, an Int16Array, a Uint16Array, an Int32Array, or a Uint32Array. All elements in the array are going to be overridden with random numbers.

    Returns ArrayBufferView

isLoggedIn

  • isLoggedIn(): Promise<boolean>
  • Returns true if provider(token) is logged in, otherwise false

    Returns Promise<boolean>

login

  • login(): Promise<void>
  • Login to PKCS#11 session

    • Shows Login window in Fortify.

    Returns Promise<void>

reset

  • reset(): Promise<void>
  • Reset token's session. Refreshes list of objects for keyStorage and certStorage

    • C_SessionClose + C_SessionOpen

    Returns Promise<void>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • 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

Generated using TypeDoc