Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

GPGCheck.h

Go to the documentation of this file.
00001 #ifndef GPGCHECK_H
00002 #define GPGCHECK_H
00003 
00004 #include <y2util/Pathname.h>
00005 
00006 #include <string>
00007 
00008 class GPGCheck
00009 {
00010   public:
00011     GPGCheck ();
00012 
00016     void set_keyring ( const Pathname& keyring );
00017 
00026     bool check_file ( const Pathname& filename, bool strip = false );
00027 
00038     bool check_file ( const Pathname &sourceFile,
00039                       const Pathname &destFile );
00040 
00041   protected:
00043     std::string assembleCommand( const std::string &args ) __attribute__ ((deprecated));
00044 
00045   private:
00046     std::string _keyring;
00047     std::string _gnupghome;
00048 };
00049 
00050 #endif

Generated on Thu Feb 23 23:56:10 2006 for liby2util by doxygen 1.3.6