Compartilhar via


IKey.VerifyAsync Método

Definição

Verifica uma assinatura de um resumo.

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)

Parâmetros

algorithm
JsonWebKeySignatureAlgorithm

O algoritmo de assinatura JWK.

digest
Byte[]

O conteúdo a ser assinado.

signature
Byte[]

A assinatura a ser verificada.

cancellationToken
CancellationToken

Retornos

Aplica-se a