zypp::PublicKey Class Reference

Class that represent a GPG Public Key. More...

#include <PublicKey.h>

List of all members.

Public Member Functions

 PublicKey ()
 PublicKey (const Pathname &file)
 Ctor
Exceptions:
when data does not make a key.

 ~PublicKey ()
bool isValid () const
std::string asString () const
std::string armoredData () const
std::string id () const
std::string name () const
std::string fingerprint () const
Pathname path () const
bool operator== (PublicKey b)
bool operator== (std::string sid)

Private Attributes

RWCOW_pointer< Impl_pimpl
 Pointer to implementation.

Friends

std::ostream & operator<< (std::ostream &str, const PublicKey &obj)
 Stream output.

Classes

struct  Impl
 PublicKey implementation. More...


Detailed Description

Class that represent a GPG Public Key.

Definition at line 62 of file PublicKey.h.


Constructor & Destructor Documentation

zypp::PublicKey::PublicKey (  ) 

Definition at line 162 of file PublicKey.cc.

zypp::PublicKey::PublicKey ( const Pathname &  file  ) 

Ctor

Exceptions:
when data does not make a key.

Definition at line 166 of file PublicKey.cc.

zypp::PublicKey::~PublicKey (  ) 

Definition at line 174 of file PublicKey.cc.


Member Function Documentation

bool zypp::PublicKey::isValid (  )  const [inline]

Definition at line 79 of file PublicKey.h.

References fingerprint(), and path().

std::string zypp::PublicKey::asString (  )  const

Definition at line 183 of file PublicKey.cc.

References _pimpl.

std::string zypp::PublicKey::armoredData (  )  const

Definition at line 188 of file PublicKey.cc.

References _pimpl.

std::string zypp::PublicKey::id (  )  const

Definition at line 191 of file PublicKey.cc.

References _pimpl.

Referenced by operator==(), and zypp::KeyRing::Impl::publicKeys().

std::string zypp::PublicKey::name (  )  const

Definition at line 194 of file PublicKey.cc.

References _pimpl.

Referenced by zypp::KeyRing::Impl::publicKeys(), and zypp::KeyRing::Impl::verifyFileSignatureWorkflow().

std::string zypp::PublicKey::fingerprint (  )  const

Definition at line 197 of file PublicKey.cc.

References _pimpl.

Referenced by isValid(), operator==(), and zypp::KeyRing::Impl::publicKeys().

Pathname zypp::PublicKey::path (  )  const

Definition at line 200 of file PublicKey.cc.

References _pimpl.

Referenced by zypp::KeyRing::importKey(), zypp::KeyRing::Impl::importKey(), isValid(), and zypp::KeyRing::Impl::verifyFileSignatureWorkflow().

bool zypp::PublicKey::operator== ( PublicKey  b  )  [inline]

Definition at line 89 of file PublicKey.h.

References fingerprint(), and id().

bool zypp::PublicKey::operator== ( std::string  sid  )  [inline]

Definition at line 92 of file PublicKey.h.

References id().


Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream &  str,
const PublicKey obj 
) [friend]

Stream output.

Definition at line 102 of file PublicKey.h.


Member Data Documentation

RWCOW_pointer<Impl> zypp::PublicKey::_pimpl [private]

Pointer to implementation.

Definition at line 97 of file PublicKey.h.

Referenced by armoredData(), asString(), fingerprint(), id(), name(), and path().


The documentation for this class was generated from the following files:
Generated on Tue Nov 28 16:49:37 2006 for zypp by  doxygen 1.5.0