ECDsa.VerifyDataCore Método

Definição

Sobrecargas

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

Verifica se uma assinatura digital é válida para os dados fornecidos.

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

Verifica se uma assinatura digital é válida para os dados fornecidos.

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

Verifica se uma assinatura digital é válida para os dados fornecidos.

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

Parâmetros

data
ReadOnlySpan<Byte>

Os dados assinados.

signature
ReadOnlySpan<Byte>

A assinatura a ser verificada.

hashAlgorithm
HashAlgorithmName

O algoritmo de hash usado para efetuar hash nos dados no processo de verificação.

signatureFormat
DSASignatureFormat

O formato de codificação de signature.

Retornos

Boolean

true se a assinatura digital for válida para os dados fornecidos; caso contrário, false.

Exceções

Ocorreu um erro na operação de hash ou verificação.

Aplica-se a

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

Verifica se uma assinatura digital é válida para os dados fornecidos.

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

Parâmetros

data
Stream

Os dados assinados.

signature
ReadOnlySpan<Byte>

A assinatura a ser verificada.

hashAlgorithm
HashAlgorithmName

O algoritmo de hash usado para efetuar hash nos dados no processo de verificação.

signatureFormat
DSASignatureFormat

O formato de codificação de signature.

Retornos

Boolean

true se a assinatura digital for válida para os dados fornecidos; caso contrário, false.

Exceções

Ocorreu um erro na operação de hash ou verificação.

Aplica-se a