object Companion
source · line 20public
public companion
Factories for client contexts backed by external trust data.
function fromCaFile
source · line 27public
public fun fromCaFile(path: Path, options: TlsOptions = TlsOptions(), identity: TlsIdentity? = None): TlsClientContext
Reads a PEM CA file synchronously and builds a client context from its trust store. The returned context owns its native state and must be closed.
parameter path
source · line 27public
path: Path
parameter identity
source · line 27public
identity: TlsIdentity? = None
parameter options
source · line 27public
options: TlsOptions = TlsOptions()