Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

ExtractClientHelloExtensions

function ExtractClientHelloExtensions(const aCHMsg: tBytes; out aExts: tBytes): Boolean;
Extract the extensions block from a raw ClientHello handshake message (the bytes include the 4-byte handshake header). Returns the concatenated type||len||data entries (i.e. the content after the 2-byte extensions length).