Discuss this help topic in SecureBlackbox Forum
Generates new key pair.
Declaration
Parameters
- Password - Password to protect the new key.
- Bits - key length in bits. For ECDSA/ECDH algorithms, the elliptic curve is chosen and set according to the Bits parameter. The elliptic curve is specified by the Curve property.
- Algorithm - encryption algorithm.
- UseOldFormat - use old (PGP 2.x) or new format for the key.
- Expires - time in days when the key expires. 0 - no expiration.
Values
Description
Use this method to generate new key pair.
This method returns when generation is complete.
To generate a keypair asynchronously, use BeginGenerate and EndGenerate methods.
Discuss this help topic in SecureBlackbox Forum