Method DecryptFields
- Namespace
- MongoDB.Driver.Core.WireProtocol
- Assembly
- MongoDB.Driver.Core.dll
DecryptFields(byte[], CancellationToken)
Decrypts the fields.
byte[] DecryptFields(byte[] encryptedDocumentBytes, CancellationToken cancellationToken)
Parameters
encryptedDocumentBytes
byte[]The encrypted document bytes.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- byte[]
An unencrypted document.