KeyVaultClient.DecryptAsync Method (String, String, Byte[], CancellationToken)

 

Asynchronously decrypts a single block of encrypted data.

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

public Task<KeyOperationResult> DecryptAsync(
	string keyIdentifier,
	string algorithm,
	byte[] cipherText,
	CancellationToken cancellationToken = null
)

Parameters

keyIdentifier
Type: System.String

The full key identifier.

algorithm
Type: System.String

The algorithm. For more information on possible algorithm types, see JsonWebKeyEncryptionAlgorithm.

cipherText
Type: System.Byte[]

The cipher text.

cancellationToken
Type: System.Threading.CancellationToken

Optional cancellation token.

Return Value

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

The decryption result.

Return to top
Show: