[][src]Enum sequoia_openpgp::RevocationStatus

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

The revocation status.


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.


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)

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>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized

impl<T> BorrowMut for T where
    T: ?Sized

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.