#include <GPGCheck.h>
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 |
| GPGCheck::GPGCheck | ( | ) |
| void GPGCheck::set_keyring | ( | const Pathname & | keyring | ) |
Set keyring.
| bool GPGCheck::check_file | ( | const Pathname & | filename, | |
| bool | strip = false | |||
| ) |
Check signature of given file.
| filename | Name of file to be checked. | |
| strip | If true, signature is stripped from file |
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.
| sourceFile | Name of file to be checked. | |
| destFile | Destination where stripped file will be written. |
std::string GPGCheck::_keyring [private] |
std::string GPGCheck::_gnupghome [private] |
1.5.3