IKey.Verify(JsonWebKeySignatureAlgorithm, Byte[], Byte[]) Method

Definition

Verifies a signature from a digest.

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

Parameters

algorithm
JsonWebKeySignatureAlgorithm

The JWK signing algorithm.

digest
System.Byte[]

The content to be signed.

signature
System.Byte[]

The signature to verify.

Returns

System.Boolean

Applies to