KeyVaultCryptoProviderSignAsync Method

Signs a block of data with a key stored in the Azure Key Vault using either the RSA-512 or ES-256K algorithm as appropriate for the key.

Definition

Namespace: InnerDrive.Azure
Assembly: InnerDrive.Azure (in InnerDrive.Azure.dll) Version: 5.2.9017.0
C#
public Task<string?> SignAsync(
	string data,
	string keyName
)

Parameters

data  String
The data to sign in Base-64 format
keyName  String
The name of the key in your Key Vault to use

Return Value

TaskString
A Base-64 encoded string containing the signed data

Implements

ICryptoProviderSignAsync(String, String)

Remarks

This version only supports RSA and EC keys.

See Also