QtPass 2.0.0
Developer documentation
Loading...
Searching...
No Matches
RnpCrypto::KeyInfo Struct Reference

One primary key in the keyring, as the Users dialog lists keys. More...

#include <rnpcrypto.h>

Public Attributes

QString fingerprint
 The primary key's fingerprint, upper-case hex.
QString keyId
 The primary key's 16-hex-digit key ID.
QStringList userIds
 Its user IDs that are still its own (valid, not revoked), in the keyring's order.
QDateTime created
 When it was created.
QDateTime expires
 When it expires; invalid when it does not.
bool revoked = false
 Whether it has been revoked.
bool expired = false
 Whether it has expired.
bool hasSecret = false
 Whether a secret part of it (primary or subkey) is here to use: a GnuPG stub (a key left at home, or on a smartcard) does not count.
bool secretProtected = true
 Whether every secret part of it that is here is protected by a passphrase; true when none is here.
bool canEncrypt = false
 Whether a message can be encrypted to it now.
bool canSign = false
 Whether it can sign now, with a secret key that is here.

Detailed Description

One primary key in the keyring, as the Users dialog lists keys.

Definition at line 46 of file rnpcrypto.h.

Member Data Documentation

◆ canEncrypt

bool RnpCrypto::KeyInfo::canEncrypt = false

Whether a message can be encrypted to it now.

Definition at line 75 of file rnpcrypto.h.

◆ canSign

bool RnpCrypto::KeyInfo::canSign = false

Whether it can sign now, with a secret key that is here.

Definition at line 77 of file rnpcrypto.h.

◆ created

QDateTime RnpCrypto::KeyInfo::created

When it was created.

Definition at line 57 of file rnpcrypto.h.

◆ expired

bool RnpCrypto::KeyInfo::expired = false

Whether it has expired.

Definition at line 63 of file rnpcrypto.h.

◆ expires

QDateTime RnpCrypto::KeyInfo::expires

When it expires; invalid when it does not.

Definition at line 59 of file rnpcrypto.h.

◆ fingerprint

QString RnpCrypto::KeyInfo::fingerprint

The primary key's fingerprint, upper-case hex.

Definition at line 48 of file rnpcrypto.h.

◆ hasSecret

bool RnpCrypto::KeyInfo::hasSecret = false

Whether a secret part of it (primary or subkey) is here to use: a GnuPG stub (a key left at home, or on a smartcard) does not count.

Definition at line 68 of file rnpcrypto.h.

◆ keyId

QString RnpCrypto::KeyInfo::keyId

The primary key's 16-hex-digit key ID.

Definition at line 50 of file rnpcrypto.h.

◆ revoked

bool RnpCrypto::KeyInfo::revoked = false

Whether it has been revoked.

Definition at line 61 of file rnpcrypto.h.

◆ secretProtected

bool RnpCrypto::KeyInfo::secretProtected = true

Whether every secret part of it that is here is protected by a passphrase; true when none is here.

Definition at line 73 of file rnpcrypto.h.

◆ userIds

QStringList RnpCrypto::KeyInfo::userIds

Its user IDs that are still its own (valid, not revoked), in the keyring's order.

Definition at line 55 of file rnpcrypto.h.


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