libkpgp
Kpgp::UserID Class Reference
#include <kpgpkey.h>
Public Member Functions | |
| UserID (const QString &str, const Validity validity=KPGP_VALIDITY_UNKNOWN, const bool revoked=false, const bool invalid=false) | |
| ~UserID () | |
| bool | invalid () const |
| bool | revoked () const |
| void | setInvalid (const bool invalid) |
| void | setRevoked (const bool revoked) |
| void | setText (const QString &str) |
| void | setValidity (const Validity validity) |
| QString | text () const |
| Validity | validity () const |
Protected Attributes | |
| bool | mInvalid: 1 |
| bool | mRevoked: 1 |
| QString | mText |
| Validity | mValidity |
Detailed Description
This class is used to store information about a user id of a PGP key.
Constructor & Destructor Documentation
|
explicit |
Constructs a new user id with the given values.
- Parameters
-
str User Id (descriptive text) validity Validity of key, relevant mostly if invalidisfalserevoked Is the key revoked? invalid Is the key invalid?
- Todo:
- How exactly do invalid and validity affect each other?
Definition at line 53 of file kpgpkey.cpp.
Member Function Documentation
|
inline |
|
inline |
|
inline |
|
inline |
Sets the flag if the user id has been revoked to revoked.
- Parameters
-
revoked Whether the user id has been revoked or not.
- Todo:
- Does one revoke a user id or a key? See also comments for setInvalid() and setText().
|
inline |
|
inline |
|
inline |
|
inline |
Member Data Documentation
|
protected |
|
protected |
|
protected |
|
protected |
Validity (assuming invalid flag is false).
- See also
- setValidity()
- validity()
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference