zypp::PublicKey::Impl Struct Reference

PublicKey implementation. More...

List of all members.

Public Member Functions

 Impl ()
 Impl (const Pathname &file)
std::string asString () const
std::string armoredData () const
std::string id () const
std::string name () const
std::string fingerprint () const
Date created () const
Date expires () const
Pathname path () const

Static Public Member Functions

static shared_ptr< Implnullimpl ()
 Offer default Impl.

Protected Member Functions

void readFromFile (const Pathname &keyfile)

Private Member Functions

Implclone () const
 clone for RWCOW_pointer

Private Attributes

std::string _id
std::string _name
std::string _fingerprint
std::string _data
filesystem::TmpFile _data_file
Date _created
Date _expires

Friends

ImplrwcowClone (const Impl *rhs)


Detailed Description

PublicKey implementation.

Definition at line 35 of file PublicKey.cc.


Constructor & Destructor Documentation

zypp::PublicKey::Impl::Impl (  )  [inline]

Definition at line 37 of file PublicKey.cc.

Referenced by clone().

zypp::PublicKey::Impl::Impl ( const Pathname &  file  )  [inline]

Definition at line 40 of file PublicKey.cc.

References MIL, and readFromFile().


Member Function Documentation

static shared_ptr<Impl> zypp::PublicKey::Impl::nullimpl (  )  [inline, static]

Offer default Impl.

Definition at line 48 of file PublicKey.cc.

std::string zypp::PublicKey::Impl::asString (  )  const [inline]

Definition at line 55 of file PublicKey.cc.

References created(), fingerprint(), zypp::str::hexstring(), id(), and name().

std::string zypp::PublicKey::Impl::armoredData (  )  const [inline]

Definition at line 60 of file PublicKey.cc.

References _data.

std::string zypp::PublicKey::Impl::id (  )  const [inline]

Definition at line 63 of file PublicKey.cc.

References _id.

Referenced by asString().

std::string zypp::PublicKey::Impl::name (  )  const [inline]

Definition at line 66 of file PublicKey.cc.

References _name.

Referenced by asString().

std::string zypp::PublicKey::Impl::fingerprint (  )  const [inline]

Definition at line 69 of file PublicKey.cc.

References _fingerprint.

Referenced by asString().

Date zypp::PublicKey::Impl::created (  )  const [inline]

Definition at line 72 of file PublicKey.cc.

References _created.

Referenced by asString().

Date zypp::PublicKey::Impl::expires (  )  const [inline]

Definition at line 75 of file PublicKey.cc.

References _expires.

Pathname zypp::PublicKey::Impl::path (  )  const [inline]

Definition at line 78 of file PublicKey.cc.

References _data_file, and zypp::filesystem::TmpPath::path().

void zypp::PublicKey::Impl::readFromFile ( const Pathname &  keyfile  )  [inline, protected]

Definition at line 86 of file PublicKey.cc.

References _created, _data_file, _expires, _fingerprint, _id, _name, zypp::filesystem::checksum(), zypp::ExternalProgram::close(), zypp::filesystem::copy(), zypp::ExternalProgram::Discard_Stderr, MIL, zypp::filesystem::TmpPath::path(), zypp::externalprogram::ExternalDataSource::receiveLine(), zypp::str::replace_all(), zypp::str::splitFields(), and ZYPP_THROW.

Referenced by Impl().

Impl* zypp::PublicKey::Impl::clone (  )  const [inline, private]

clone for RWCOW_pointer

Definition at line 200 of file PublicKey.cc.

References Impl().


Friends And Related Function Documentation

Impl* rwcowClone ( const Impl rhs  )  [friend]


Member Data Documentation

std::string zypp::PublicKey::Impl::_id [private]

Definition at line 189 of file PublicKey.cc.

Referenced by id(), and readFromFile().

std::string zypp::PublicKey::Impl::_name [private]

Definition at line 190 of file PublicKey.cc.

Referenced by name(), and readFromFile().

std::string zypp::PublicKey::Impl::_fingerprint [private]

Definition at line 191 of file PublicKey.cc.

Referenced by fingerprint(), and readFromFile().

std::string zypp::PublicKey::Impl::_data [private]

Definition at line 192 of file PublicKey.cc.

Referenced by armoredData().

filesystem::TmpFile zypp::PublicKey::Impl::_data_file [private]

Definition at line 193 of file PublicKey.cc.

Referenced by path(), and readFromFile().

Date zypp::PublicKey::Impl::_created [private]

Definition at line 194 of file PublicKey.cc.

Referenced by created(), and readFromFile().

Date zypp::PublicKey::Impl::_expires [private]

Definition at line 195 of file PublicKey.cc.

Referenced by expires(), and readFromFile().


The documentation for this struct was generated from the following file:
Generated on Fri Jul 4 16:58:03 2008 for zypp by  doxygen 1.5.0