RSAOpenEnvelope()
The function RSAOpenEnvelope() decrypts data.
Synopsis
int RSAOpenEnvelope(string keyAddress, blob encryptedData, blob&
outputData)
Parameters
| Parameter | Description |
|---|---|
| keyAddress | The privatePEM ( private key ) generated by using the functionRSAGenerateKeyPair() |
| encryptedData | The encrypted data that is decrypted. |
| outputData | The decrypted data. |
Return value
In case of an error, the function returns -1 and otherwise 0.
Description
The function RSAOpenEnvelope() decrypts data.
Assignment
RSA Functions
Availability
UI