[][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::components::ComponentBundle;
pub use crate::cert::components::ComponentBundleIter;
pub use crate::cert::components::KeyBundle;
pub use crate::cert::components::PrimaryKeyBundle;
pub use crate::cert::components::SubkeyBundle;
pub use crate::cert::components::UnfilteredKeyBundleIter;
pub use crate::cert::components::UnknownBundle;
pub use crate::cert::components::UnknownBundleIter;
pub use crate::cert::components::UserAttributeBundle;
pub use crate::cert::components::UserAttributeBundleIter;
pub use crate::cert::components::UserIDBundle;
pub use crate::cert::components::UserIDBundleIter;
pub use crate::cert::key_amalgamation::ErasedKeyAmalgamation;
pub use crate::cert::key_amalgamation::KeyAmalgamation;
pub use crate::cert::key_amalgamation::Primary as _;
pub use crate::cert::key_amalgamation::PrimaryKeyAmalgamation;
pub use crate::cert::key_amalgamation::SubordinateKeyAmalgamation;
pub use crate::cert::key_amalgamation::ValidErasedKeyAmalgamation;
pub use crate::cert::key_amalgamation::ValidKeyAmalgamation;
pub use crate::cert::key_amalgamation::ValidPrimaryKeyAmalgamation;
pub use crate::cert::key_amalgamation::ValidSubordinateKeyAmalgamation;

Structs

Cert

A OpenPGP Certificate.

CertBuilder

Simplifies generation of Keys.

CertParser

An iterator over a sequence of Certs (e.g., an OpenPGP keyring).

CertRevocationBuilder

A Cert revocation builder.

CertValidator

Used to help validate that a packet sequence is a valid Cert.

ComponentIter

An iterator over all components in a certificate.

KeyIter

An iterator over all Keys (both the primary key and the subkeys) in a certificate.

KeyringValidator

Used to help validate that a packet sequence is a valid key ring.

SubkeyRevocationBuilder

A Subkey revocation builder.

UserAttributeRevocationBuilder

A UserAttribute revocation builder.

UserIDRevocationBuilder

A UserID revocation builder.

ValidComponentIter

An iterator over all valid Components in a certificate.

ValidKeyIter

An iterator over all valid Keys in a certificate.

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.