summaryrefslogtreecommitdiffstats
path: root/openpgp/src/types/mod.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2021-01-12 09:14:21 +0100
committerJustus Winter <justus@sequoia-pgp.org>2021-01-19 09:00:22 +0100
commit4cf73914f253c8c8d46ffc94b73213e0313343b3 (patch)
treec5dfa1c0add212bb11301865c1d6eb44f78ece01 /openpgp/src/types/mod.rs
parent7b960896802e8391930e0807fd7eae4a606b3978 (diff)
openpgp: Implement verification of attested key signatures.
- Note that the spec is still in flux, therefore we don't expose it.
Diffstat (limited to 'openpgp/src/types/mod.rs')
-rw-r--r--openpgp/src/types/mod.rs6
1 files changed, 6 insertions, 0 deletions
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<u8> for SignatureType {
fn from(u: u8) -> Self {
match u {