|
QtPass 2.0.0
Developer documentation
|
Stores GPG key info including validity, creation date, and more. More...
#include <userinfo.h>
Public Member Functions | |
| UserInfo () | |
| Construct a UserInfo with default (invalid/disabled) state. | |
| auto | fullyValid () const -> bool |
| Check full validity per GnuPG validity codes. | |
| auto | marginallyValid () const -> bool |
| Check marginal validity per GnuPG validity codes. | |
| auto | isValid () const -> bool |
| Check whether the key has any usable validity level. | |
Public Attributes | |
| QString | name |
| GPG user ID / full name. | |
| QString | key_id |
| Hexadecimal representation of the GnuPG key identifier. | |
| char | validity {'-'} |
| GnuPG representation of validity. http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob_plain;f=doc/DETAILS. | |
| bool | have_secret {false} |
| Whether secret key is available (can decrypt with this key). | |
| bool | enabled {false} |
| Whether this user/key is enabled for normal use. | |
| QDateTime | expiry |
| Date/time when key expires. | |
| QDateTime | created |
| Date/time when key was created. | |
Stores GPG key info including validity, creation date, and more.
Definition at line 19 of file userinfo.h.
|
inline |
Construct a UserInfo with default (invalid/disabled) state.
Definition at line 23 of file userinfo.h.
|
inline |
Check full validity per GnuPG validity codes.
Definition at line 30 of file userinfo.h.
|
inline |
Check whether the key has any usable validity level.
Definition at line 43 of file userinfo.h.
|
inline |
Check marginal validity per GnuPG validity codes.
Definition at line 38 of file userinfo.h.
| QDateTime UserInfo::created |
Date/time when key was created.
Definition at line 73 of file userinfo.h.
| bool UserInfo::enabled {false} |
Whether this user/key is enabled for normal use.
Definition at line 65 of file userinfo.h.
| QDateTime UserInfo::expiry |
Date/time when key expires.
Definition at line 69 of file userinfo.h.
| bool UserInfo::have_secret {false} |
Whether secret key is available (can decrypt with this key).
Definition at line 61 of file userinfo.h.
| QString UserInfo::key_id |
Hexadecimal representation of the GnuPG key identifier.
Definition at line 52 of file userinfo.h.
| QString UserInfo::name |
GPG user ID / full name.
Definition at line 48 of file userinfo.h.
| char UserInfo::validity {'-'} |
GnuPG representation of validity. http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob_plain;f=doc/DETAILS.
Definition at line 57 of file userinfo.h.