---
title: "System::Security::Cryptography::Xml::RSAKeyValue class"
url: "https://reference.aspose.com/pub/cpp/system.security.cryptography.xml/rsakeyvalue/"
product: "Aspose.PUB for C++"
description: "System::Security::Cryptography::Xml::RSAKeyValue class. Represents the 'RSAKeyValue' element of the XML signature. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument in C++."
---

## RSAKeyValue class


Represents the '[RSAKeyValue](./)' element of the XML signature. Objects of this class should only be allocated using [System::MakeObject()](../../system/makeobject/) function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into [System::SmartPtr](../../system/smartptr/) pointer and use this pointer to pass it to functions as argument.

```cpp
class RSAKeyValue : public System::Security::Cryptography::Xml::KeyInfoClause
```

## Methods

| Method | Description |
| --- | --- |
| [get_Key](./get_key/)() |  |
| [RSAKeyValue](./rsakeyvalue/)() |  |
| [RSAKeyValue](./rsakeyvalue/)(SharedPtr\<RSA\>) |  |
| [set_Key](./set_key/)(SharedPtr\<RSA\>) |  |
## See Also

* Class [KeyInfoClause](../keyinfoclause/)
* Namespace [System::Security::Cryptography::Xml](../)
* Library [Aspose.PUB for C++](../../)
