KeyRing implementation.
More...
|
CachedPublicKeyData::Manip | keyRingManip (const Pathname &keyring) |
| Impl helper providing on demand a KeyManagerCtx to manip a cached keyring. More...
|
|
bool | verifyFile (const Pathname &file, const Pathname &signature, const Pathname &keyring) |
|
void | importKey (const Pathname &keyfile, const Pathname &keyring) |
|
PublicKey | exportKey (const std::string &id, const Pathname &keyring) |
|
PublicKey | exportKey (const PublicKeyData &keyData, const Pathname &keyring) |
|
PublicKey | exportKey (const PublicKey &key, const Pathname &keyring) |
|
void | dumpPublicKey (const std::string &id, const Pathname &keyring, std::ostream &stream) |
|
filesystem::TmpFile | dumpPublicKeyToTmp (const std::string &id, const Pathname &keyring) |
|
void | deleteKey (const std::string &id, const Pathname &keyring) |
|
std::list< PublicKey > | publicKeys (const Pathname &keyring) |
|
const std::list< PublicKeyData > & | publicKeyData (const Pathname &keyring) |
|
PublicKeyData | publicKeyExists (const std::string &id, const Pathname &keyring) |
| Get PublicKeyData for ID (false if ID is not found). More...
|
|
void | preloadCachedKeys () |
| Load key files cached on the system into the generalKeyRing. More...
|
|
const Pathname | generalKeyRing () const |
|
const Pathname | trustedKeyRing () const |
|
KeyRing implementation.
Definition at line 230 of file KeyRing.cc.
◆ Impl()
zypp::KeyRing::Impl::Impl |
( |
const Pathname & |
baseTmpDir | ) |
|
|
inline |
◆ importKey() [1/2]
void zypp::KeyRing::Impl::importKey |
( |
const PublicKey & |
key, |
|
|
bool |
trusted = false |
|
) |
| |
◆ multiKeyImport()
void zypp::KeyRing::Impl::multiKeyImport |
( |
const Pathname & |
keyfile_r, |
|
|
bool |
trusted_r = false |
|
) |
| |
◆ deleteKey() [1/2]
void zypp::KeyRing::Impl::deleteKey |
( |
const std::string & |
id, |
|
|
bool |
trusted |
|
) |
| |
◆ readSignatureKeyId()
std::string zypp::KeyRing::Impl::readSignatureKeyId |
( |
const Pathname & |
signature | ) |
|
◆ isKeyTrusted()
bool zypp::KeyRing::Impl::isKeyTrusted |
( |
const std::string & |
id | ) |
|
|
inline |
◆ isKeyKnown()
bool zypp::KeyRing::Impl::isKeyKnown |
( |
const std::string & |
id | ) |
|
|
inline |
◆ trustedPublicKeys()
std::list<PublicKey> zypp::KeyRing::Impl::trustedPublicKeys |
( |
| ) |
|
|
inline |
◆ publicKeys() [1/2]
std::list<PublicKey> zypp::KeyRing::Impl::publicKeys |
( |
| ) |
|
|
inline |
◆ trustedPublicKeyData()
const std::list<PublicKeyData>& zypp::KeyRing::Impl::trustedPublicKeyData |
( |
| ) |
|
|
inline |
◆ publicKeyData() [1/2]
const std::list<PublicKeyData>& zypp::KeyRing::Impl::publicKeyData |
( |
| ) |
|
|
inline |
◆ dumpPublicKey() [1/2]
void zypp::KeyRing::Impl::dumpPublicKey |
( |
const std::string & |
id, |
|
|
bool |
trusted, |
|
|
std::ostream & |
stream |
|
) |
| |
|
inline |
◆ exportPublicKey()
◆ exportTrustedPublicKey()
◆ verifyFileSignatureWorkflow()
◆ _verifyFileSignatureWorkflow()
◆ verifyFileSignature()
◆ verifyFileTrustedSignature()
bool zypp::KeyRing::Impl::verifyFileTrustedSignature |
( |
const Pathname & |
file, |
|
|
const Pathname & |
signature |
|
) |
| |
|
inline |
◆ publicKeyExists() [1/2]
PublicKeyData zypp::KeyRing::Impl::publicKeyExists |
( |
const std::string & |
id | ) |
|
|
inline |
◆ trustedPublicKeyExists()
PublicKeyData zypp::KeyRing::Impl::trustedPublicKeyExists |
( |
const std::string & |
id | ) |
|
|
inline |
◆ provideAndImportKeyFromRepositoryWorkflow()
bool zypp::KeyRing::Impl::provideAndImportKeyFromRepositoryWorkflow |
( |
const std::string & |
id_r, |
|
|
const RepoInfo & |
info_r |
|
) |
| |
◆ allowPreload()
void zypp::KeyRing::Impl::allowPreload |
( |
bool |
yesno_r | ) |
|
|
inline |
◆ keyRingManip()
CachedPublicKeyData::Manip zypp::KeyRing::Impl::keyRingManip |
( |
const Pathname & |
keyring | ) |
|
|
inlineprivate |
◆ verifyFile()
◆ importKey() [2/2]
void zypp::KeyRing::Impl::importKey |
( |
const Pathname & |
keyfile, |
|
|
const Pathname & |
keyring |
|
) |
| |
|
private |
◆ exportKey() [1/3]
PublicKey zypp::KeyRing::Impl::exportKey |
( |
const std::string & |
id, |
|
|
const Pathname & |
keyring |
|
) |
| |
|
private |
◆ exportKey() [2/3]
◆ exportKey() [3/3]
◆ dumpPublicKey() [2/2]
void zypp::KeyRing::Impl::dumpPublicKey |
( |
const std::string & |
id, |
|
|
const Pathname & |
keyring, |
|
|
std::ostream & |
stream |
|
) |
| |
|
private |
◆ dumpPublicKeyToTmp()
◆ deleteKey() [2/2]
void zypp::KeyRing::Impl::deleteKey |
( |
const std::string & |
id, |
|
|
const Pathname & |
keyring |
|
) |
| |
|
private |
◆ publicKeys() [2/2]
◆ publicKeyData() [2/2]
◆ publicKeyExists() [2/2]
◆ preloadCachedKeys()
void zypp::KeyRing::Impl::preloadCachedKeys |
( |
| ) |
|
|
private |
Load key files cached on the system into the generalKeyRing.
Definition at line 442 of file KeyRing.cc.
◆ generalKeyRing()
const Pathname zypp::KeyRing::Impl::generalKeyRing |
( |
| ) |
const |
|
inlineprivate |
◆ trustedKeyRing()
const Pathname zypp::KeyRing::Impl::trustedKeyRing |
( |
| ) |
const |
|
inlineprivate |
◆ _trusted_tmp_dir
◆ _general_tmp_dir
◆ _base_dir
◆ _allowPreload
bool zypp::KeyRing::Impl::_allowPreload = false |
|
private |
◆ cachedPublicKeyData
CachedPublicKeyData zypp::KeyRing::Impl::cachedPublicKeyData |
|
private |
Functor returning the keyrings data (cached).
Definition at line 336 of file KeyRing.cc.
The documentation for this struct was generated from the following file: