 |
About ActiveCrypt |
 |
How to ... |
 |
Programmer reference |
 |
Hash |
 |
Methods |
 |
Properties |
 |
Crypt |
 |
Methods |
 |
Properties |
 |
Base64 |
 |
Methods |
 |
Properties |
 |
Sign |
 |
Methods |
 |
Properties |
 |
RSACrypt (old, use Crypt) |
 |
Methods |
 |
Properties |
 |
Events |
|
OnError
event OnError ( ByVal
Cookie As Long, ByVal ErrorNumber As Long,
ByVal ErrorMsg As String ) |
This event appears when an error happens both in synchronous
and asynchronous modes. A cookie contains anidentificator given to the
function which caused the error. Error constant, its numeric value and ErrorMsg have the following values:
ERR_OK |
0 |
No error. |
ERR_INVSIZE |
101 |
Invalid key size. |
ERR_RSAGENERR |
102 |
Error generating RSA key. |
ERR_UNKNRSAGEN |
103 |
Uknown error while generating pair. |
ERR_BIOERR |
104 |
BIO error. |
ERR_PUBENCERR |
105 |
Public encrypt error. |
ERR_CANTOPENFILE |
106 |
Cannot open file. |
ERR_UNKNLOADKEYERR |
107 |
Unknown error while loading key. |
ERR_UNKNSAVEKEYERR |
108 |
Unknown error while saving key. |
ERR_ERRWRITINGTOFILE |
109 |
Error writing to file. |
ERR_ERRCREATINGFILE |
110 |
Error creating file. |
ERR_ERRWRITINGPRKEY |
111 |
Error writing private key. |
ERR_DECRYPTERR |
112 |
Decrypt error. |
ERR_ERRREADINGFILE |
113 |
Error reading file. |
ERR_ERRGETFILESIZE |
114 |
Error getting file size. |
ERR_ERRREADINGKEY |
115 |
Error reading key from file. |
ERR_UNKNDECRYPTERR |
116 |
Unknown error while decrypting text. |
ERR_BADPRIVATEKEY |
117 |
Bad private key. |
ERR_BADPUBLICKEY |
118 |
Bad public key. |
ERR_BADKEY |
119 |
Bad key. |
ERR_UNKNGENPUB |
120 |
Unknown error generating public key. |
ERR_ERRGENPUBKEY |
121 |
Error generating public key. |
ERR_SWLIMIT |
122 |
Shareware limitation. |
ERR_UNKNENC |
123 |
Unknown error while encryption. |
ERR_ERRREADINGKEYSTR |
124 |
Error reading key from string. |
You can edit messagesby editing resources of activecrypt.dll
|