Options
All
  • Public
  • Public/Protected
  • All
Menu

Class KeyStoreOptions

Options describing how an JWT KeyStore should behave. This is an extended version core's KeyStoreOptions.

This extension sets the default type to the runtime keystore type (for compatibility, reasons) plus it allows the configuration of password per key using KeyStoreOptions.

Hierarchy

  • KeyStoreOptions

Index

Constructors

constructor

Methods

getPassword

  • getPassword(): string
  • Returns string

getPasswordProtection

  • getPasswordProtection(): {}
  • Returns {}

    • [key: string]: string

getPath

  • getPath(): string
  • Returns string

getProvider

  • getProvider(): string
  • Returns string

getType

  • getType(): string
  • Returns string

getValue

  • getValue(): Buffer
  • Returns Buffer

setPassword

  • Parameters

    • password: string

    Returns KeyStoreOptions

setPasswordProtection

  • Parameters

    • passwordProtection: {}
      • [key: string]: string

    Returns KeyStoreOptions

setPath

  • Parameters

    • path: string

    Returns KeyStoreOptions

setProvider

  • Parameters

    • provider: string

    Returns KeyStoreOptions

setType

  • Parameters

    • type: string

    Returns KeyStoreOptions

setValue

  • Parameters

    • value: Buffer

    Returns KeyStoreOptions

Generated using TypeDoc