---
title: "System::Security::Cryptography::X509Certificates::X509Certificate2::get_SignatureAlgorithm method"
url: "https://reference.aspose.com/pub/cpp/system.security.cryptography.x509certificates/x509certificate2/get_signaturealgorithm/"
product: "Aspose.PUB for C++"
description: "System::Security::Cryptography::X509Certificates::X509Certificate2::get_SignatureAlgorithm method. Gets algorithm used to create signature of a certificate in C++."
---

## X509Certificate2::get_SignatureAlgorithm method


Gets algorithm used to create signature of a certificate.

```cpp
SharedPtr<Oid> System::Security::Cryptography::X509Certificates::X509Certificate2::get_SignatureAlgorithm() const
```


### ReturnValue

Algorithm identifier.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Oid](../../../system.security.cryptography/oid/)
* Class [X509Certificate2](../)
* Namespace [System::Security::Cryptography::X509Certificates](../../)
* Library [Aspose.PUB for C++](../../../)
