CreateSignature()
DSASignatureFormatter::CreateSignature(ArrayPtr<uint8_t>) method
Creates the DSA signature for the specified hash.
ArrayPtr<uint8_t> System::Security::Cryptography::DSASignatureFormatter::CreateSignature(ArrayPtr<uint8_t> rgbHash) override
Arguments
| Parameter | Type | Description |
|---|---|---|
| rgbHash | ArrayPtr<uint8_t> | Hash for the data to sign. |
Return Value
Calculated signature.
Exceptions
| Exception | Description |
|---|---|
| ArgumentNullException | If rgbHash is null. |
| CryptographicUnexpectedOperationException | If the key or the hash algorithm is not set. |
See Also
- Typedef ArrayPtr
- Class DSASignatureFormatter
- Namespace System::Security::Cryptography
- Library Aspose.Slides