Options
All
  • Public
  • Public/Protected
  • All
Menu

Class JksOptions

Key or trust store options configuring private key and/or certificates based on Java Keystore files.

Hierarchy

  • JksOptions

Index

Constructors

constructor

  • Returns JksOptions

  • Parameters

    Returns JksOptions

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 JksOptions

setAliasPassword

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

    Parameters

    • aliasPassword: string

    Returns JksOptions

setPassword

  • Set the password for the key store

    Parameters

    • password: string

    Returns JksOptions

setPath

  • Set the path to the key store

    Parameters

    • path: string

    Returns JksOptions

setValue

  • Set the key store as a buffer

    Parameters

    Returns JksOptions

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc