QtPass 1.6.0
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
UserInfo Struct Reference

Stores key info lines including validity, creation date and more. More...

#include <userinfo.h>

Public Member Functions

 UserInfo ()
auto fullyValid () const -> bool
 UserInfo::fullyValid when validity is f or u. http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob_plain;f=doc/DETAILS.
auto marginallyValid () const -> bool
 UserInfo::marginallyValid when validity is m. http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob_plain;f=doc/DETAILS.
auto isValid () const -> bool
 UserInfo::isValid when fullyValid or marginallyValid.

Public Attributes

QString name
 UserInfo::name GPG user ID / full name.
QString key_id
 UserInfo::key_id hexadecimal representation of the GnuPG key identifier.
char validity
 UserInfo::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
 UserInfo::have_secret whether secret key is available (can decrypt with this key).
bool enabled
 UserInfo::enabled Whether this user/key is enabled for normal use. True when the key should be treated as active/usable; false when it is disabled.
QDateTime expiry
 UserInfo::expiry date/time when key expires.
QDateTime created
 UserInfo::created date/time when key was created.

Detailed Description

Stores key info lines including validity, creation date and more.

Examples
/home/annejan/Projects/QtPass/src/configdialog.cpp.

Definition at line 13 of file userinfo.h.

Constructor & Destructor Documentation

◆ UserInfo()

UserInfo::UserInfo ( )
inline

Definition at line 14 of file userinfo.h.

Member Function Documentation

◆ fullyValid()

auto UserInfo::fullyValid ( ) const -> bool
inline

UserInfo::fullyValid when validity is f or u. http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob_plain;f=doc/DETAILS.

Definition at line 20 of file userinfo.h.

Here is the caller graph for this function:

◆ isValid()

auto UserInfo::isValid ( ) const -> bool
inline

UserInfo::isValid when fullyValid or marginallyValid.

Definition at line 31 of file userinfo.h.

Here is the call graph for this function:

◆ marginallyValid()

auto UserInfo::marginallyValid ( ) const -> bool
inline

UserInfo::marginallyValid when validity is m. http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=blob_plain;f=doc/DETAILS.

Definition at line 27 of file userinfo.h.

Here is the caller graph for this function:

Member Data Documentation

◆ created

QDateTime UserInfo::created

UserInfo::created date/time when key was created.

Definition at line 66 of file userinfo.h.

◆ enabled

bool UserInfo::enabled

UserInfo::enabled Whether this user/key is enabled for normal use. True when the key should be treated as active/usable; false when it is disabled.

Definition at line 58 of file userinfo.h.

◆ expiry

QDateTime UserInfo::expiry

UserInfo::expiry date/time when key expires.

Definition at line 62 of file userinfo.h.

◆ have_secret

bool UserInfo::have_secret

UserInfo::have_secret whether secret key is available (can decrypt with this key).

Definition at line 51 of file userinfo.h.

◆ key_id

QString UserInfo::key_id

UserInfo::key_id hexadecimal representation of the GnuPG key identifier.

Definition at line 41 of file userinfo.h.

◆ name

QString UserInfo::name

UserInfo::name GPG user ID / full name.

Examples
/home/annejan/Projects/QtPass/src/configdialog.cpp.

Definition at line 36 of file userinfo.h.

◆ validity

char UserInfo::validity

The documentation for this struct was generated from the following file: