KeyVaultClientExtensions.DecryptDataAsync Method (KeyVaultClient, KeyBundle, 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,
    KeyBundle keyBundle,
    string algorithm,
    byte[] cipherText
)
public:
[ExtensionAttribute]
static Task<KeyOperationResult^>^ DecryptDataAsync(
    KeyVaultClient^ client,
    KeyBundle^ keyBundle,
    String^ algorithm,
    array<unsigned char>^ cipherText
)
static member DecryptDataAsync : 
        client:KeyVaultClient *
        keyBundle:KeyBundle *
        algorithm:string *
        cipherText:byte[] -> Task<KeyOperationResult>
<ExtensionAttribute>
Public Shared Function DecryptDataAsync (
    client As KeyVaultClient,
    keyBundle As KeyBundle,
    algorithm As String,
    cipherText As Byte()
) As Task(Of KeyOperationResult)

Parameters

  • cipherText
    Type: System.Byte[]

    A message that has been encrypted.

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