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
Hashes Class Reference

#include <hashes.h>

Collaboration diagram for Hashes:

Public Member Functions

bool Add (const unsigned char *Data, unsigned long long Size)
 
bool Add (const char *Data)
 
bool Add (const unsigned char *Beg, const unsigned char *End)
 
bool AddFD (int const Fd, unsigned long long Size=0)
 
bool AddFD (int const Fd, unsigned long long Size, bool const addMD5, bool const addSHA1, bool const addSHA256, bool const addSHA512)
 
bool AddFD (FileFd &Fd, unsigned long long Size=0)
 
bool AddFD (FileFd &Fd, unsigned long long Size, bool const addMD5, bool const addSHA1, bool const addSHA256, bool const addSHA512)
 

Public Attributes

MD5Summation MD5
 
SHA1Summation SHA1
 
SHA256Summation SHA256
 
SHA512Summation SHA512
 

Member Function Documentation

bool Hashes::Add ( const unsigned char *  Data,
unsigned long long  Size 
)
inline

References SHA1Summation::Add(), SHA256Summation::Add(), MD5Summation::Add(), SHA512Summation::Add(), MD5, SHA1, SHA256, and SHA512.

Here is the call graph for this function:

bool Hashes::Add ( const char *  Data)
inline

References Add().

Referenced by Add().

Here is the call graph for this function:

Here is the caller graph for this function:

bool Hashes::Add ( const unsigned char *  Beg,
const unsigned char *  End 
)
inline

References Add().

Referenced by Add().

Here is the call graph for this function:

Here is the caller graph for this function:

bool Hashes::AddFD ( int const  Fd,
unsigned long long  Size = 0 
)
inline

References AddFD().

Referenced by AddFD().

Here is the call graph for this function:

Here is the caller graph for this function:

bool Hashes::AddFD ( int const  Fd,
unsigned long long  Size,
bool const  addMD5,
bool const  addSHA1,
bool const  addSHA256,
bool const  addSHA512 
)
bool Hashes::AddFD ( FileFd Fd,
unsigned long long  Size = 0 
)
inline

References AddFD().

Referenced by AddFD().

Here is the call graph for this function:

Here is the caller graph for this function:

bool Hashes::AddFD ( FileFd Fd,
unsigned long long  Size,
bool const  addMD5,
bool const  addSHA1,
bool const  addSHA256,
bool const  addSHA512 
)

Member Data Documentation

MD5Summation Hashes::MD5

Referenced by Add().

SHA1Summation Hashes::SHA1

Referenced by Add().

SHA256Summation Hashes::SHA256

Referenced by Add().

SHA512Summation Hashes::SHA512

Referenced by Add().


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