3#include <system/string.h>
4#include <system/shared_ptr.h>
5#include <system/object.h>
6#include <system/collections/object_model/collection.h>
7#include <security/cryptography/hash_algorithm.h>
10namespace System {
namespace Xml {
class XmlDocument; } }
11namespace System {
namespace Xml {
class XmlElement; } }
12namespace System {
namespace Security {
namespace Cryptography {
class AsymmetricAlgorithm; } } }
13namespace System {
namespace Security {
namespace Cryptography {
namespace Xml {
class Transform; } } } }
14namespace System {
namespace Security {
namespace Cryptography {
namespace Xml {
class Reference; } } } }
15namespace System {
namespace Security {
namespace Cryptography {
namespace Xml {
class SignedInfo; } } } }
16namespace System {
namespace Security {
namespace Cryptography {
namespace Xml {
class KeyInfo; } } } }
17namespace System {
namespace Security {
namespace Cryptography {
namespace Xml {
class DataObject; } } } }
18namespace System {
namespace Security {
namespace Cryptography {
namespace X509Certificates {
class X509Certificate2; } } } }
20namespace System {
namespace Security {
namespace Cryptography {
namespace Xml {
22namespace Details {
struct ReferenceImpl; }
23namespace Details {
struct SignedXmlImpl; }
34 typedef BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
35 ASPOSECPP_SHARED_RTTI_INFO_DECL();
39 friend struct Details::ReferenceImpl;
40 friend struct Details::SignedXmlImpl;
101#ifdef ASPOSE_GET_SHARED_MEMBERS
102 ASPOSECPP_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
106 const std::unique_ptr<Details::SignedXmlImpl> m_impl;
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:62
Facilitates creation of the XML signatures. Objects of this class should only be allocated using Syst...
Definition: reference.h:27
Used for XML signing and verification. Objects of this class should only be allocated using System::M...
Definition: signed_xml.h:30
static const String XmlDsigC14NTransformUrl
Definition: signed_xml.h:57
virtual SharedPtr< AsymmetricAlgorithm > GetPublicKey()
static const String XmlDsigSHA384Url
Definition: signed_xml.h:53
void AddReference(SharedPtr< Reference > reference)
static const String XmlDsigExcC14NWithCommentsTransformUrl
Definition: signed_xml.h:60
String get_SigningKeyName()
ArrayPtr< uint8_t > get_SignatureValue()
static const String XmlDsigRSASHA512Url
Definition: signed_xml.h:56
static const String XmlDsigXsltTransformUrl
Definition: signed_xml.h:63
static const String XmlDsigRSASHA256Url
Definition: signed_xml.h:52
SharedPtr< SignedInfo > get_SignedInfo()
SharedPtr< System::Xml::XmlElement > GetXml()
static const String XmlDecryptionTransformUrl
Definition: signed_xml.h:65
static const String XmlDsigNamespaceUrl
Definition: signed_xml.h:43
SharedPtr< KeyInfo > get_KeyInfo()
SharedPtr< Collections::ObjectModel::Collection< String > > get_SafeCanonicalizationMethods()
static const String XmlLicenseTransformUrl
Definition: signed_xml.h:66
SignedXml(SharedPtr< System::Xml::XmlElement > elem)
SharedPtr< AsymmetricAlgorithm > get_SigningKey()
static const String XmlDsigRSASHA384Url
Definition: signed_xml.h:54
void set_SigningKey(SharedPtr< AsymmetricAlgorithm > value)
static const String XmlDsigXPathTransformUrl
Definition: signed_xml.h:62
bool CheckSignatureReturningKey(SharedPtr< AsymmetricAlgorithm > &signingKey)
void set_SigningKeyName(String value)
virtual SharedPtr< System::Xml::XmlElement > GetIdElement(SharedPtr< System::Xml::XmlDocument > document, String idValue)
static const String XmlDsigSHA512Url
Definition: signed_xml.h:55
static const String XmlDsigEnvelopedSignatureTransformUrl
Definition: signed_xml.h:64
static const String XmlDsigDSAUrl
Definition: signed_xml.h:48
static const String XmlDsigExcC14NTransformUrl
Definition: signed_xml.h:59
static const String XmlDsigC14NWithCommentsTransformUrl
Definition: signed_xml.h:58
static const String XmlDsigSHA256Url
Definition: signed_xml.h:51
void LoadXml(SharedPtr< System::Xml::XmlElement > value)
String get_SignatureMethod()
static const String XmlDsigCanonicalizationUrl
Definition: signed_xml.h:45
static const String XmlDsigRSASHA1Url
Definition: signed_xml.h:49
void AddObject(SharedPtr< DataObject > dataObject)
static const String XmlDsigSHA1Url
Definition: signed_xml.h:47
static const String XmlDsigBase64TransformUrl
Definition: signed_xml.h:61
static const String XmlDsigMinimalCanonicalizationUrl
Definition: signed_xml.h:44
static const String XmlDsigCanonicalizationWithCommentsUrl
Definition: signed_xml.h:46
void set_KeyInfo(SharedPtr< KeyInfo > value)
SignedXml(SharedPtr< System::Xml::XmlDocument > document)
bool CheckSignature(SharedPtr< AsymmetricAlgorithm > key)
String get_SignatureLength()
static const String XmlDsigHMACSHA1Url
Definition: signed_xml.h:50
bool CheckSignature(SharedPtr< X509Certificates::X509Certificate2 > certificate, bool verifySignatureOnly)
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