zypp::KeyRingReport Struct Reference

#include <KeyRing.h>

Inheritance diagram for zypp::KeyRingReport:

zypp::callback::ReportBase List of all members.

Public Member Functions

virtual bool askUserToAcceptUnsignedFile (const std::string &file)
virtual bool askUserToAcceptUnknownKey (const std::string &file, const std::string &id)
 we DONT know the key, only its id, but we have never seen it, the difference with trust key is that if you dont have it, you can't import it later.
virtual bool askUserToTrustKey (const PublicKey &key)
 This basically means, we know the key, but it is not trusted, Continue yes ir no?.
virtual bool askUserToImportKey (const PublicKey &key)
 Import the key.
virtual bool askUserToAcceptVerificationFailed (const std::string &file, const PublicKey &key)

Detailed Description

Definition at line 33 of file KeyRing.h.


Member Function Documentation

bool zypp::KeyRingReport::askUserToAcceptUnsignedFile const std::string &  file  )  [virtual]
 

Definition at line 67 of file KeyRing.cc.

References zypp::_keyRingDefaultAccept().

bool zypp::KeyRingReport::askUserToAcceptUnknownKey const std::string &  file,
const std::string &  id
[virtual]
 

we DONT know the key, only its id, but we have never seen it, the difference with trust key is that if you dont have it, you can't import it later.

The answer means continue yes or no?

Definition at line 70 of file KeyRing.cc.

References zypp::_keyRingDefaultAccept().

bool zypp::KeyRingReport::askUserToTrustKey const PublicKey key  )  [virtual]
 

This basically means, we know the key, but it is not trusted, Continue yes ir no?.

Nothing else is performed (import, etc)

Definition at line 73 of file KeyRing.cc.

References zypp::_keyRingDefaultAccept().

bool zypp::KeyRingReport::askUserToImportKey const PublicKey key  )  [virtual]
 

Import the key.

This means saving the key in the trusted database so next run it will appear as trusted. Nothing to do with trustKey, as you CAN trust a key without importing it, basically you will be asked every time again. There are programs who prefer to manage the trust keyring on their own and use trustKey without importing it into rpm.

Definition at line 76 of file KeyRing.cc.

References zypp::_keyRingDefaultAccept().

bool zypp::KeyRingReport::askUserToAcceptVerificationFailed const std::string &  file,
const PublicKey key
[virtual]
 

Definition at line 79 of file KeyRing.cc.

References zypp::_keyRingDefaultAccept().


The documentation for this struct was generated from the following files:
Generated on Thu Apr 24 02:25:07 2008 for zypp by  doxygen 1.4.6