ECDsa.VerifyDataCore Metoda

Definice

Přetížení

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

Ověří platnost digitálního podpisu pro poskytnutá data.

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

Ověří platnost digitálního podpisu pro poskytnutá data.

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

Zdroj:
ECDsa.cs
Zdroj:
ECDsa.cs
Zdroj:
ECDsa.cs

Ověří platnost digitálního podpisu pro poskytnutá data.

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

Podepsaná data.

signature
ReadOnlySpan<Byte>

Podpis, který chcete ověřit.

hashAlgorithm
HashAlgorithmName

Hashovací algoritmus použitý k hashování dat pro proces ověření.

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 hash nebo ověření došlo k chybě.

Platí pro

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

Zdroj:
ECDsa.cs
Zdroj:
ECDsa.cs
Zdroj:
ECDsa.cs

Ověří platnost digitálního podpisu pro poskytnutá data.

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>

Podepsaná data.

signature
ReadOnlySpan<Byte>

Podpis, který chcete ověřit.

hashAlgorithm
HashAlgorithmName

Hashovací algoritmus použitý k hashování dat pro proces ověření.

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 hash nebo ověření došlo k chybě.

Platí pro