diff options
author | Neal H. Walfield <neal@pep.foundation> | 2020-03-01 16:29:08 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2020-03-01 16:29:08 +0100 |
commit | 4ad415af5d0e76918b6e3199941cad753ac59dda (patch) | |
tree | b14928382ef105b57faaf19f26d39fab9ed450be /openpgp/src/cert/prelude.rs | |
parent | dd3a10e2cfde25c78445f8e9e5a81c2a356b061a (diff) |
openpgp: Rename CertAmalgamation to ValidCert.
- A `CertAmalgamation` is more like a `ValidKeyAmalgamation` than a
`KeyAmalgamation`: it contains a policy and a reference time. So,
add the `Valid` prefix.
- Since a `CertAmalgamation` doesn't actually amalgamate anything
like a `KeyAmalgamation` (it just contains a back reference to the
`Cert`), and we don't have a `CertAmalgamation` data type, remove
the `Amalgamation` suffix.
Diffstat (limited to 'openpgp/src/cert/prelude.rs')
-rw-r--r-- | openpgp/src/cert/prelude.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/cert/prelude.rs b/openpgp/src/cert/prelude.rs index 3ae5d19f..2b1cb2d0 100644 --- a/openpgp/src/cert/prelude.rs +++ b/openpgp/src/cert/prelude.rs @@ -15,7 +15,6 @@ #![allow(unused_imports)] pub use crate::cert::{ Cert, - CertAmalgamation, CertBuilder, CertParser, CertRevocationBuilder, @@ -28,6 +27,7 @@ pub use crate::cert::{ SubkeyRevocationBuilder, UserAttributeRevocationBuilder, UserIDRevocationBuilder, + ValidCert, amalgamation::ComponentAmalgamation, amalgamation::ValidAmalgamation as _, amalgamation::ValidComponentAmalgamation, |