Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FixedContentKeySupplier

This is a SessionKeySupplier which fakes the ability to refresh its contained key. It is initialised once with fixed values of private key and (optional) passphrase; that key is always returned.

Hierarchy

  • FixedContentKeySupplier

Implements

Constructors

constructor

Properties

Private keyPair

keyPair: KeyPair

Private Optional passphrase

passphrase: undefined | string

Private privateKeyContent

privateKeyContent: string

Accessors

privateKey

  • get privateKey(): string

publicKey

  • get publicKey(): string

Methods

getKeyPair

refreshKeys

  • refreshKeys(): void