Share via


KeyVaultClientExtensions.DecryptDataAsync Method (KeyVaultClient, JsonWebKey, String, Byte[])

 

Asynchronously decrypts a single block of encrypted data.

Namespace:   Microsoft.Azure.KeyVault
Assembly:  Microsoft.Azure.KeyVault (in Microsoft.Azure.KeyVault.dll)

Syntax

public static Task<KeyOperationResult> DecryptDataAsync(
    this KeyVaultClient client,
    JsonWebKey key,
    string algorithm,
    byte[] cipherText
)
public:
[ExtensionAttribute]
static Task<KeyOperationResult^>^ DecryptDataAsync(
    KeyVaultClient^ client,
    JsonWebKey^ key,
    String^ algorithm,
    array<unsigned char>^ cipherText
)
static member DecryptDataAsync : 
        client:KeyVaultClient *
        key:JsonWebKey *
        algorithm:string *
        cipherText:byte[] -> Task<KeyOperationResult>
<ExtensionAttribute>
Public Shared Function DecryptDataAsync (
    client As KeyVaultClient,
    key As JsonWebKey,
    algorithm As String,
    cipherText As Byte()
) As Task(Of KeyOperationResult)

Parameters

Return Value

Type: System.Threading.Tasks.Task<KeyOperationResult>

A single block of encrypted data.

See Also

DecryptDataAsync Overload
KeyVaultClientExtensions Class
Microsoft.Azure.KeyVault Namespace

Return to top