Libkleo

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.

Definition at line 65 of file keyresolver.h.

Member Data Documentation

◆ encryptionKeys

QMap<QString, std::vector<GpgME::Key> > Kleo::KeyResolver::Solution::encryptionKeys

This property contains the encryption keys to use for the different recipients.

The list of keys will contain for regular users either one S/MIME key or one OpenPGP key. For a group address, the list of keys will instead contain the keys required to encrypt for every member of the group.

The keys of the map represent the normalized email addresses of the recipients.

See also
Kleo::KeyGroup

Definition at line 91 of file keyresolver.h.

◆ protocol

GpgME::Protocol Kleo::KeyResolver::Solution::protocol = GpgME::UnknownProtocol

This property holds a hint 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.

Definition at line 72 of file keyresolver.h.

◆ signingKeys

std::vector<GpgME::Key> Kleo::KeyResolver::Solution::signingKeys

This property contains the signing keys to use.

It contains zero or one OpenPGP key and zero or one S/MIME key.

Definition at line 78 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-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.