Table of Contents

Method DecryptAsync

Namespace
MongoDB.Driver.Encryption
Assembly
MongoDB.Driver.dll

DecryptAsync(BsonBinaryData, CancellationToken)

Decrypts the specified value.

public Task<BsonValue> DecryptAsync(BsonBinaryData value, CancellationToken cancellationToken = default)

Parameters

value BsonBinaryData

The value.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<BsonValue>

The decrypted value.