SetHashAlgorithm()
DSASignatureFormatter::SetHashAlgorithm(String) method
Sets hash algorithm to use.
void System::Security::Cryptography::DSASignatureFormatter::SetHashAlgorithm(String strName) override
Arguments
| Parameter | Type | Description |
|---|---|---|
| strName | String | Hash algorithm name. Should be “SHA1”, “SHA256”, “SHA384” or “SHA512”. |
Exceptions
| Exception | Description |
|---|---|
| CryptographicUnexpectedOperationException | If the hash algorithm is not supported. |
See Also
- Class String
- Class DSASignatureFormatter
- Namespace System::Security::Cryptography
- Library Aspose.Slides