libkpgp
Kpgp::Subkey Class Reference
#include <kpgpkey.h>
List of all members.
Detailed Description
This class is used to store information about a subkey of a PGP key.
Definition at line 162 of file kpgpkey.h.
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::secret |
( |
|
) |
const [inline] |
Returns true if the subkey is a secret subkey.
Definition at line 281 of file kpgpkey.h.
bool Kpgp::Subkey::revoked |
( |
|
) |
const [inline] |
Returns true if the subkey has been revoked.
Definition at line 286 of file kpgpkey.h.
bool Kpgp::Subkey::expired |
( |
|
) |
const [inline] |
Returns true if the subkey has expired.
Definition at line 291 of file kpgpkey.h.
bool Kpgp::Subkey::disabled |
( |
|
) |
const [inline] |
Returns true if the subkey has been disabled.
Definition at line 296 of file kpgpkey.h.
bool Kpgp::Subkey::invalid |
( |
|
) |
const [inline] |
Returns true if the subkey is invalid.
Definition at line 301 of file kpgpkey.h.
bool Kpgp::Subkey::canEncrypt |
( |
|
) |
const [inline] |
Returns true if the subkey can be used to encrypt data.
Definition at line 306 of file kpgpkey.h.
bool Kpgp::Subkey::canSign |
( |
|
) |
const [inline] |
Returns true if the subkey can be used to sign data.
Definition at line 311 of file kpgpkey.h.
bool Kpgp::Subkey::canCertify |
( |
|
) |
const [inline] |
Returns true if the subkey can be used to certify keys.
Definition at line 316 of file kpgpkey.h.
unsigned int Kpgp::Subkey::keyAlgorithm |
( |
|
) |
const [inline] |
Returns the key algorithm of the subkey.
Definition at line 321 of file kpgpkey.h.
unsigned int Kpgp::Subkey::keyLength |
( |
|
) |
const [inline] |
Returns the length of the subkey in bits.
Definition at line 326 of file kpgpkey.h.
KeyID Kpgp::Subkey::longKeyID |
( |
|
) |
const [inline] |
Returns the long 64 bit key ID of the subkey if it's available.
Otherwise the short 32 bit key ID is returned.
Definition at line 331 of file kpgpkey.h.
KeyID Kpgp::Subkey::keyID |
( |
|
) |
const [inline] |
Returns the (short) 32 bit key ID of the subkey.
Definition at line 336 of file kpgpkey.h.
QCString Kpgp::Subkey::fingerprint |
( |
|
) |
const [inline] |
Returns the fingerprint of the subkey.
Definition at line 341 of file kpgpkey.h.
time_t Kpgp::Subkey::creationDate |
( |
|
) |
const [inline] |
Returns the creation date of the subkey.
Definition at line 346 of file kpgpkey.h.
time_t Kpgp::Subkey::expirationDate |
( |
|
) |
const [inline] |
Returns the expiration date of the subkey.
Definition at line 351 of file kpgpkey.h.
void Kpgp::Subkey::setSecret |
( |
const bool |
secret |
) |
[inline] |
Sets the flag if the subkey is a secret subkey to secret.
Definition at line 356 of file kpgpkey.h.
void Kpgp::Subkey::setRevoked |
( |
const bool |
revoked |
) |
[inline] |
Sets the flag if the subkey has been revoked to revoked.
Definition at line 361 of file kpgpkey.h.
void Kpgp::Subkey::setExpired |
( |
const bool |
expired |
) |
[inline] |
Sets the flag if the subkey has expired to expired.
Definition at line 366 of file kpgpkey.h.
void Kpgp::Subkey::setDisabled |
( |
const bool |
disabled |
) |
[inline] |
Sets the flag if the subkey has been disabled to disabled.
Definition at line 371 of file kpgpkey.h.
void Kpgp::Subkey::setInvalid |
( |
const bool |
invalid |
) |
[inline] |
Sets the flag if the subkey is invalid to invalid.
Definition at line 376 of file kpgpkey.h.
void Kpgp::Subkey::setCanEncrypt |
( |
const bool |
canEncrypt |
) |
[inline] |
Sets the flag if the subkey can be used to encrypt data to canEncrypt.
Definition at line 381 of file kpgpkey.h.
void Kpgp::Subkey::setCanSign |
( |
const bool |
canSign |
) |
[inline] |
Sets the flag if the subkey can be used to sign data to canSign.
Definition at line 386 of file kpgpkey.h.
void Kpgp::Subkey::setCanCertify |
( |
const bool |
canCertify |
) |
[inline] |
Sets the flag if the subkey can be used to certify keys to canCertify.
Definition at line 391 of file kpgpkey.h.
void Kpgp::Subkey::setKeyAlgorithm |
( |
const unsigned int |
keyAlgo |
) |
[inline] |
Sets the key algorithm of the subkey to keyAlgo.
Definition at line 396 of file kpgpkey.h.
void Kpgp::Subkey::setKeyLength |
( |
const unsigned int |
keyLen |
) |
[inline] |
Sets the key length of the subkey to keyLen bits.
Definition at line 401 of file kpgpkey.h.
void Kpgp::Subkey::setKeyID |
( |
const KeyID & |
keyID |
) |
[inline] |
Sets the key ID of the subkey to keyID.
Definition at line 406 of file kpgpkey.h.
void Kpgp::Subkey::setFingerprint |
( |
const QCString & |
fingerprint |
) |
[inline] |
Sets the fingerprint of the subkey to fingerprint.
Definition at line 411 of file kpgpkey.h.
void Kpgp::Subkey::setCreationDate |
( |
const time_t |
creationDate |
) |
[inline] |
Sets the creation date of the subkey to creationDate seconds since Epoch.
Definition at line 416 of file kpgpkey.h.
void Kpgp::Subkey::setExpirationDate |
( |
const time_t |
expirationDate |
) |
[inline] |
Sets the expiration date of the subkey to expirationDate seconds since Epoch.
Definition at line 421 of file kpgpkey.h.
The documentation for this class was generated from the following files: