|
libzypp 17.38.3
|
Class representing a signature on a GPG Public Key. More...
#include <zypp-common/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). | |
| 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 238 of file PublicKey.cc.
| zypp::PublicKeySignatureData::~PublicKeySignatureData | ( | ) |
Definition at line 251 of file PublicKey.cc.
|
private |
Definition at line 242 of file PublicKey.cc.
|
explicit |
Whether this contains valid data (not default constructed).
Definition at line 254 of file PublicKey.cc.
| std::string zypp::PublicKeySignatureData::id | ( | ) | const |
The key ID of key used to create the signature.
Definition at line 257 of file PublicKey.cc.
| std::string zypp::PublicKeySignatureData::name | ( | ) | const |
The user ID associated with this key, if present.
Definition at line 260 of file PublicKey.cc.
| Date zypp::PublicKeySignatureData::created | ( | ) | const |
Creation date.
Definition at line 263 of file PublicKey.cc.
| Date zypp::PublicKeySignatureData::expires | ( | ) | const |
Expiry date, or Date() if the key never expires.
Definition at line 266 of file PublicKey.cc.
| bool zypp::PublicKeySignatureData::expired | ( | ) | const |
Whether the key has expired.
Definition at line 269 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 272 of file PublicKey.cc.
| std::string zypp::PublicKeySignatureData::asString | ( | ) | const |
Simple string representation.
Encodes id, created and expires
Definition at line 275 of file PublicKey.cc.
|
friend |
Definition at line 181 of file PublicKey.h.
|
friend |
Definition at line 483 of file PublicKey.cc.
|
Stream output.
Definition at line 188 of file PublicKey.h.
|
private |
Definition at line 180 of file PublicKey.h.