Public Member Functions | List of all members
GPGSigned Class Reference

#include <gpgsigned.h>

Inheritance diagram for GPGSigned:
Inheritance graph
Collaboration diagram for GPGSigned:
Collaboration graph

Public Member Functions

 GPGSigned (const std::string &signature)
 GPGSigned (Tag *tag)
virtual ~GPGSigned ()
const std::string & signature () const
Tagtag () const
- Public Member Functions inherited from StanzaExtension
 StanzaExtension (StanzaExtensionType type)
virtual ~StanzaExtension ()
StanzaExtensionType type () const

Detailed Description

This is an abstraction of a jabber:x:signed namespace element, as used in XEP-0027 (Current Jabber OpenPGP Usage).

This class does not sign or verify any stanza content. It's meant to be an abstraction of the XML representation only.

XEP version: 1.3

Jakob Schroeter

Definition at line 37 of file gpgsigned.h.

Constructor & Destructor Documentation

GPGSigned ( const std::string &  signature)

Constructs a new object with the given signature.

signatureThe signature.

Definition at line 20 of file gpgsigned.cpp.

GPGSigned ( Tag tag)

Constructs an GPGSigned object from the given Tag. To be recognized properly, the Tag should have a name of 'x' in the jabber:x:signed namespace.

tagThe Tag to parse.

Definition at line 28 of file gpgsigned.cpp.

~GPGSigned ( )

Virtual destructor.

Definition at line 39 of file gpgsigned.cpp.

Member Function Documentation

const std::string& signature ( ) const

Returns the signature.

The signature.

Definition at line 62 of file gpgsigned.h.

Tag * tag ( ) const

Returns a Tag representation of the extension.

A Tag representation of the extension.

Implements StanzaExtension.

Definition at line 43 of file gpgsigned.cpp.

The documentation for this class was generated from the following files: