Aracılığıyla paylaş


IKey.DecryptAsync Method

Definition

Decrypts a single block of encrypted data.

public System.Threading.Tasks.Task<byte[]> DecryptAsync (Microsoft.Azure.Management.KeyVault.Fluent.Models.JsonWebKeyEncryptionAlgorithm algorithm, byte[] content, System.Threading.CancellationToken cancellationToken = default);
abstract member DecryptAsync : Microsoft.Azure.Management.KeyVault.Fluent.Models.JsonWebKeyEncryptionAlgorithm * byte[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
Public Function DecryptAsync (algorithm As JsonWebKeyEncryptionAlgorithm, content As Byte(), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Byte())

Parameters

algorithm
JsonWebKeyEncryptionAlgorithm

The JWK encryption algorithm.

content
Byte[]

The content to be decrypted.

cancellationToken
CancellationToken

Returns

Task<Byte[]>

Applies to