---
title: "System::Security::Cryptography::DSASignatureFormatter::DSASignatureFormatter constructor"
url: "https://reference.aspose.com/pdf/cpp/system.security.cryptography/dsasignatureformatter/dsasignatureformatter/"
product: "Aspose.PDF for C++ API Reference"
description: "System::Security::Cryptography::DSASignatureFormatter::DSASignatureFormatter constructor. Constructor in C++."
---

## DSASignatureFormatter::DSASignatureFormatter() constructor


Constructor.

```cpp
System::Security::Cryptography::DSASignatureFormatter::DSASignatureFormatter()
```

## See Also

* Class [DSASignatureFormatter](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.PDF for C++](../../../)
## DSASignatureFormatter::DSASignatureFormatter(const SharedPtr\<AsymmetricAlgorithm\>\&) constructor


Constructor.

```cpp
System::Security::Cryptography::DSASignatureFormatter::DSASignatureFormatter(const SharedPtr<AsymmetricAlgorithm> &key)
```


| Parameter | Type | Description |
| --- | --- | --- |
| key | const SharedPtr\<AsymmetricAlgorithm\>\& | [DSA](../../dsa/) algorithm that holds the private key. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [AsymmetricAlgorithm](../../asymmetricalgorithm/)
* Class [DSASignatureFormatter](../)
* Namespace [System::Security::Cryptography](../../)
* Library [Aspose.PDF for C++](../../../)
