Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTsmCustomTLSInternalServer.TLSEncodeData

function TLSEncodeData(const SessionID: TSessionID; Data, Response: TStream; ErrorCode: PInteger = nil): Integer; overload;
Encrypts Data into one or more TLS records written to Response, for the SessionID-keyed session. Works from either the client or the server side.
function TLSEncodeData(UserData: Pointer; Data, Response: TStream; ErrorCode: PInteger = nil): Integer; overload;
Encrypts Data into one or more TLS records written to Response, for the UserData-keyed session. Works from either the client or the server side.