Interface GetSignerOptions

keyChain.getSigner() options.


  • GetSignerOptions


fallback?: Signer | ((name, keyChain, err?) => Promise<Signer>)

If a function, it is invoked when no matching key or certificate is found, and should either return a fallback Signer or reject the promise. If a Signer, it is used when no matching key or certificate is found.

prefixMatch?: boolean

If false, name argument must equal subject name, key name, or certificate name. If true, name argument may be a prefix of subject name. Default is false.

useKeyNameKeyLocator?: boolean

If false, KeyLocator is a certificate name when a non-self-signed certificate exists. If true, KeyLocator is the key name. Default is false.

Generated using TypeDoc