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
- encryptedDocumentBytesbyte[]
- The encrypted document bytes. 
- cancellationTokenCancellationToken
- The cancellation token. 
Returns
- byte[]
- An unencrypted document.