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

 

Asynchronously creates a signature from a digest using the specified key in the vault.

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

Syntax

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

Parameters

  • keyIdentifier
    Type: System.String

    The global key identifier of the signing key.

Return Value

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

The signature value.

See Also

SignAsync Overload
KeyVaultClient Class
Microsoft.Azure.KeyVault Namespace

Return to top