Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstRSAKey.GenerateNewKeys

procedure GenerateNewKeys(aBitSize: Cardinal; aSave: Boolean = True);
Generates a fresh RSA keypair of aBitSize bits (honoring KeyGenerationKind) and, if aSave is True, immediately persists it via SavePrivateKey/SavePublicKey; an application calls this to provision a new host key or client certificate key pair.