Certificate.Decrypt Method
Namespace: Rebex.Security.Certificates
Assembly: Rebex.Common.dll (version 8.0.9673)
Decrypt(Byte[], Boolean)
Decrypts data.
Declaration
public byte[] Decrypt(byte[] rgb, bool silent)
Parameters
| Type | Name | Description |
|---|---|---|
| Byte[] | rgb | Data to be decrypted. |
| Boolean | silent | If set to true, the cryptographic provider should not display any user interface (UI). |
Returns
| Type | Description |
|---|---|
| Byte[] | Decrypted data. |
Remarks
If silent operation is requested and the cryptographic provider needs to display a UI to operate, this method will fail.
Decrypt(Byte[], EncryptionParameters)
Decrypts data.
Declaration
public byte[] Decrypt(byte[] rgb, EncryptionParameters parameters)
Parameters
| Type | Name | Description |
|---|---|---|
| Byte[] | rgb | Data to be decrypted. |
| EncryptionParameters | parameters | Encryption parameters. |
Returns
| Type | Description |
|---|---|
| Byte[] | Decrypted data. |
Remarks
If silent operation is requested and the cryptographic provider needs to display a UI to operate, this method will fail.