Share via


DSA.VerifySignatureCore Methode

Definition

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

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

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: