From 4cf73914f253c8c8d46ffc94b73213e0313343b3 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Tue, 12 Jan 2021 09:14:21 +0100 Subject: openpgp: Implement verification of attested key signatures. - Note that the spec is still in flux, therefore we don't expose it. --- openpgp/src/types/mod.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'openpgp/src/types/mod.rs') diff --git a/openpgp/src/types/mod.rs b/openpgp/src/types/mod.rs index cc408770..951cfa8e 100644 --- a/openpgp/src/types/mod.rs +++ b/openpgp/src/types/mod.rs @@ -1127,6 +1127,12 @@ pub enum SignatureType { } assert_send_and_sync!(SignatureType); +/// An attested key signature. +#[allow(non_upper_case_globals)] +pub(crate) const SignatureType__AttestedKey: SignatureType = + SignatureType::Unknown(0x16); + + impl From for SignatureType { fn from(u: u8) -> Self { match u { -- cgit v1.2.3