Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface RSAKeyPair

loadPrivateKeyFromFile will take in a privateKeyPath and optional passphrasePath It will use these 2 path information to read the files and create a privateKey and publicKey

param

the path to the privateKey PEM file

param

the path to the passphrase PEM file

returns

object that contains: { privateKey, publicKey }

Hierarchy

  • RSAKeyPair

Properties

Properties

privateKey

privateKey: string

publicKey

publicKey: string