Mixe for Privacy and Anonymity in the Internet
|
An abstract base class for signable XML structures. More...
#include <CAAbstractXMLSignable.hpp>
Public Member Functions | |
CAAbstractXMLSignable () | |
virtual | ~CAAbstractXMLSignable () |
SINT32 | sign (CASignature &) |
TODO: implement. More... | |
SINT32 | setSignature (DOMElement *elemSig) |
Verifies the signature. More... | |
SINT32 | isSigned () |
returns nonzero, if this structure is already signed More... | |
Public Member Functions inherited from CAAbstractXMLEncodable | |
CAAbstractXMLEncodable () | |
virtual | ~CAAbstractXMLEncodable () |
pure virtual destructor. More... | |
virtual SINT32 | toXmlElement (XERCES_CPP_NAMESPACE::DOMDocument *a_pDoc, DOMElement *&pElemRoot)=0 |
Creates the XML structure inside an existing DOM_Document, but does not append it to any node. More... | |
SINT32 | toXmlDocument (XERCES_CPP_NAMESPACE::DOMDocument *&pDoc) |
returns a pointer to the tagname of this XML structure's top level element. More... | |
UINT8 * | toXmlString (UINT32 *pSize) |
Converts the XML structure to a null-terminated C-String representation. More... | |
Protected Attributes | |
XERCES_CPP_NAMESPACE::DOMDocument * | m_pSignature |
An abstract base class for signable XML structures.
Definition at line 17 of file CAAbstractXMLSignable.hpp.
|
inline |
Definition at line 20 of file CAAbstractXMLSignable.hpp.
References m_pSignature.
|
inlinevirtual |
Definition at line 25 of file CAAbstractXMLSignable.hpp.
References m_pSignature.
|
inline |
returns nonzero, if this structure is already signed
Definition at line 70 of file CAAbstractXMLSignable.hpp.
References m_pSignature.
|
inline |
Verifies the signature.
Returns E_SUCCESS if the signature is valid. sets the internal signature representation. Should be called from derived class constructors.
Definition at line 61 of file CAAbstractXMLSignable.hpp.
References ASSERT, createDOMDocument(), E_SUCCESS, and m_pSignature.
|
inline |
|
protected |
Definition at line 83 of file CAAbstractXMLSignable.hpp.
Referenced by CAAbstractXMLSignable(), isSigned(), setSignature(), and ~CAAbstractXMLSignable().