VerifyHash()
RSA::VerifyHash(ByteArrayPtr, ByteArrayPtr, const HashAlgorithmName&, SharedPtr<RSASignaturePadding>) 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)
Arguments
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
- Struct HashAlgorithmName
- Namespace System::Security::Cryptography
- Library Aspose.Slides