ECDsa.VerifyHash ECDsa.VerifyHash ECDsa.VerifyHash ECDsa.VerifyHash Method

Définition

Surcharges

VerifyHash(Byte[], Byte[]) VerifyHash(Byte[], Byte[]) VerifyHash(Byte[], Byte[]) VerifyHash(Byte[], Byte[])

Vérifie une signature numérique par rapport à la valeur de hachage spécifiée.Verifies a digital signature against the specified hash value.

VerifyHash(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) VerifyHash(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) VerifyHash(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) VerifyHash(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

VerifyHash(Byte[], Byte[]) VerifyHash(Byte[], Byte[]) VerifyHash(Byte[], Byte[]) VerifyHash(Byte[], Byte[])

Vérifie une signature numérique par rapport à la valeur de hachage spécifiée.Verifies a digital signature against the specified hash value.

public:
 abstract bool VerifyHash(cli::array <System::Byte> ^ hash, cli::array <System::Byte> ^ signature);
public abstract bool VerifyHash (byte[] hash, byte[] signature);
abstract member VerifyHash : byte[] * byte[] -> bool
Public MustOverride Function VerifyHash (hash As Byte(), signature As Byte()) As Boolean

Paramètres

hash
Byte[]

Valeur de hachage d’un bloc de données.The hash value of a block of data.

signature
Byte[]

Signature numérique à vérifier.The digital signature to be verified.

Retours

true si la valeur de hachage est égale à la signature déchiffrée ; sinon, false.true if the hash value equals the decrypted signature; otherwise, false.

Remarques

La signature est tout d’abord déchiffrée à l’aide de la clé publique, puis comparée à la valeur de hachage pour la vérification.The signature is first decrypted by using the public key, and then compared to the hash value for verification.

VerifyHash(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) VerifyHash(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) VerifyHash(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) VerifyHash(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

public:
 virtual bool VerifyHash(ReadOnlySpan<System::Byte> hash, ReadOnlySpan<System::Byte> signature);
public virtual bool VerifyHash (ReadOnlySpan<byte> hash, ReadOnlySpan<byte> signature);
abstract member VerifyHash : ReadOnlySpan<byte> * ReadOnlySpan<byte> -> bool
override this.VerifyHash : ReadOnlySpan<byte> * ReadOnlySpan<byte> -> bool
Public Overridable Function VerifyHash (hash As ReadOnlySpan(Of Byte), signature As ReadOnlySpan(Of Byte)) As Boolean

Paramètres

signature
ReadOnlySpan<Byte>

Retours

S’applique à