Module openpgp

Module openpgp 

Source
Expand description

Configuration file handling for OpenPGP related settings.

All types in this module are used solely in the configuration file representation. They have pendants in crate::config::technology::openpgp which are used in configuration object representation. The difference between configuration file and configuration object representation is usually, that in the former it is allowed to have optional fields, whereas in the latter all fields must be specific.

Structs§

ConfigOpenpgpSettings 🔒
OpenPGP settings.
ConfigPlainMode
The configuration for the “plain” verification method.
ConfigTrustAnchorMode
Settings for the trust-anchor mode.
ConfigWebOfTrustMode
Settings for the “Web of Trust” model.
ConfigWebOfTrustRoot 🔒
A root for the “Web of Trust”.

Enums§

ConfigVerificationMethod 🔒
The OpenPGP verification method to use for OpenPGP verifiers.

Functions§

validate_num_data_signatures 🔒
Validates that the required number of data signatures matches the verification method.
validate_required_certifications 🔒
Validates that the required number of certifications matches the amount of pinned trust anchors.