#include <gpgencrypted.h>
Public Member Functions | |
GPGEncrypted (const std::string &encrypted) | |
GPGEncrypted (Tag *tag) | |
virtual | ~GPGEncrypted () |
const std::string & | encrypted () const |
Tag * | tag () const |
This class does not encrypt or decrypt any stanza content. It's meant to be an abstraction of the XML representation only.
XEP version: 1.3
Definition at line 37 of file gpgencrypted.h.
GPGEncrypted | ( | const std::string & | encrypted | ) |
Constructs a new object with the given encrypted message.
encrypted | The encrypted message. |
Definition at line 20 of file gpgencrypted.cpp.
GPGEncrypted | ( | Tag * | tag | ) |
Constructs an GPGEncrypted object from the given Tag. To be recognized properly, the Tag should have a name of 'x' in the jabber:x:encrypted
namespace.
tag | The Tag to parse. |
Definition at line 28 of file gpgencrypted.cpp.
~GPGEncrypted | ( | ) | [virtual] |
Virtual destructor.
Definition at line 39 of file gpgencrypted.cpp.
const std::string& encrypted | ( | ) | const [inline] |
Returns the encrypted message.
Definition at line 62 of file gpgencrypted.h.
Tag * tag | ( | ) | const [virtual] |
Returns a Tag representation of the extension.
Implements StanzaExtension.
Definition at line 43 of file gpgencrypted.cpp.