|
libzypp 17.31.31
|
Class representing a signature on a GPG Public Key. More...
#include <PublicKey.h>
Classes | |
| class | Impl |
| PublicKeySignatureData implementation. More... | |
Public Member Functions | |
| PublicKeySignatureData () | |
| Default constructed: empty data. | |
| ~PublicKeySignatureData () | |
| operator bool () const | |
| Whether this contains valid data (not default constructed). | |
| std::string | id () const |
| The key ID of key used to create the signature. | |
| std::string | name () const |
| The user ID associated with this key, if present. | |
| Date | created () const |
| Creation date. | |
| Date | expires () const |
Expiry date, or Date() if the key never expires. | |
| bool | expired () const |
| Whether the key has expired. | |
| int | daysToLive () const |
| Number of days (24h) until the key expires (or since it expired). | |
| bool | inTrustedRing () const |
| Whether the signature is trusted in rpmdb. | |
| bool | inKnownRing () const |
| Whether the key has been seen before. | |
| std::string | asString () const |
| Simple string representation. | |
Private Member Functions | |
| PublicKeySignatureData (const _gpgme_key_sig *rawKeySignatureData) | |
Private Attributes | |
| RWCOW_pointer< Impl > | _pimpl |
Friends | |
| class | PublicKeyData |
| std::ostream & | dumpOn (std::ostream &str, const PublicKeyData &obj) |
Related Symbols | |
(Note that these are not member symbols.) | |
| std::ostream & | operator<< (std::ostream &str, const PublicKeySignatureData &obj) |
| Stream output. | |
Class representing a signature on a GPG Public Key.
Definition at line 136 of file PublicKey.h.
| zypp::PublicKeySignatureData::PublicKeySignatureData | ( | ) |
Default constructed: empty data.
class PublicKeySignatureData
Definition at line 237 of file PublicKey.cc.
| zypp::PublicKeySignatureData::~PublicKeySignatureData | ( | ) |
Definition at line 250 of file PublicKey.cc.
|
private |
Definition at line 241 of file PublicKey.cc.
|
explicit |
Whether this contains valid data (not default constructed).
Definition at line 253 of file PublicKey.cc.
| std::string zypp::PublicKeySignatureData::id | ( | ) | const |
The key ID of key used to create the signature.
Definition at line 256 of file PublicKey.cc.
| std::string zypp::PublicKeySignatureData::name | ( | ) | const |
The user ID associated with this key, if present.
Definition at line 259 of file PublicKey.cc.
| Date zypp::PublicKeySignatureData::created | ( | ) | const |
Creation date.
Definition at line 262 of file PublicKey.cc.
| Date zypp::PublicKeySignatureData::expires | ( | ) | const |
Expiry date, or Date() if the key never expires.
Definition at line 265 of file PublicKey.cc.
| bool zypp::PublicKeySignatureData::expired | ( | ) | const |
Whether the key has expired.
Definition at line 268 of file PublicKey.cc.
| int zypp::PublicKeySignatureData::daysToLive | ( | ) | const |
Number of days (24h) until the key expires (or since it expired).
A value of 0 means the key will expire within the next 24h. Negative values indicate the key has expired less than N days ago. For keys without expiration date INT_MAX is returned.
Definition at line 271 of file PublicKey.cc.
| bool zypp::PublicKeySignatureData::inTrustedRing | ( | ) | const |
Whether the signature is trusted in rpmdb.
Definition at line 289 of file PublicKey.cc.
| bool zypp::PublicKeySignatureData::inKnownRing | ( | ) | const |
Whether the key has been seen before.
Definition at line 292 of file PublicKey.cc.
| std::string zypp::PublicKeySignatureData::asString | ( | ) | const |
Simple string representation.
Encodes id, created and expires
Definition at line 274 of file PublicKey.cc.
|
friend |
Definition at line 187 of file PublicKey.h.
|
friend |
Definition at line 488 of file PublicKey.cc.
|
related |
Stream output.
Definition at line 194 of file PublicKey.h.
|
private |
Definition at line 186 of file PublicKey.h.