Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PubSecKeyOptions

Options describing Key stored in PEM format.

Hierarchy

  • PubSecKeyOptions

Index

Constructors

constructor

Methods

getAlgorithm

  • getAlgorithm(): string
  • Returns string

getBuffer

  • getBuffer(): string
  • The PEM or Secret key buffer

    Returns string

getId

  • getId(): string
  • Returns string

getPublicKey

  • getPublicKey(): string
  • Returns string

getSecretKey

  • getSecretKey(): string
  • Returns string

isCertificate

  • isCertificate(): boolean
  • Returns boolean

isSymmetric

  • isSymmetric(): boolean
  • Returns boolean

setAlgorithm

  • Parameters

    • algorithm: string

    Returns PubSecKeyOptions

setBuffer

  • The PEM or Secret key buffer

    Parameters

    • buffer: string

    Returns PubSecKeyOptions

setCertificate

  • Parameters

    • certificate: boolean

    Returns PubSecKeyOptions

setId

  • Parameters

    • id: string

    Returns PubSecKeyOptions

setPublicKey

  • Parameters

    • publicKey: string

    Returns PubSecKeyOptions

setSecretKey

  • Parameters

    • secretKey: string

    Returns PubSecKeyOptions

setSymmetric

  • Parameters

    • symmetric: boolean

    Returns PubSecKeyOptions

Generated using TypeDoc