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§
- Config
Openpgp 🔒Settings - OpenPGP settings.
- Config
Plain Mode - The configuration for the “plain” verification method.
- Config
Trust Anchor Mode - Settings for the trust-anchor mode.
- Config
WebOf Trust Mode - Settings for the “Web of Trust” model.
- Config
WebOf 🔒Trust Root - A root for the “Web of Trust”.
Enums§
- Config
Verification 🔒Method - 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.