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

## KeyInfoX509Data::GetXml() method




```cpp
SharedPtr<System::Xml::XmlElement> System::Security::Cryptography::Xml::KeyInfoX509Data::GetXml() override
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlElement](../../../system.xml/xmlelement/)
* Class [KeyInfoX509Data](../)
* Namespace [System::Security::Cryptography::Xml](../../)
* Library [Aspose.PUB for C++](../../../)
## KeyInfoX509Data::GetXml(SharedPtr\<System::Xml::XmlDocument\>) method




```cpp
SharedPtr<System::Xml::XmlElement> System::Security::Cryptography::Xml::KeyInfoX509Data::GetXml(SharedPtr<System::Xml::XmlDocument> xmlDocument) override
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlElement](../../../system.xml/xmlelement/)
* Class [XmlDocument](../../../system.xml/xmldocument/)
* Class [KeyInfoX509Data](../)
* Namespace [System::Security::Cryptography::Xml](../../)
* Library [Aspose.PUB for C++](../../../)
