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

 

Asynchronously unwraps a symmetric key using the specified key in the vault that has initially been used for wrapping the key.

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

Syntax

public Task<KeyOperationResult> UnwrapKeyAsync(
    string keyIdentifier,
    string algorithm,
    byte[] wrappedKey,
    CancellationToken cancellationToken = null
)
public:
Task<KeyOperationResult^>^ UnwrapKeyAsync(
    String^ keyIdentifier,
    String^ algorithm,
    array<unsigned char>^ wrappedKey,
    CancellationToken cancellationToken = null
)
member UnwrapKeyAsync : 
        keyIdentifier:string *
        algorithm:string *
        wrappedKey:byte[] *
        cancellationToken:CancellationToken = null -> Task<KeyOperationResult>
Public Function UnwrapKeyAsync (
    keyIdentifier As String,
    algorithm As String,
    wrappedKey As Byte(),
    cancellationToken As CancellationToken
) As Task(Of KeyOperationResult)

Parameters

  • keyIdentifier
    Type: System.String

    The global key identifier of the wrapping/unwrapping key.

  • wrappedKey
    Type: System.Byte[]

    The wrapped symmetric key.

Return Value

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

The unwrapped symmetric key.

See Also

KeyVaultClient Class
Microsoft.Azure.KeyVault Namespace

Return to top