Share via


KeyVaultClient.SignAsync Method (String, String, 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 vault,
    string keyName,
    string keyVersion,
    string algorithm,
    byte[] digest,
    CancellationToken cancellationToken = null
)
public:
Task<KeyOperationResult^>^ SignAsync(
    String^ vault,
    String^ keyName,
    String^ keyVersion,
    String^ algorithm,
    array<unsigned char>^ digest,
    CancellationToken cancellationToken = null
)
member SignAsync : 
        vault:string *
        keyName:string *
        keyVersion:string *
        algorithm:string *
        digest:byte[] *
        cancellationToken:CancellationToken = null -> Task<KeyOperationResult>
Public Function SignAsync (
    vault As String,
    keyName As String,
    keyVersion As String,
    algorithm As String,
    digest As Byte(),
    cancellationToken As CancellationToken
) As Task(Of KeyOperationResult)

Parameters

  • keyVersion
    Type: System.String

    The version of the key (optional).

Return Value

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

The signature value.

See Also

SignAsync Overload
KeyVaultClient Class
Microsoft.Azure.KeyVault Namespace

Return to top