Mixes for Privacy and Anonymity in the Internet
|
An abstract base class for signable XML structures. More...
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.
CAAbstractXMLSignable::CAAbstractXMLSignable | ( | ) |
References m_pSignature.
|
virtual |
References m_pSignature.
SINT32 CAAbstractXMLSignable::isSigned | ( | ) |
returns nonzero, if this structure is already signed
References m_pSignature.
SINT32 CAAbstractXMLSignable::setSignature | ( | DOMElement * | elemSig | ) |
Verifies the signature.
Returns E_SUCCESS if the signature is valid. sets the internal signature representation. Should be called from derived class constructors.
References ASSERT, createDOMDocument(), E_SUCCESS, and m_pSignature.
SINT32 CAAbstractXMLSignable::sign | ( | CASignature & | ) |
TODO: implement.
References E_UNKNOWN.
|
protected |
Referenced by CAAbstractXMLSignable(), isSigned(), setSignature(), and ~CAAbstractXMLSignable().