Sdílet prostřednictvím


ECDsa.VerifyHashCore Metoda

Definice

Ověří, jestli je digitální podpis platný pro zadanou hodnotu hash.

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

Parametry

hash
ReadOnlySpan<Byte>

Podepsaná hodnota hash

signature
ReadOnlySpan<Byte>

Podpis, který chcete ověřit.

signatureFormat
DSASignatureFormat

Formát kódování pro signature.

Návraty

trueje-li digitální podpis platný pro poskytnuté údaje; v opačném případě . false

Výjimky

Při operaci ověřování došlo k chybě.

Platí pro