[−][src]Module sequoia_openpgp::cert::prelude
Brings most relevant types and traits into scope for working with certificates.
Less often used types and types that are more likely to lead to a naming conflict are not brought into scope.
Traits are brought into scope anonymously.
use openpgp::cert::prelude::*;
Re-exports
pub use crate::cert::Preferences as _; |
pub use crate::cert::ValidCert; |
pub use crate::cert::amalgamation::ComponentAmalgamation; |
pub use crate::cert::amalgamation::ValidAmalgamation as _; |
pub use crate::cert::amalgamation::ValidComponentAmalgamation; |
pub use crate::cert::amalgamation::ValidateAmalgamation as _; |
pub use crate::cert::bundle::ComponentBundle; |
pub use crate::cert::bundle::KeyBundle; |
pub use crate::cert::bundle::PrimaryKeyBundle; |
pub use crate::cert::bundle::SubkeyBundle; |
pub use crate::cert::bundle::UnknownBundle; |
pub use crate::cert::bundle::UserAttributeBundle; |
pub use crate::cert::bundle::UserIDBundle; |
Structs
Cert | A collection of keys, signatures, and metadata. |
CertBuilder | Simplifies generation of Keys. |
CertParser | An iterator over a sequence of Certs (e.g., an OpenPGP keyring). |
CertRevocationBuilder | A |
CertValidator | Used to help validate that a packet sequence is a valid Cert. |
ComponentBundleIter | An iterator over all component bundles of a given type in a certificate. |
KeyAmalgamation | A key amalgamation. |
KeyAmalgamationIter | An iterator over all |
KeyringValidator | Used to help validate that a packet sequence is a valid key ring. |
SubkeyRevocationBuilder | A |
UserAttributeRevocationBuilder | A |
UserIDRevocationBuilder | A |
ValidComponentBundleIter | An iterator over all valid |
ValidKeyAmalgamation | A validated |
ValidKeyAmalgamationIter | An iterator over all valid |
Enums
CertValidity | Whether a packet sequence is a valid Cert. |
CipherSuite | Groups symmetric and asymmetric algorithms |
KeyringValidity | Whether a packet sequence is a valid key ring. |
Traits
_ | Methods specific to key amalgamations. |
Type Definitions
ErasedKeyAmalgamation | An amalgamation whose role is not known at compile time. |
PrimaryKeyAmalgamation | A primary key amalgamation. |
SubordinateKeyAmalgamation | A subordinate key amalgamation. |
ValidErasedKeyAmalgamation | A valid amalgamation whose role is not known at compile time. |
ValidPrimaryKeyAmalgamation | A valid primary key amalgamation. |
ValidSubordinateKeyAmalgamation | A valid subordinate key amalgamation. |