Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstCustomMAC.SetKeyStr

procedure SetKeyStr(const aKey : OctetString; aFormat: tStringFormat = sfBinary);
Convenience overload of SetKeyIntf that accepts the key encoded as binary, hex, or base64 text (aFormat), decoding it before installing it; an application uses this when the key comes from a config file or UI field in one of those textual encodings. No client/server-specific meaning.