---
title: "Aspose::Tasks::Saving::PdfDigitalSignatureDetails::get_Certificate method"
url: "https://reference.aspose.com/tasks/cpp/aspose.tasks.saving/pdfdigitalsignaturedetails/get_certificate/"
product: "Aspose.Tasks for C++"
description: "Gets the certificate to sign with."
---


## get_Certificate {#get_certificate}

Gets the certificate to sign with.

**Returns:** const System::SharedPtr<System::Security::Cryptography::X509Certificates::X509Certificate2>& Aspose::Tasks::Saving::

```cpp
get_Certificate()
```

