Compartilhar via


IKey.DecryptAsync Método

Definição

Descriptografa um único bloco de dados criptografados.

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())

Parâmetros

algorithm
JsonWebKeyEncryptionAlgorithm

O algoritmo de criptografia JWK.

content
Byte[]

O conteúdo a ser descriptografado.

cancellationToken
CancellationToken

Retornos

Task<Byte[]>

Aplica-se a