pub enum Validity {
Unknown,
Undefined,
Never,
Marginal,
Full,
Ultimate,
// some variants omitted
}
The validity level of a certificate's User ID. Validity level
tries to answer the question: "How strongly do we believe that this
certificate belongs to the party it says it belongs to?"
Note that some OpenPGP certificates have multiple User IDs, and
each User ID may have a different validity level (e.g. depending on
which third parties have certified which User IDs, and which third
parties the local user has chosen to trust).
Similarly, an X.509 certificate can have multiple SubjectAltNames,
and each name may also have a different validity level (e.g. if the
issuing CA is bound by name constraints).
Note that the GMime API currently only exposes the highest-validty
User ID for any given certificate.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Feeds this value into the given [Hasher
]. Read more
Feeds a slice of this type into the given [Hasher
]. Read more