Freigeben über


IKey.VerifyAsync Methode

Definition

Überprüft eine Signatur aus einem Digest.

public System.Threading.Tasks.Task<bool> VerifyAsync (Microsoft.Azure.Management.KeyVault.Fluent.Models.JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature, System.Threading.CancellationToken cancellationToken = default);
abstract member VerifyAsync : Microsoft.Azure.Management.KeyVault.Fluent.Models.JsonWebKeySignatureAlgorithm * byte[] * byte[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Function VerifyAsync (algorithm As JsonWebKeySignatureAlgorithm, digest As Byte(), signature As Byte(), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)

Parameter

algorithm
JsonWebKeySignatureAlgorithm

Der JWK-Signaturalgorithmus.

digest
Byte[]

Der zu signierte Inhalt.

signature
Byte[]

Die zu überprüfende Signatur.

cancellationToken
CancellationToken

Gibt zurück

Gilt für: