Kleo::KeyResolver::Solution Struct Reference

#include <keyresolver.h>

Public Attributes

QMap< QString, std::vector< GpgME::Key > > encryptionKeys
GpgME::Protocol protocol = GpgME::UnknownProtocol
std::vector< GpgME::Key > signingKeys

Detailed Description

Solution represents the solution found by the KeyResolver.

protocol hints at the protocol of the signing and encryption keys, i.e. if protocol is either GpgME::OpenPGP or GpgME::CMS, then all keys have the corresponding protocol. Otherwise, the keys have mixed protocols. signingKeys contains the signing keys to use. It contains zero or one OpenPGP key and zero or one S/MIME key. encryptionKeys contains the encryption keys to use for the different recipients. The keys of the map represent the normalized email addresses of the recipients.

Definition at line 74 of file keyresolver.h.

The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jun 27 2022 04:26:09 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.