KeyRing implementation.
More...
|
| 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 | verifyFileSignatureWorkflow (const Pathname &file, const std::string &filedesc, const Pathname &signature, const KeyContext &keycontext=KeyContext()) |
|
bool | verifyFileSignature (const Pathname &file, const Pathname &signature) |
|
bool | verifyFileTrustedSignature (const Pathname &file, const Pathname &signature) |
|
|
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) |
|
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...
|
|
const Pathname | generalKeyRing () const |
|
const Pathname | trustedKeyRing () const |
|
KeyRing implementation.
Definition at line 166 of file KeyRing.cc.
zypp::KeyRing::Impl::Impl |
( |
const Pathname & |
baseTmpDir | ) |
|
|
inline |
void zypp::KeyRing::Impl::importKey |
( |
const PublicKey & |
key, |
|
|
bool |
trusted = false |
|
) |
| |
void zypp::KeyRing::Impl::multiKeyImport |
( |
const Pathname & |
keyfile_r, |
|
|
bool |
trusted_r = false |
|
) |
| |
void zypp::KeyRing::Impl::deleteKey |
( |
const std::string & |
id, |
|
|
bool |
trusted |
|
) |
| |
std::string zypp::KeyRing::Impl::readSignatureKeyId |
( |
const Pathname & |
signature | ) |
|
bool zypp::KeyRing::Impl::isKeyTrusted |
( |
const std::string & |
id | ) |
|
|
inline |
bool zypp::KeyRing::Impl::isKeyKnown |
( |
const std::string & |
id | ) |
|
|
inline |
std::list<PublicKey> zypp::KeyRing::Impl::trustedPublicKeys |
( |
| ) |
|
|
inline |
std::list<PublicKey> zypp::KeyRing::Impl::publicKeys |
( |
| ) |
|
|
inline |
const std::list<PublicKeyData>& zypp::KeyRing::Impl::trustedPublicKeyData |
( |
| ) |
|
|
inline |
const std::list<PublicKeyData>& zypp::KeyRing::Impl::publicKeyData |
( |
| ) |
|
|
inline |
void zypp::KeyRing::Impl::dumpPublicKey |
( |
const std::string & |
id, |
|
|
bool |
trusted, |
|
|
std::ostream & |
stream |
|
) |
| |
|
inline |
bool zypp::KeyRing::Impl::verifyFileSignatureWorkflow |
( |
const Pathname & |
file, |
|
|
const std::string & |
filedesc, |
|
|
const Pathname & |
signature, |
|
|
const KeyContext & |
keycontext = KeyContext() |
|
) |
| |
bool zypp::KeyRing::Impl::verifyFileSignature |
( |
const Pathname & |
file, |
|
|
const Pathname & |
signature |
|
) |
| |
|
inline |
bool zypp::KeyRing::Impl::verifyFileTrustedSignature |
( |
const Pathname & |
file, |
|
|
const Pathname & |
signature |
|
) |
| |
|
inline |
bool zypp::KeyRing::Impl::verifyFile |
( |
const Pathname & |
file, |
|
|
const Pathname & |
signature, |
|
|
const Pathname & |
keyring |
|
) |
| |
|
private |
void zypp::KeyRing::Impl::importKey |
( |
const Pathname & |
keyfile, |
|
|
const Pathname & |
keyring |
|
) |
| |
|
private |
PublicKey zypp::KeyRing::Impl::exportKey |
( |
const std::string & |
id, |
|
|
const Pathname & |
keyring |
|
) |
| |
|
private |
void zypp::KeyRing::Impl::dumpPublicKey |
( |
const std::string & |
id, |
|
|
const Pathname & |
keyring, |
|
|
std::ostream & |
stream |
|
) |
| |
|
private |
filesystem::TmpFile zypp::KeyRing::Impl::dumpPublicKeyToTmp |
( |
const std::string & |
id, |
|
|
const Pathname & |
keyring |
|
) |
| |
|
private |
void zypp::KeyRing::Impl::deleteKey |
( |
const std::string & |
id, |
|
|
const Pathname & |
keyring |
|
) |
| |
|
private |
std::list< PublicKey > zypp::KeyRing::Impl::publicKeys |
( |
const Pathname & |
keyring | ) |
|
|
private |
const std::list<PublicKeyData>& zypp::KeyRing::Impl::publicKeyData |
( |
const Pathname & |
keyring | ) |
|
|
inlineprivate |
PublicKeyData zypp::KeyRing::Impl::publicKeyExists |
( |
const std::string & |
id, |
|
|
const Pathname & |
keyring |
|
) |
| |
|
private |
const Pathname zypp::KeyRing::Impl::generalKeyRing |
( |
| ) |
const |
|
inlineprivate |
const Pathname zypp::KeyRing::Impl::trustedKeyRing |
( |
| ) |
const |
|
inlineprivate |
Pathname zypp::KeyRing::Impl::_base_dir |
|
private |
CachedPublicKeyData zypp::KeyRing::Impl::cachedPublicKeyData |
|
private |
Functor returning the keyrings data (cached).
Definition at line 251 of file KeyRing.cc.
The documentation for this struct was generated from the following file: