Enum gmime::Trust[][src]

pub enum Trust {
    Unknown,
    Undefined,
    Never,
    Marginal,
    Full,
    Ultimate,
    // some variants omitted
}

The trust level of a certificate. Trust level tries to answer the question: "How much is the user willing to rely on cryptographic identity assertions made by the owner of this certificate?"

By way of comparison with web browser X.509 certificate validation stacks, the certificate of a "Root CA" has Trust::Ultimate, while the certificate of an intermediate CA has Trust::Full, and an end-entity certificate (e.g., with CA:FALSE set) would have Trust::Never.

Variants

Trait Implementations

impl Clone for Trust
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Trust
[src]

impl Debug for Trust
[src]

Formats the value using the given formatter. Read more

impl Eq for Trust
[src]

impl PartialEq for Trust
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for Trust
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for Trust

impl Sync for Trust