IKey.Sign(JsonWebKeySignatureAlgorithm, Byte[]) Method

Definition

Creates a signature from a digest.

public byte[] Sign (Microsoft.Azure.Management.KeyVault.Fluent.Models.JsonWebKeySignatureAlgorithm algorithm, params byte[] digest);
abstract member Sign : Microsoft.Azure.Management.KeyVault.Fluent.Models.JsonWebKeySignatureAlgorithm * byte[] -> byte[]
Public Function Sign (algorithm As JsonWebKeySignatureAlgorithm, ParamArray digest As Byte()) As Byte()

Parameters

algorithm
JsonWebKeySignatureAlgorithm

The JWK signing algorithm.

digest
Byte[]

The content to be signed.

Returns

Byte[]

Applies to