summaryrefslogtreecommitdiffstats
path: root/openpgp/src/lib.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-02-19 16:32:09 +0100
committerJustus Winter <justus@sequoia-pgp.org>2020-02-19 16:32:09 +0100
commitbf2303e2906a1569af20e3a8724ab0e710808510 (patch)
treebf56146ef1d4014c098e5740e6a023695c1d968e /openpgp/src/lib.rs
parentfd5ec44b717b20e5937f018b924325bac3035f2a (diff)
openpgp: Move RevocationStatus to module types.
Diffstat (limited to 'openpgp/src/lib.rs')
-rw-r--r--openpgp/src/lib.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/openpgp/src/lib.rs b/openpgp/src/lib.rs
index b2cf4e48..986b445c 100644
--- a/openpgp/src/lib.rs
+++ b/openpgp/src/lib.rs
@@ -504,20 +504,3 @@ pub enum KeyID {
/// that the Issuer subpacket contains the wrong number of bytes.
Invalid(Box<[u8]>)
}
-
-/// The revocation status.
-#[derive(Debug, Clone, PartialEq, Eq)]
-pub enum RevocationStatus<'a> {
- /// The key is definitely revoked.
- ///
- /// The relevant self-revocations are returned.
- Revoked(Vec<&'a packet::Signature>),
- /// There is a revocation certificate from a possible designated
- /// revoker.
- CouldBe(Vec<&'a packet::Signature>),
- /// The key does not appear to be revoked.
- ///
- /// An attacker could still have performed a DoS, which prevents
- /// us from seeing the revocation certificate.
- NotAsFarAsWeKnow,
-}