Expand description
Data structures for OpenPGP Web of Trust calculations.
These data structures model the bare minimum level of detail for Web of Trust calculations.
A Network (the top level WoT object) models a set of Certification and Delegation edges, which represent relationships between certificates and their claimed identities.
The goal of the representation in this crate is to model an absolutely minimal view of a WoT network. This minimalism keeps the task of correctly forming a WoT Network graph cleanly separated from the WoT algorithm that performs searches in the graph:
All OpenPGP semantics considerations (such as validity, e.g. regarding expiration and
revocation) are normalized out of the wot-network representation.
Invalid objects (Certificates, User IDs or Certifications) are simply not rendered in a Network view.
It is the task of a separate “OpenPGP certificate -> Network” transformation subsystem to handle the semantics of OpenPGP artifacts.
In particular, there is no notion of the passage of time in this WoT Network graph representation. A Network represents a snapshot of the Web of Trust relations within a set of Certificates at a given reference time.
Searches in a Network are modeled with the search::WotSearch trait.
Re-exports§
Modules§
Structs§
- Binding
- Certification
- An individual binding certification in the graph
- Delegation
- An individual delegation in the graph
- Network
- A “Web of Trust” network consisting of Certifications and Delegations.
- Regex
- A regular expression that limits delegation of trust decisions.
Enums§
- Edge
- Trust
Depth - The “trust depth” of a delegating certification.