---
title: "System::Security::Cryptography::X509Certificates::DSACertificateExtensions class"
url: "https://reference.aspose.com/pdf/cpp/system.security.cryptography.x509certificates/dsacertificateextensions/"
product: "Aspose.PDF for C++ API Reference"
description: "System::Security::Cryptography::X509Certificates::DSACertificateExtensions class. Provides methods to retrieve DSA keys from X509Certificate2 objects in C++."
---

## DSACertificateExtensions class


Provides methods to retrieve [DSA](../../system.security.cryptography/dsa/) keys from [X509Certificate2](../x509certificate2/) objects.

```cpp
class DSACertificateExtensions
```

## Methods

| Method | Description |
| --- | --- |
| static [GetDSAPrivateKey](./getdsaprivatekey/)(const SharedPtr\<X509Certificate2\>\&) | Gets [DSA](../../system.security.cryptography/dsa/) private key from the certificate. |
| static [GetDSAPublicKey](./getdsapublickey/)(const SharedPtr\<X509Certificate2\>\&) | Gets [DSA](../../system.security.cryptography/dsa/) public key from the certificate. |
## See Also

* Namespace [System::Security::Cryptography::X509Certificates](../)
* Library [Aspose.PDF for C++](../../)
