Share via


ECDsa.VerifyHashCore Methode

Definition

Überprüft, ob eine digitale Signatur für den bereitgestellten Hash gültig ist.

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

Parameter

hash
ReadOnlySpan<Byte>

Der signierte Hash.

signature
ReadOnlySpan<Byte>

Die zu überprüfende Signatur.

signatureFormat
DSASignatureFormat

Das Codierungsformat für signature.

Gibt zurück

true, wenn die digitale Signatur für die angegebenen Daten gültig ist, andernfalls false.

Ausnahmen

Beim Überprüfungsvorgang ist ein Fehler aufgetreten.

Gilt für: