ECDsa.VerifyHashCore(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>, DSASignatureFormat) Método
Definição
Verifica se uma assinatura digital é válida para o hash fornecido.Verifies that a digital signature is valid for the provided 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
Parâmetros
- hash
- ReadOnlySpan<Byte>
O hash assinado.The signed hash.
- signature
- ReadOnlySpan<Byte>
A assinatura a ser verificada.The signature to verify.
- signatureFormat
- DSASignatureFormat
O formato de codificação de signature.The encoding format for signature.
Retornos
true se a assinatura digital for válida para os dados fornecidos; caso contrário, false.true if the digital signature is valid for the provided data; otherwise, false.
Exceções
Ocorreu um erro na operação de verificação.An error occurred in the verification operation.