|Activecrypt Online Help||Prev Next|
The GenerateCouple function is used to generate a new couple of private and public keys with a given bit length. In synchronous mode after the execution is succeeded PrivateKey and PublicKey variables are not equal to 0. In the case of an error Error property has an actual error code and OnError event is fired.
This function runs asynchronously in asynchronous mode. Thus, in this mode the function returns immediately and when it is completed, OnGenerationKeyFinished event is fired. If an error happens the OnError event is fired.
To see the example of usage please see How to generate keys
|This HTML Help has been published using the chm2web software.|