OpenSslContext.initialize

TlsErrorCode initialize(ref const(TlsContext) tlsCtx) @trusted nothrow

Initialize OpenSSL context from TlsContext configuration.

Parameters

tlsCtxThe TLS context configuration.

Returns

TlsErrorCode.OK on success, error code otherwise.