VerifySignature()
DSASignatureDeformatter::VerifySignature(ArrayPtr<uint8_t>, ArrayPtr<uint8_t>) method
Verifies the DSA signature of the specified hash.
bool System::Security::Cryptography::DSASignatureDeformatter::VerifySignature(ArrayPtr<uint8_t> rgbHash, ArrayPtr<uint8_t> rgbSignature) override
Arguments
| Parameter | Type | Description |
|---|---|---|
| rgbHash | ArrayPtr<uint8_t> | Hash of the signed data. |
| rgbSignature | ArrayPtr<uint8_t> | Signature to verify. |
Return Value
True if the signature is valid, false otherwise.
Exceptions
| Exception | Description |
|---|---|
| ArgumentNullException | If rgbHash or rgbSignature is null. |
| CryptographicUnexpectedOperationException | If the key is not set. |
See Also
- Typedef ArrayPtr
- Class DSASignatureDeformatter
- Namespace System::Security::Cryptography
- Library Aspose.Slides