Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstECDSAKey.GenerateSignature

function GenerateSignature(const aSignedData: AnsiString; aSignFormat: tStringFormat = sfBinary) : AnsiString; overload;
Signs aSignedData with this component's ECDSA private key; used, e.g., as an SSH host key (TsnipServer.ECDSAKey in StreamSec.Snip.Server) or an SSH public-key client-auth key, and more generally wherever an ECDSA signature is produced (certificate/CMS signing).
function GenerateSignature(aSignedData: TStream; aSignFormat: tStringFormat = sfBinary) : AnsiString; overload;
Stream overload; digests aSignedData with DigestAlgorithm before signing.