procedure GenerateEC(const ECName: TScECName; Random: TScRandom = nil);



Generates a new Elliptic Curve key, and if the KeyName and KeyList parameters are specified, automatically saves it. If the key is created successfully, the Ready property is set to True.

Random data generated by the specified random number generator is used for generating keys. If Random is nil, the default random number generator is used.

To generate RSA or DSA cryptography key, you should call the Generate method.



ECName - the named Elliptic curve over Fp and F2m cryptography algorithms that describes parameters of the key to be generated.
Random - pointer to the random number generator used for getting random data.


See also




SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support