---
title: "System::Security::Cryptography::Xml::KeyInfoX509Data::AddCertificate method"
url: "https://reference.aspose.com/tex/cpp/system.security.cryptography.xml/keyinfox509data/addcertificate/"
product: "Aspose.TeX for C++"
description: "How to use AddCertificate method of System::Security::Cryptography::Xml::KeyInfoX509Data class in C++."
---

## KeyInfoX509Data::AddCertificate method




```cpp
void System::Security::Cryptography::Xml::KeyInfoX509Data::AddCertificate(SharedPtr<X509Certificates::X509Certificate> certificate)
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [X509Certificate](../../../system.security.cryptography.x509certificates/x509certificate/)
* Class [KeyInfoX509Data](../)
* Namespace [System::Security::Cryptography::Xml](../../)
* Library [Aspose.TeX for C++](../../../)
