Main Page | Namespace List | Class Hierarchy | Class List | Directories | 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)

Private Attributes

std::string _keyring
std::string _gnupghome


Constructor & Destructor Documentation

GPGCheck::GPGCheck (   ) 
 


Member Function Documentation

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 file:
Generated on Fri Feb 24 00:32:35 2006 for liby2util by  doxygen 1.4.4