libapt-pkg-dev  v0.9.7.5ubuntu5.4
Debian+Ubuntu APT Package Management
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SigVerify Class Reference

#include <indexcopy.h>

Collaboration diagram for SigVerify:

Public Member Functions

bool CopyAndVerify (std::string CDROM, std::string Name, std::vector< std::string > &SigList, std::vector< std::string > PkgList, std::vector< std::string > SrcList)
 

Static Public Member Functions

static bool RunGPGV (std::string const &File, std::string const &FileOut, int const &statusfd, int fd[2])
 generates and run the command to verify a file with gpgv More...
 
static bool RunGPGV (std::string const &File, std::string const &FileOut, int const &statusfd=-1)
 

Private Member Functions

bool CopyMetaIndex (std::string CDROM, std::string CDName, std::string prefix, std::string file)
 
bool Verify (std::string prefix, std::string file, indexRecords *records)
 

Private Attributes

void * d
 dpointer placeholder (for later in case we need it) More...
 

Member Function Documentation

bool SigVerify::CopyAndVerify ( std::string  CDROM,
std::string  Name,
std::vector< std::string > &  SigList,
std::vector< std::string >  PkgList,
std::vector< std::string >  SrcList 
)
bool SigVerify::CopyMetaIndex ( std::string  CDROM,
std::string  CDName,
std::string  prefix,
std::string  file 
)
private
static bool SigVerify::RunGPGV ( std::string const &  File,
std::string const &  FileOut,
int const &  statusfd,
int  fd[2] 
)
static

generates and run the command to verify a file with gpgv

Referenced by RunGPGV().

Here is the caller graph for this function:

static bool SigVerify::RunGPGV ( std::string const &  File,
std::string const &  FileOut,
int const &  statusfd = -1 
)
inlinestatic

References RunGPGV().

Here is the call graph for this function:

bool SigVerify::Verify ( std::string  prefix,
std::string  file,
indexRecords records 
)
private

Member Data Documentation

void* SigVerify::d
private

dpointer placeholder (for later in case we need it)


The documentation for this class was generated from the following file: