## RSAPKCS1SignatureFormatter::SetHashAlgorithm method


Sets hash algorithm to use.

```cpp
virtual void System::Security::Cryptography::RSAPKCS1SignatureFormatter::SetHashAlgorithm(System::String strName) override
```


| Parameter | Type | Description |
| --- | --- | --- |
| strName | System::String | Hash algorithm name. Should be "SHA1", "SHA256", "SHA384" or "SHA512". |

## See Also

* Class [String](../../../system/string/)
* Class [RSAPKCS1SignatureFormatter](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.Font for C++](../../../)
