Validity
Description:
[ CCode ( cprefix = "GMIME_VALIDITY_" , has_type_id = false ) ]
public enum Validity
public enum Validity
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.
Namespace: GMime
Package: gmime-3.0