Table of Contents

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 CancellationToken

The cancellation token.

Returns

byte[]

An unencrypted document.