System::Security::Cryptography::RSA::VerifyHash method
RSA::VerifyHash method
Verifies that the signature of the specified hash is valid.
virtual bool System::Security::Cryptography::RSA::VerifyHash(ByteArrayPtr hash, ByteArrayPtr signature, const HashAlgorithmName &hash_algorithm, SharedPtr<RSASignaturePadding> padding)
Parameter | Type | Description |
---|---|---|
hash | ByteArrayPtr | Hash value of the signed data. |
signature | ByteArrayPtr | Signature data. |
hash_algorithm | const HashAlgorithmName& | Hash algorithm. |
padding | SharedPtr<RSASignaturePadding> | Padding mode. return true if signature is valid, otherwise - false. |
See Also
- Typedef ByteArrayPtr
- Typedef SharedPtr
- Class RSASignaturePadding
- Class RSA
- Namespace System::Security::Cryptography
- Library Aspose.PUB for C++