gloox
1.0.9
|
#include <gpgencrypted.h>
Public Member Functions | |
GPGEncrypted (const std::string &encrypted) | |
GPGEncrypted (const Tag *tag) | |
virtual | ~GPGEncrypted () |
const std::string & | encrypted () const |
virtual const std::string & | filterString () const |
virtual StanzaExtension * | newInstance (const Tag *tag) const |
Tag * | tag () const |
virtual StanzaExtension * | clone () const |
Public Member Functions inherited from StanzaExtension | |
StanzaExtension (int type) | |
virtual | ~StanzaExtension () |
virtual Stanza * | embeddedStanza () const |
virtual Tag * | embeddedTag () const |
int | extensionType () const |
This is an abstraction of a jabber:x:encrypted namespace element, as used in XEP-0027 (Current Jabber OpenPGP Usage).
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 38 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 | ( | const 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.
|
virtual |
Virtual destructor.
Definition at line 39 of file gpgencrypted.cpp.
|
inlinevirtual |
Returns an identical copy of the current StanzaExtension.
Implements StanzaExtension.
Definition at line 78 of file gpgencrypted.h.
|
inline |
Returns the encrypted message.
Definition at line 63 of file gpgencrypted.h.
|
virtual |
Returns an XPath expression that describes a path to child elements of a stanza that an extension handles.
Implements StanzaExtension.
Definition at line 43 of file gpgencrypted.cpp.
|
inlinevirtual |
Returns a new Instance of the derived type. Usually, for a derived class FooExtension, the implementation of this function looks like:
Implements StanzaExtension.
Definition at line 69 of file gpgencrypted.h.
|
virtual |
Returns a Tag representation of the extension.
Implements StanzaExtension.
Definition at line 49 of file gpgencrypted.cpp.