Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KeyPair

This class is a simple holder for a key pair (a public key and a private key).

Hierarchy

  • KeyPair

Constructors

Properties

Methods

Constructors

constructor

  • new KeyPair(publicKey: string, privateKey: string): KeyPair

Properties

Private privateKey

privateKey: string

Private publicKey

publicKey: string

Methods

getPrivate

  • getPrivate(): string

getPublic

  • getPublic(): string