KeyRing implementation.
More...
#include <zypp/zypp_detail/keyring_p.h>
|
| | Impl (const Pathname &baseTmpDir) |
| |
| void | importKey (const PublicKey &key, bool trusted=false) |
| |
| void | multiKeyImport (const Pathname &keyfile_r, bool trusted_r=false) |
| |
| void | deleteKey (const std::string &id, bool trusted) |
| |
| std::string | readSignatureKeyId (const Pathname &signature) |
| |
| bool | isKeyTrusted (const std::string &id) |
| |
| bool | isKeyKnown (const std::string &id) |
| |
| std::list< PublicKey > | trustedPublicKeys () |
| |
| std::list< PublicKey > | publicKeys () |
| |
| const std::list< PublicKeyData > & | trustedPublicKeyData () |
| |
| const std::list< PublicKeyData > & | publicKeyData () |
| |
| void | dumpPublicKey (const std::string &id, bool trusted, std::ostream &stream) |
| |
| PublicKey | exportPublicKey (const PublicKeyData &keyData) |
| |
| PublicKey | exportTrustedPublicKey (const PublicKeyData &keyData) |
| |
| bool | verifyFileSignature (const Pathname &file, const Pathname &signature) |
| |
| bool | verifyFileTrustedSignature (const Pathname &file, const Pathname &signature) |
| |
| PublicKeyData | publicKeyExists (const std::string &id) |
| |
| PublicKeyData | trustedPublicKeyExists (const std::string &id) |
| |
| void | allowPreload (bool yesno_r) |
| |
| CachedPublicKeyData::Manip | keyRingManip (const Pathname &keyring) |
| | Impl helper providing on demand a KeyManagerCtx to manip a cached keyring.
|
| |
| 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).
|
| |
| void | preloadCachedKeys () |
| | Load key files cached on the system into the generalKeyRing.
|
| |
| const Pathname | generalKeyRing () const |
| |
| const Pathname | trustedKeyRing () const |
| |
KeyRing implementation.
Definition at line 94 of file keyring_p.h.
◆ Impl()
| zypp::KeyRing::Impl::Impl |
( |
const Pathname & | baseTmpDir | ) |
|
◆ importKey() [1/2]
◆ multiKeyImport()
◆ 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()
◆ 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 |
◆ allowPreload()
| void zypp::KeyRing::Impl::allowPreload |
( |
bool | yesno_r | ) |
|
|
inline |
◆ keyRingManip()
◆ verifyFile()
◆ importKey() [2/2]
◆ exportKey() [1/3]
| PublicKey zypp::KeyRing::Impl::exportKey |
( |
const std::string & | id, |
|
|
const Pathname & | keyring ) |
◆ exportKey() [2/3]
◆ exportKey() [3/3]
◆ dumpPublicKey() [2/2]
| void zypp::KeyRing::Impl::dumpPublicKey |
( |
const std::string & | id, |
|
|
const Pathname & | keyring, |
|
|
std::ostream & | stream ) |
◆ dumpPublicKeyToTmp()
◆ deleteKey() [2/2]
| void zypp::KeyRing::Impl::deleteKey |
( |
const std::string & | id, |
|
|
const Pathname & | keyring ) |
◆ publicKeys() [2/2]
◆ publicKeyData() [2/2]
◆ publicKeyExists() [2/2]
◆ preloadCachedKeys()
| void zypp::KeyRing::Impl::preloadCachedKeys |
( |
| ) |
|
Load key files cached on the system into the generalKeyRing.
Definition at line 296 of file KeyRing.cc.
◆ generalKeyRing()
| const Pathname zypp::KeyRing::Impl::generalKeyRing |
( |
| ) |
const |
|
inline |
◆ trustedKeyRing()
| const Pathname zypp::KeyRing::Impl::trustedKeyRing |
( |
| ) |
const |
|
inline |
◆ _trusted_tmp_dir
◆ _general_tmp_dir
◆ _base_dir
◆ _allowPreload
| bool zypp::KeyRing::Impl::_allowPreload = false |
|
private |
◆ cachedPublicKeyData
Functor returning the keyrings data (cached).
CachedPublicKeyData cachedPublicKeyData
Functor returning the keyrings data (cached).
Definition at line 183 of file keyring_p.h.
The documentation for this struct was generated from the following files: