QtPass 2.0.0
Developer documentation
Loading...
Searching...
No Matches
Pass::RecipientsForEditing Struct Reference

What a dialog may do with the list of a folder (recipientsForEditing()). More...

#include <pass.h>

Public Types

enum class  State { Unsigned , Verified , VerifiedRollback , Rejected }
 How the list on disk stood up. More...

Public Attributes

State state = State::Unsigned
 How the list on disk stood up.
QStringList recipients
 The recipients to preselect; empty when Rejected.
QString warning
 What the dialog should show, if anything.

Detailed Description

What a dialog may do with the list of a folder (recipientsForEditing()).

Definition at line 340 of file pass.h.

Member Enumeration Documentation

◆ State

How the list on disk stood up.

Enumerator
Unsigned 

No signing key: the list as it is.

Verified 

Signature and generation and folder all accepted.

VerifiedRollback 

Signed, authentic and bound to this folder, but older than a generation this device has accepted: preselected for the recovery, flagged for review.

Rejected 

Not to be used: signature invalid, written for another folder or for no folder in particular while a generation was accepted here, malformed header, or no freshness record to judge by.

Definition at line 342 of file pass.h.

Member Data Documentation

◆ recipients

QStringList Pass::RecipientsForEditing::recipients

The recipients to preselect; empty when Rejected.

Definition at line 363 of file pass.h.

◆ state

State Pass::RecipientsForEditing::state = State::Unsigned

How the list on disk stood up.

Definition at line 361 of file pass.h.

◆ warning

QString Pass::RecipientsForEditing::warning

What the dialog should show, if anything.

Definition at line 365 of file pass.h.


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