GeneratePublicKey
Sub GeneratePublicKey ( PrivateKey As Long ) As Variant |
This function is used when it is needed to
generate public key using a private key. Function accepts the private key and returns the public
key. Public key should be explicitly freed by user when it is not needed. For generation of
a new pair of keys see GenerateCouple function.
If an error happens theError
property of ActiveCrypt contains the error code. For information about the error code,
please see Error property. If the function succeeds the Error
contains the value of ERR_OK.
|