14 #include "gpgencrypted.h"
22 m_encrypted( encrypted ), m_valid( true )
24 if( m_encrypted.empty() )
35 m_encrypted = tag->
cdata();
54 Tag* x =
new Tag(
"x", m_encrypted );
virtual const std::string & filterString() const
const std::string XMLNS_X_GPGENCRYPTED
The namespace for the gloox library.
This class abstracts a stanza extension, which is usually an element in a specific namespace...
bool hasAttribute(const std::string &name, const std::string &value=EmptyString) const
const std::string cdata() const
bool addAttribute(Attribute *attr)
const std::string & name() const
GPGEncrypted(const std::string &encrypted)
This is an abstraction of an XML element.