Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstECDSAKey.GenerateNewKeys

procedure GenerateNewKeys(aCurve: ObjectIdentifier; aSave: Boolean = True);
Generates a fresh ECDSA keypair on curve aCurve (an OID, e.g. secp256r1/secp384r1) and, if aSave is True, persists it via SavePrivateKey/SavePublicKey; an application calls this to provision a new host key or certificate key pair for a chosen curve.