Share via


ECDsa.VerifyHashCore Metode

Definisi

Memverifikasi bahwa tanda tangan digital valid untuk hash yang disediakan.

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>

Hash yang ditandatangani.

signature
ReadOnlySpan<Byte>

Tanda tangan untuk diverifikasi.

signatureFormat
DSASignatureFormat

Format pengodean untuk signature.

Mengembalikan

true jika tanda tangan digital valid untuk data yang disediakan; jika tidak, false.

Pengecualian

Terjadi kesalahan dalam operasi verifikasi.

Berlaku untuk