Appearance
DecryptAndVerify Method
Definition
- Namespace:
JASE.Crypto - Assembly:
JASE.Crypto.dll
byte[] DecryptAndVerify(byte[] input, X509Certificate2 recipient, X509Certificate2 sender, bool allowInvalidTime = null)
csharp
byte[] DecryptAndVerify(byte[] input, X509Certificate2 recipient, X509Certificate2 sender, bool allowInvalidTime = null)Decrypts and verifies the input data using the private key of the specified X.509 certificate.
Parameters
| Name | Description |
|---|---|
allowInvalidTime | Boolean to enforce certificate time frame validity |
input | The input data to decrypt and verify. |
Returns
The decrypted data.