CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
key_info_name.h
1#pragma once
2
3#include <system/string.h>
4
5#include <security/cryptography/xml/key_info_clause.h>
6
7namespace System { namespace Security { namespace Cryptography { namespace Xml {
8
13class ASPOSECPP_SHARED_CLASS KeyInfoName : public KeyInfoClause
14{
15 typedef KeyInfoName ThisType;
16 typedef KeyInfoClause BaseType;
17
18 typedef BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
19 ASPOSECPP_SHARED_RTTI_INFO_DECL();
20
21public:
22
23 ASPOSECPP_SHARED_API KeyInfoName();
24
25protected:
26
28 void set_Value(String value);
29
31
32 ASPOSECPP_SHARED_API SharedPtr<System::Xml::XmlElement> GetXml() override;
34 ASPOSECPP_SHARED_API void LoadXml(SharedPtr<System::Xml::XmlElement> value) override;
35
36private:
37
38 String _keyName;
39
40};
41
42}}}} // System::Security::Cryptography::Xml
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
All implementations of KeyInfo subelements must inherit this abstract class. Objects of this class sh...
Definition: key_info_clause.h:17
Represents the XMLDSIG 'KeyName' subelement or the XML encryption 'KeyInfo' element....
Definition: key_info_name.h:14
SharedPtr< System::Xml::XmlElement > GetXml(SharedPtr< System::Xml::XmlDocument > xmlDocument) override
SharedPtr< System::Xml::XmlElement > GetXml() override
void LoadXml(SharedPtr< System::Xml::XmlElement > value) override
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
@ Xml
Serialize according to the XML 1.0 rules.
Definition: db_command.h:9