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