libzypp 9.41.1
|
PublicKey implementation. More...
Public Member Functions | |
Impl () | |
Impl (const Pathname &keyFile_r) | |
Impl (const filesystem::TmpFile &sharedFile_r) | |
Impl (const filesystem::TmpFile &sharedFile_r, const PublicKeyData &keyData_r) | |
const PublicKeyData & | keyData () const |
Pathname | path () const |
const std::list< PublicKeyData > & | hiddenKeys () const |
Static Public Member Functions | |
static shared_ptr< Impl > | nullimpl () |
Offer default Impl. | |
Protected Member Functions | |
void | readFromFile () |
Private Member Functions | |
Impl * | clone () const |
clone for RWCOW_pointer | |
Private Attributes | |
filesystem::TmpFile | _dataFile |
PublicKeyData | _keyData |
std::list< PublicKeyData > | _hiddenKeys |
Friends | |
Impl * | rwcowClone (const Impl *rhs) |
PublicKey implementation.
Definition at line 273 of file PublicKey.cc.
zypp::PublicKey::Impl::Impl | ( | ) | [inline] |
Definition at line 275 of file PublicKey.cc.
Referenced by clone().
zypp::PublicKey::Impl::Impl | ( | const Pathname & | keyFile_r | ) | [inline] |
Definition at line 278 of file PublicKey.cc.
References _dataFile, zypp::filesystem::checksum(), zypp::filesystem::hardlinkCopy(), MIL, zypp::filesystem::TmpPath::path(), readFromFile(), and ZYPP_THROW.
zypp::PublicKey::Impl::Impl | ( | const filesystem::TmpFile & | sharedFile_r | ) | [inline] |
Definition at line 292 of file PublicKey.cc.
References readFromFile().
zypp::PublicKey::Impl::Impl | ( | const filesystem::TmpFile & | sharedFile_r, |
const PublicKeyData & | keyData_r | ||
) | [inline] |
Definition at line 296 of file PublicKey.cc.
References readFromFile(), and WAR.
const PublicKeyData& zypp::PublicKey::Impl::keyData | ( | ) | const [inline] |
Definition at line 308 of file PublicKey.cc.
References _keyData.
Pathname zypp::PublicKey::Impl::path | ( | ) | const [inline] |
Definition at line 311 of file PublicKey.cc.
References _dataFile, and zypp::filesystem::TmpPath::path().
const std::list<PublicKeyData>& zypp::PublicKey::Impl::hiddenKeys | ( | ) | const [inline] |
Definition at line 314 of file PublicKey.cc.
References _hiddenKeys.
void zypp::PublicKey::Impl::readFromFile | ( | ) | [inline, protected] |
Definition at line 318 of file PublicKey.cc.
References _dataFile, _hiddenKeys, _keyData, zypp::PublicKeyScanner::_keys, zypp::filesystem::checksum(), zypp::ExternalProgram::close(), zypp::ExternalProgram::Discard_Stderr, MIL, zypp::filesystem::TmpPath::path(), zypp::externalprogram::ExternalDataSource::receiveLine(), zypp::PublicKeyScanner::scan(), WAR, and ZYPP_THROW.
Referenced by Impl().
static shared_ptr<Impl> zypp::PublicKey::Impl::nullimpl | ( | ) | [inline, static] |
Offer default Impl.
Definition at line 382 of file PublicKey.cc.
Impl* zypp::PublicKey::Impl::clone | ( | ) | const [inline, private] |
Definition at line 376 of file PublicKey.cc.
Referenced by Impl(), path(), and readFromFile().
PublicKeyData zypp::PublicKey::Impl::_keyData [private] |
Definition at line 377 of file PublicKey.cc.
Referenced by keyData(), and readFromFile().
std::list<PublicKeyData> zypp::PublicKey::Impl::_hiddenKeys [private] |
Definition at line 378 of file PublicKey.cc.
Referenced by hiddenKeys(), and readFromFile().