|
libzypp 17.31.32
|

Public Types | |
| typedef function< void(const Pathname &file_r) | PreCheckCB) |
| Called after download but before verifying the file. | |
Public Types inherited from zypp::SignatureFileChecker | |
| typedef SignatureCheckException | ExceptionType |
Public Types inherited from zypp::keyring::VerifyFileContext | |
| typedef std::set< std::string > | BuddyKeys |
| List of key safe key ids to import IFF fileValidated. | |
Public Member Functions | |
| ExtraSignatureFileChecker () | |
| ExtraSignatureFileChecker (Pathname signature_r) | |
| void | preCheckCB (PreCheckCB cb_r) |
| void | operator() (const Pathname &file_r) const |
Public Member Functions inherited from zypp::SignatureFileChecker | |
| SignatureFileChecker () | |
| Default Ctor for unsigned files. | |
| SignatureFileChecker (Pathname signature_r) | |
| Ctor taking the detached signature. | |
| void | addPublicKey (const PublicKey &publickey_r) |
| Add a public key to the list of known keys. | |
| void | addPublicKey (const Pathname &publickey_r) |
| void | operator() (const Pathname &file_r) const |
| Call KeyRing::verifyFileSignatureWorkflow to verify the file. | |
Public Member Functions inherited from zypp::keyring::VerifyFileContext | |
| VerifyFileContext () | |
| Ctor. | |
| VerifyFileContext (Pathname file_r) | |
| Ctor may take file to verify and detatched signature. | |
| VerifyFileContext (Pathname file_r, Pathname signature_r) | |
| Ctor may take file to verify and detatched signature. | |
| ~VerifyFileContext () | |
| const Pathname & | file () const |
| File to verify. | |
| void | file (Pathname file_r) |
| const Pathname & | signature () const |
| Detached signature or empty. | |
| void | signature (Pathname signature_r) |
| std::string | shortFile () const |
| Short name for file (default: basename). | |
| void | shortFile (std::string shortFile_r) |
| const KeyContext & | keyContext () const |
| KeyContext passed to callbacks | |
| void | keyContext (KeyContext keyContext_r) |
| const BuddyKeys & | buddyKeys () const |
| void | addBuddyKey (std::string sid_r) |
| void | resetResults () |
| Reset all result values to safe defaults. | |
| bool | fileAccepted () const |
May return true due to user interaction or global defaults even if the signature was not actually verified. | |
| void | fileAccepted (bool yesno_r) |
| bool | fileValidated () const |
| Whether the signature was actually successfully verified. | |
| void | fileValidated (bool yesno_r) |
| const std::string & | signatureId () const |
| The id of the gpg key which signed the file. | |
| void | signatureId (std::string signatureId_r) |
| bool | signatureIdTrusted () const |
| Whether the SignatureId is in the trusted keyring (not temp. | |
| void | signatureIdTrusted (bool yesno_r) |
Private Attributes | |
| PreCheckCB | _preCheckCB |
Additional Inherited Members | |
Related Symbols inherited from zypp::keyring::VerifyFileContext | |
| std::ostream & | operator<< (std::ostream &str, const VerifyFileContext &obj) |
| Stream output. | |
Definition at line 40 of file Downloader.cc.
Called after download but before verifying the file.
Definition at line 44 of file Downloader.cc.
|
inline |
Definition at line 46 of file Downloader.cc.
|
inline |
Definition at line 49 of file Downloader.cc.
|
inline |
Definition at line 53 of file Downloader.cc.
Definition at line 56 of file Downloader.cc.
|
private |
Definition at line 64 of file Downloader.cc.