zypp::KeyRingReport Struct Reference

#include <KeyRing.h>

Inheritance diagram for zypp::KeyRingReport:
[legend]

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 or 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

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

virtual 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?

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

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

Nothing else is performed (import, etc)

Definition at line 62 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 65 of file KeyRing.cc.

References zypp::_keyRingDefaultAccept().

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


The documentation for this struct was generated from the following files:
Generated on Tue Sep 25 19:23:14 2007 for libzypp by  doxygen 1.5.3