Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstCustomMPKey.SavePublicKeyToStream

procedure SavePublicKeyToStream(aStrm: TStream; const aIntf: TGUID); virtual;
Base implementation just raises "Not implemented"; concrete key components override it to serialize the public key in their own wire format, selected via aIntf (a GUID such as an iSSHProtocolFormat). Concretely used by an SSH CLIENT (fClientKey in StreamSec.SSH.Client) to write its own public key into the "publickey" authentication request; not the role this plays on the server side, which instead calls LoadPublicKeyFromStream to read it back.