CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
dsakey_value.h
1#pragma once
2
3#include <xml/xml_element.h>
4#include <xml/xml_document.h>
5#include <system/string.h>
6#include <system/shared_ptr.h>
7#include <security/cryptography/dsa.h>
8#include <security/cryptography/xml/key_info_clause.h>
9
10namespace System { namespace Security { namespace Cryptography { namespace Xml {
11
16class ASPOSECPP_SHARED_CLASS DSAKeyValue : public KeyInfoClause
17{
18 typedef DSAKeyValue ThisType;
19 typedef KeyInfoClause BaseType;
20
21 typedef BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
22 ASPOSECPP_SHARED_RTTI_INFO_DECL();
23
24public:
25
26 ASPOSECPP_SHARED_API SharedPtr<DSA> get_Key();
27 ASPOSECPP_SHARED_API void set_Key(SharedPtr<DSA> value);
28
29 ASPOSECPP_SHARED_API DSAKeyValue();
30 ASPOSECPP_SHARED_API DSAKeyValue(SharedPtr<DSA> key);
31
32protected:
33
34 ASPOSECPP_SHARED_API SharedPtr<System::Xml::XmlElement> GetXml() override;
36 ASPOSECPP_SHARED_API void LoadXml(SharedPtr<System::Xml::XmlElement> value) override;
37#ifdef ASPOSE_GET_SHARED_MEMBERS
38 ASPOSECPP_SHARED_API void GetSharedMembers(System::Object::shared_members_type& result) const override;
39#endif
40
41private:
42
43 SharedPtr<DSA> _key;
44 static const String KeyValueElementName;
45 static const String DSAKeyValueElementName;
46 static const String PElementName;
47 static const String QElementName;
48 static const String GElementName;
49 static const String JElementName;
50 static const String YElementName;
51 static const String SeedElementName;
52 static const String PgenCounterElementName;
53
54};
55
56}}}} // System::Security::Cryptography::Xml
Represents the DSA private key. Objects of this class should only be allocated using System::MakeObje...
Definition: dsakey_value.h:17
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
All implementations of KeyInfo subelements must inherit this abstract class. Objects of this class sh...
Definition: key_info_clause.h:17
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