summaryrefslogtreecommitdiffstats
path: root/openpgp/src/cert/prelude.rs
blob: 3c825bf613e72429da0ab52fda7673c858e9add4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
//! 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.
//!
//! ```
//! # #![allow(unused_imports)]
//! # extern crate sequoia_openpgp as openpgp;
//! use openpgp::cert::prelude::*;
//! ```

#![allow(unused_imports)]
pub use crate::cert::{
    Cert,
    CertBuilder,
    CertParser,
    CertRevocationBuilder,
    CertValidator,
    CertValidity,
    CipherSuite,
    KeyringValidator,
    KeyringValidity,
    Preferences as _,
    SubkeyRevocationBuilder,
    UserAttributeRevocationBuilder,
    UserIDRevocationBuilder,
    ValidCert,
    amalgamation::ComponentAmalgamation,
    amalgamation::KeyAmalgamationIter,
    amalgamation::ValidAmalgamation as _,
    amalgamation::ValidComponentAmalgamation,
    amalgamation::ValidKeyAmalgamationIter,
    amalgamation::ValidateAmalgamation as _,
    bundle::ComponentBundle,
    bundle::ComponentBundleIter,
    bundle::KeyBundle,
    bundle::PrimaryKeyBundle,
    bundle::SubkeyBundle,
    bundle::UnknownBundle,
    bundle::UserAttributeBundle,
    bundle::UserIDBundle,
    bundle::ValidComponentBundleIter,
    key_amalgamation::ErasedKeyAmalgamation,
    key_amalgamation::KeyAmalgamation,
    key_amalgamation::Primary as _,
    key_amalgamation::PrimaryKeyAmalgamation,
    key_amalgamation::SubordinateKeyAmalgamation,
    key_amalgamation::ValidErasedKeyAmalgamation,
    key_amalgamation::ValidKeyAmalgamation,
    key_amalgamation::ValidPrimaryKeyAmalgamation,
    key_amalgamation::ValidSubordinateKeyAmalgamation,
};