Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTsmStreamSecII.TLSEncodeData

function TLSEncodeData(const SessionID: TSessionID; Data, Response: TStream; ErrorCode: PInteger = nil): Integer; overload;
Encrypt application plaintext Data into TLS records written to Response for the session identified by SessionID. Call to send application data once the handshake for that session has completed.
function TLSEncodeData(UserData: Pointer; Data, Response: TStream; ErrorCode: PInteger = nil): Integer; overload;
Encrypt application plaintext Data into TLS records written to Response for the session tagged UserData. UserData-keyed counterpart to the SessionID TLSEncodeData; call to send application data after the handshake completes.