TLSCredentialsManager.privateKeyFor

class TLSCredentialsManager
abstract
privateKeyFor
(,
in string type
,
in string context
)

Parameters

cert X509Certificate

as returned by cert_chain

type string

specifies the type of operation occuring

context string

specifies a context relative to type.

Return Value

private key associated with this certificate if we should use it with this context.

Notes: this object should retain ownership of the returned key; it should not be deleted by the caller.

Meta