System::Security::Cryptography::RSACryptoServiceProvider::VerifyHash método
Contenido
[
Ocultar
]RSACryptoServiceProvider::VerifyHash(ByteArrayPtr, ByteArrayPtr, const HashAlgorithmName&, SharedPtr<RSASignaturePadding>) method
Verifica que la firma del hash especificado sea válida.
bool System::Security::Cryptography::RSACryptoServiceProvider::VerifyHash(ByteArrayPtr hash, ByteArrayPtr signature, const HashAlgorithmName &hash_algorithm, SharedPtr<RSASignaturePadding> padding) override
| Parámetro | Tipo | Descripción |
|---|---|---|
| hash | ByteArrayPtr | Valor hash de los datos firmados. |
| firma | ByteArrayPtr | Datos de la firma. |
| hash_algorithm | const HashAlgorithmName& | Algoritmo hash. |
| relleno | SharedPtr<RSASignaturePadding> | Modo de relleno. devuelve true si la firma es válida, de lo contrario - false. |
Ver también
- Typedef ByteArrayPtr
- Typedef SharedPtr
- Class RSASignaturePadding
- Class RSACryptoServiceProvider
- Namespace System::Security::Cryptography
- Library Aspose.Page for C++
RSACryptoServiceProvider::VerifyHash(const ByteArrayPtr&, const String&, const ByteArrayPtr&) method
Comprueba la firma de los datos.
bool System::Security::Cryptography::RSACryptoServiceProvider::VerifyHash(const ByteArrayPtr &rgb_hash, const String &str, const ByteArrayPtr &rgb_signature)
| Parámetro | Tipo | Descripción |
|---|---|---|
| rgb_hash | const ByteArrayPtr& | Hash calculado para los datos recibidos. |
| str | const String& | Nombre del algoritmo hash utilizado. |
| rgb_signature | const ByteArrayPtr& | Firma tal como se recibió. |
ReturnValue
True si la firma es válida, false en caso contrario.
Ver también
- Typedef ByteArrayPtr
- Class String
- Class RSACryptoServiceProvider
- Namespace System::Security::Cryptography
- Library Aspose.Page for C++