---
title: "System::Security::Cryptography::X509Certificates::X509Certificate2::get_Extensions method"
url: "https://reference.aspose.com/font/cpp/system.security.cryptography.x509certificates/x509certificate2/get_extensions/"
product: "Aspose.Font for C++"
description: "System::Security::Cryptography::X509Certificates::X509Certificate2::get_Extensions method. Gets collection of extension objects associated with certificate in C++."
---

## X509Certificate2::get_Extensions method


Gets collection of extension objects associated with certificate.

```cpp
X509ExtensionCollectionPtr System::Security::Cryptography::X509Certificates::X509Certificate2::get_Extensions() const
```


### ReturnValue

Collection of extensions.

## See Also

* Class [X509ExtensionCollectionPtr](../../x509extensioncollectionptr/)
* Class [X509Certificate2](../)
* Namespace [System::Security::Cryptography::X509Certificates](../../)
* Library [Aspose.Font for C++](../../../)
