Kpgp::Subkey Class Reference
#include <kpgpkey.h>
Public Member Functions | |
Subkey (const KeyID &keyID, const bool secret=false) | |
bool | secret () const |
bool | revoked () const |
bool | expired () const |
bool | disabled () const |
bool | invalid () const |
bool | canEncrypt () const |
bool | canSign () const |
bool | canCertify () const |
unsigned int | keyAlgorithm () const |
unsigned int | keyLength () const |
KeyID | longKeyID () const |
KeyID | keyID () const |
TQCString | fingerprint () const |
time_t | creationDate () const |
time_t | expirationDate () const |
void | setSecret (const bool secret) |
void | setRevoked (const bool revoked) |
void | setExpired (const bool expired) |
void | setDisabled (const bool disabled) |
void | setInvalid (const bool invalid) |
void | setCanEncrypt (const bool canEncrypt) |
void | setCanSign (const bool canSign) |
void | setCanCertify (const bool canCertify) |
void | setKeyAlgorithm (const unsigned int keyAlgo) |
void | setKeyLength (const unsigned int keyLen) |
void | setKeyID (const KeyID &keyID) |
void | setFingerprint (const TQCString &fingerprint) |
void | setCreationDate (const time_t creationDate) |
void | setExpirationDate (const time_t expirationDate) |
Protected Attributes | |
bool | mSecret: 1 |
bool | mRevoked: 1 |
bool | mExpired: 1 |
bool | mDisabled: 1 |
bool | mInvalid: 1 |
bool | mCanEncrypt: 1 |
bool | mCanSign: 1 |
bool | mCanCertify: 1 |
unsigned int | mKeyAlgo |
unsigned int | mKeyLen |
KeyID | mKeyID |
TQCString | mFingerprint |
time_t | mTimestamp |
time_t | mExpiration |
Detailed Description
This class is used to store information about a subkey of a PGP key.
Constructor & Destructor Documentation
Kpgp::Subkey::Subkey | ( | const KeyID & | keyID, |
const bool | secret = false |
||
) |
Constructs a new subkey with the given key ID.
Definition at line 62 of file kpgpkey.cpp.
Member Function Documentation
bool Kpgp::Subkey::canCertify | ( | ) | const [inline] |
bool Kpgp::Subkey::canEncrypt | ( | ) | const [inline] |
bool Kpgp::Subkey::canSign | ( | ) | const [inline] |
time_t Kpgp::Subkey::creationDate | ( | ) | const [inline] |
bool Kpgp::Subkey::disabled | ( | ) | const [inline] |
time_t Kpgp::Subkey::expirationDate | ( | ) | const [inline] |
bool Kpgp::Subkey::expired | ( | ) | const [inline] |
TQCString Kpgp::Subkey::fingerprint | ( | ) | const [inline] |
bool Kpgp::Subkey::invalid | ( | ) | const [inline] |
unsigned int Kpgp::Subkey::keyAlgorithm | ( | ) | const [inline] |
KeyID Kpgp::Subkey::keyID | ( | ) | const [inline] |
unsigned int Kpgp::Subkey::keyLength | ( | ) | const [inline] |
KeyID Kpgp::Subkey::longKeyID | ( | ) | const [inline] |
bool Kpgp::Subkey::revoked | ( | ) | const [inline] |
bool Kpgp::Subkey::secret | ( | ) | const [inline] |
void Kpgp::Subkey::setCanCertify | ( | const bool | canCertify | ) | [inline] |
void Kpgp::Subkey::setCanEncrypt | ( | const bool | canEncrypt | ) | [inline] |
void Kpgp::Subkey::setCanSign | ( | const bool | canSign | ) | [inline] |
void Kpgp::Subkey::setCreationDate | ( | const time_t | creationDate | ) | [inline] |
void Kpgp::Subkey::setDisabled | ( | const bool | disabled | ) | [inline] |
void Kpgp::Subkey::setExpirationDate | ( | const time_t | expirationDate | ) | [inline] |
void Kpgp::Subkey::setExpired | ( | const bool | expired | ) | [inline] |
void Kpgp::Subkey::setFingerprint | ( | const TQCString & | fingerprint | ) | [inline] |
void Kpgp::Subkey::setInvalid | ( | const bool | invalid | ) | [inline] |
void Kpgp::Subkey::setKeyAlgorithm | ( | const unsigned int | keyAlgo | ) | [inline] |
void Kpgp::Subkey::setKeyID | ( | const KeyID & | keyID | ) | [inline] |
void Kpgp::Subkey::setKeyLength | ( | const unsigned int | keyLen | ) | [inline] |
void Kpgp::Subkey::setRevoked | ( | const bool | revoked | ) | [inline] |
void Kpgp::Subkey::setSecret | ( | const bool | secret | ) | [inline] |
The documentation for this class was generated from the following files: