ddn.net.tls
DDN TLS - Pure D implementation of the TLS protocol.
This package provides a pure D TLS implementation using ddn-crypto cryptographic primitives. It implements the ddn.api.net.tls interfaces.
Example:
import ddn.net.tls;
auto ctx = createTlsContext();
ctx.trustStore.loadSystemCerts();
ctx.setMinVersion(TlsVersion.TLS_1_2);
auto stream = ctx.clientStream(transport, "example.com");
stream.handshake();Functions 1
fn
TlsContext createTlsContext(TlsBackend backend = TlsBackend.AUTO)Creates a native TLS context using pure D cryptographic primitives.