00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef GPGENCRYPTED_H__
00015 #define GPGENCRYPTED_H__
00016
00017 #include "stanzaextension.h"
00018
00019 #include <string>
00020
00021 namespace gloox
00022 {
00023
00024 class Tag;
00025
00037 class GLOOX_API GPGEncrypted : public StanzaExtension
00038 {
00039 public:
00044 GPGEncrypted( const std::string& encrypted );
00045
00051 GPGEncrypted( Tag *tag );
00052
00056 virtual ~GPGEncrypted();
00057
00062 const std::string& encrypted() const { return m_encrypted; }
00063
00064
00065 Tag* tag() const;
00066
00067 private:
00068 std::string m_encrypted;
00069 bool m_valid;
00070
00071 };
00072
00073 }
00074
00075 #endif // GPGENCRYPTED_H__