Options
All
  • Public
  • Public/Protected
  • All
Menu

Class implementing operations required to convert between raw private key material and private key objects and vice versa (i.e. the IPrivateKeyExporter interface from virgil-sdk), using VirgilCrypto.

Hierarchy

  • VirgilPrivateKeyExporter

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Optional password

password: undefined | string

Methods

exportPrivateKey

  • Exports private key material in DER format from the given private key object.

    Parameters

    • key: IPrivateKey

      The private key object to export the key material from.

    Returns Buffer

    • The private key material in DER format.

importPrivateKey