Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTsmCustomTLSInternalServer.TLSAddClientSession

function TLSAddClientSession: TCustomTLS_ContentLayer;
Client-side: creates a new outgoing TLS session/content layer (a TCustomTLS_ContentLayer configured from Options/PrivateKeyRing/CACerts), ready to have TLSConnect drive its handshake. This is also the primitive that StreamSec.DSI.AbstractOcsp borrows via the GlobalServer singleton (see IsGlobalServer) to open an HTTPS connection to an OCSP responder without an application-visible TLS component of its own.