Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodiAppTransport.ExportKeyingMaterial

function ExportKeyingMaterial(const aLabel : AnsiString; const aContext: tBytes; aLen : Integer): tBytes;
RFC 8446 sec.7.5 keying-material exporter for THIS connection - the "secure TLS connection identifier" surface. An application protocol that carries its own authentication inside the tunnel (e.g. the Snif KAPA, as wired up in StreamSec.Snip.TLSServer) binds that authentication to the channel with a value exported here, so it cannot be relayed onto a different TLS channel. Empty unless a TLS 1.3 handshake completed - consumers MUST fail closed. See TCustomTLS_ContentLayer.ExportKeyingMaterial.