## CmsSigner::set_DigestAlgorithm method


Sets hash algorithm using with signature.

```cpp
void System::Security::Cryptography::Pkcs::CmsSigner::set_DigestAlgorithm(const SharedPtr<Oid> &value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | const SharedPtr\<Oid\>\& | [Oid](../../../system.security.cryptography/oid/) algorithm pointer. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Oid](../../../system.security.cryptography/oid/)
* Class [CmsSigner](../)
* Namespace [System::Security::Cryptography::Pkcs](../../)
* Library [Aspose.PDF for C++](../../../)
