ECDsa.VerifyHashCore Metod

Definition

Verifierar att en digital signatur är giltig för den angivna hashen.

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

Parametrar

hash
ReadOnlySpan<Byte>

Den signerade hashen.

signature
ReadOnlySpan<Byte>

Signaturen som ska verifieras.

signatureFormat
DSASignatureFormat

Kodningsformatet för signature.

Returer

trueom den digitala signaturen är giltig för de angivna uppgifterna. annars . false

Undantag

Ett fel uppstod i verifieringsåtgärden.

Gäller för