From cb0adbb4baa4a397d7763608cc08cd26782b3eb6 Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Fri, 23 Dec 2022 15:26:40 +0100 Subject: openpgp: Split certificates without parsing the packets. - Add `RawCertParser`, which splits keyrings into individual certificates, similar to `CertParser`, but without invoking the heavy machinery of the `CertParser`. - `RawCertParser` uses the OpenPGP framing information to identify the packets, and it makes sure that the packets form a valid TPK or TSK as per Sections 11.1 and 11.2 of RFC 4880, respectively. --- openpgp/src/cert.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'openpgp/src/cert.rs') diff --git a/openpgp/src/cert.rs b/openpgp/src/cert.rs index 135d7d90..70f5e3b5 100644 --- a/openpgp/src/cert.rs +++ b/openpgp/src/cert.rs @@ -183,6 +183,7 @@ mod builder; mod bindings; pub mod bundle; mod parser; +pub mod raw; mod revoke; pub use self::builder::{CertBuilder, CipherSuite, KeyBuilder, SubkeyBuilder}; -- cgit v1.2.3