[][src]Enum sequoia_openpgp::RevocationStatus

pub enum RevocationStatus<'a> {
    Revoked(&'a [Signature]),
    CouldBe(&'a [Signature]),
    NotAsFarAsWeKnow,
}

The revocation status.

Variants

Revoked(&'a [Signature])

The key is definitely revoked.

All self-revocations are returned, the most recent revocation first.

CouldBe(&'a [Signature])

We have a third-party revocation certificate that is allegedly from a designated revoker, but we don't have the designated revoker's key to check its validity.

All such certificates are returned. The caller must check them manually.

NotAsFarAsWeKnow

The key does not appear to be revoked, but perhaps an attacker has performed a DoS, which prevents us from seeing the revocation certificate.

Trait Implementations

impl<'a> Eq for RevocationStatus<'a>[src]

impl<'a> PartialEq<RevocationStatus<'a>> for RevocationStatus<'a>[src]

impl<'a> Clone for RevocationStatus<'a>[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for RevocationStatus<'a>[src]

Auto Trait Implementations

impl<'a> !Send for RevocationStatus<'a>

impl<'a> !Sync for RevocationStatus<'a>

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.