TLSCredentialsManager.certChain

Return a cert chain we can use, ordered from leaf to root, or else an empty vector.

It is assumed that the caller can get the private key of the leaf with privateKeyFor

  1. Vector!X509Certificate certChain(Vector!string cert_key_types, string type, string context)
  2. Vector!X509Certificate certChain(T cert_key_types, string type, string context)
    class TLSCredentialsManager
    final
    certChain
    (
    T : string[]
    )
    (
    auto ref T cert_key_types
    ,
    in string type
    ,
    in string context
    )

Parameters

cert_key_types T

specifies the key types desired ("RSA", "DSA", "ECDSA", etc), or empty if there is no preference by the caller.

type string

specifies the type of operation occuring

context string

specifies a context relative to type.

Meta