trustitem.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __GPGMEPP_TRUSTITEM_H__
00022 #define __GPGMEPP_TRUSTITEM_H__
00023
00024 #include <gpgmepp/gpgmefw.h>
00025 #include <gpgmepp/key.h>
00026
00027 namespace GpgME {
00028
00029 class Context;
00030
00031 class TrustItem {
00032 friend class Context;
00033 public:
00034 TrustItem( gpgme_trust_item_t item=0 );
00035 TrustItem( const TrustItem & other );
00036 virtual ~TrustItem();
00037
00038 const TrustItem & operator=( const TrustItem & other );
00039
00040 bool isNull() const;
00041
00042 const char * keyID() const;
00043 const char * userID() const;
00044
00045 const char * ownerTrustAsString() const;
00046 const char * validityAsString() const;
00047
00048 int trustLevel() const;
00049
00050 enum Type { Unknown=0, Key=1, UserID=2 };
00051 Type type() const;
00052
00053 private:
00054 gpgme_trust_item_t impl() const;
00055 class Private;
00056 Private * d;
00057 };
00058
00059 }
00060
00061 #endif
This file is part of the documentation for libkdenetwork Library Version 3.3.0.