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

GPGCheck Class Reference

#include <GPGCheck.h>

List of all members.

Public Member Functions

 GPGCheck ()
void set_keyring (const Pathname &keyring)
bool check_file (const Pathname &filename, bool strip=false)
bool check_file (const Pathname &sourceFile, const Pathname &destFile)

Protected Member Functions

std::string assembleCommand (const std::string &args) __attribute__((deprecated))

Private Attributes

std::string _keyring
std::string _gnupghome


Constructor & Destructor Documentation

GPGCheck::GPGCheck  ) 
 


Member Function Documentation

string GPGCheck::assembleCommand const std::string &  args  )  [protected]
 

Function has security problems. Will be removed in next release

bool GPGCheck::check_file const Pathname sourceFile,
const Pathname destFile
 

Check signature of given file. Strip signature from file and write result to destination. This is done regardless, if the signature is valid or not.

Parameters:
sourceFile Name of file to be checked.
destFile Destination where stripped file will be written.
Returns:
true, if signature is valid, false if not.

bool GPGCheck::check_file const Pathname filename,
bool  strip = false
 

Check signature of given file.

Parameters:
filename Name of file to be checked.
strip If true, signature is stripped from file
Returns:
True, if the signature is valid, false if not.

void GPGCheck::set_keyring const Pathname keyring  ) 
 

Set keyring.


Member Data Documentation

std::string GPGCheck::_gnupghome [private]
 

std::string GPGCheck::_keyring [private]
 


The documentation for this class was generated from the following files:
Generated on Thu Feb 23 23:56:10 2006 for liby2util by doxygen 1.3.6