DSA.VerifySignatureCore Méthode

Définition

Vérifie qu’une signature numérique est valide pour le hachage fourni.

protected:
 virtual bool VerifySignatureCore(ReadOnlySpan<System::Byte> hash, ReadOnlySpan<System::Byte> signature, System::Security::Cryptography::DSASignatureFormat signatureFormat);
protected virtual bool VerifySignatureCore (ReadOnlySpan<byte> hash, ReadOnlySpan<byte> signature, System.Security.Cryptography.DSASignatureFormat signatureFormat);
abstract member VerifySignatureCore : ReadOnlySpan<byte> * ReadOnlySpan<byte> * System.Security.Cryptography.DSASignatureFormat -> bool
override this.VerifySignatureCore : ReadOnlySpan<byte> * ReadOnlySpan<byte> * System.Security.Cryptography.DSASignatureFormat -> bool
Protected Overridable Function VerifySignatureCore (hash As ReadOnlySpan(Of Byte), signature As ReadOnlySpan(Of Byte), signatureFormat As DSASignatureFormat) As Boolean

Paramètres

hash
ReadOnlySpan<Byte>

Code de hachage signé.

signature
ReadOnlySpan<Byte>

Signature à vérifier.

signatureFormat
DSASignatureFormat

Format d’encodage de signature.

Retours

Boolean

true si la signature numérique est valide pour les données fournies ; sinon, false.

Exceptions

Une erreur s’est produite dans l’opération de vérification.

S’applique à