Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Pkcs11Lib

Handle to a loaded PKCS#11 library.

For most use cases, a single instance of Pkcs11Lib should be used for the lifetime of your application.

nodejs only.

Hierarchy

  • NativeResource
    • Pkcs11Lib

Index

Enumerations

Constructors

Methods

Constructors

constructor

  • Parameters

    • path: string

      Path to PKCS#11 library.

    • Default value behavior: InitializeFinalizeBehavior = Pkcs11Lib.InitializeFinalizeBehavior.DEFAULT

      Specifies how C_Initialize() and C_Finalize() will be called on the PKCS#11 library.

    Returns Pkcs11Lib

Methods

close

  • close(): void
  • Release the PKCS#11 library immediately, without waiting for the GC.

    Returns void

Generated using TypeDoc