---
title: "System::Security::Cryptography::Pkcs::CmsSigner::get_DigestAlgorithm method"
url: "https://reference.aspose.com/pub/cpp/system.security.cryptography.pkcs/cmssigner/get_digestalgorithm/"
product: "Aspose.PUB for C++"
description: "System::Security::Cryptography::Pkcs::CmsSigner::get_DigestAlgorithm method. Gets hash algorithm using with signature in C++."
---

## CmsSigner::get_DigestAlgorithm method


Gets hash algorithm using with signature.

```cpp
SharedPtr<Oid> System::Security::Cryptography::Pkcs::CmsSigner::get_DigestAlgorithm() const
```


### ReturnValue

[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.PUB for C++](../../../)
