Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PfxOptions

Key or trust store options configuring private key and/or certificates based on PKCS#12 files.

Hierarchy

  • PfxOptions

Index

Constructors

constructor

  • Returns PfxOptions

  • Parameters

    Returns PfxOptions

Methods

getAlias

  • getAlias(): string
  • Set the alias for a server certificate when the keystore has more than one.

    Returns string

getAliasPassword

  • getAliasPassword(): string
  • Set the password for the server certificate designated by {@link KeyStoreOptionsBase#getAlias}.

    Returns string

getPassword

  • getPassword(): string
  • Set the password for the key store

    Returns string

getPath

  • getPath(): string
  • Set the path to the key store

    Returns string

getValue

  • Set the key store as a buffer

    Returns Buffer

setAlias

  • Set the alias for a server certificate when the keystore has more than one.

    Parameters

    • alias: string

    Returns PfxOptions

setAliasPassword

  • setAliasPassword(aliasPassword: string): PfxOptions
  • Set the password for the server certificate designated by {@link KeyStoreOptionsBase#getAlias}.

    Parameters

    • aliasPassword: string

    Returns PfxOptions

setPassword

  • Set the password for the key store

    Parameters

    • password: string

    Returns PfxOptions

setPath

  • Set the path to the key store

    Parameters

    • path: string

    Returns PfxOptions

setValue

  • Set the key store as a buffer

    Parameters

    Returns PfxOptions

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc