ECDsa.VerifyDataCore Metoda

Definicja

Przeciążenia

VerifyDataCore(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, HashAlgorithmName, DSASignatureFormat)

Sprawdza, czy podpis cyfrowy jest prawidłowy dla podanych danych.

VerifyDataCore(Stream, ReadOnlySpan<Byte>, HashAlgorithmName, DSASignatureFormat)

Sprawdza, czy podpis cyfrowy jest prawidłowy dla podanych danych.

VerifyDataCore(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, HashAlgorithmName, DSASignatureFormat)

Sprawdza, czy podpis cyfrowy jest prawidłowy dla podanych danych.

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

Parametry

data
ReadOnlySpan<Byte>

Podpisane dane.

signature
ReadOnlySpan<Byte>

Podpis do zweryfikowania.

hashAlgorithm
HashAlgorithmName

Algorytm skrótu używany do tworzenia skrótów danych dla procesu weryfikacji.

signatureFormat
DSASignatureFormat

Format kodowania dla .signature

Zwraca

Boolean

true jeżeli podpis cyfrowy jest prawidłowy dla podanych danych; w przeciwnym razie , false.

Wyjątki

Wystąpił błąd podczas operacji tworzenia skrótów lub weryfikacji.

Dotyczy

VerifyDataCore(Stream, ReadOnlySpan<Byte>, HashAlgorithmName, DSASignatureFormat)

Sprawdza, czy podpis cyfrowy jest prawidłowy dla podanych danych.

protected:
 virtual bool VerifyDataCore(System::IO::Stream ^ data, ReadOnlySpan<System::Byte> signature, System::Security::Cryptography::HashAlgorithmName hashAlgorithm, System::Security::Cryptography::DSASignatureFormat signatureFormat);
protected virtual bool VerifyDataCore (System.IO.Stream data, ReadOnlySpan<byte> signature, System.Security.Cryptography.HashAlgorithmName hashAlgorithm, System.Security.Cryptography.DSASignatureFormat signatureFormat);
abstract member VerifyDataCore : System.IO.Stream * ReadOnlySpan<byte> * System.Security.Cryptography.HashAlgorithmName * System.Security.Cryptography.DSASignatureFormat -> bool
override this.VerifyDataCore : System.IO.Stream * ReadOnlySpan<byte> * System.Security.Cryptography.HashAlgorithmName * System.Security.Cryptography.DSASignatureFormat -> bool
Protected Overridable Function VerifyDataCore (data As Stream, signature As ReadOnlySpan(Of Byte), hashAlgorithm As HashAlgorithmName, signatureFormat As DSASignatureFormat) As Boolean

Parametry

data
Stream

Podpisane dane.

signature
ReadOnlySpan<Byte>

Podpis do zweryfikowania.

hashAlgorithm
HashAlgorithmName

Algorytm skrótu używany do tworzenia skrótów danych dla procesu weryfikacji.

signatureFormat
DSASignatureFormat

Format kodowania dla .signature

Zwraca

Boolean

true jeżeli podpis cyfrowy jest prawidłowy dla podanych danych; w przeciwnym razie , false.

Wyjątki

Wystąpił błąd podczas operacji tworzenia skrótów lub weryfikacji.

Dotyczy