summaryrefslogtreecommitdiffstats
path: root/openpgp/src/cert/prelude.rs
blob: 2b1cb2d0f59936d998ec2b9e72bbe02f540982ca (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
56
57
58
59
60
//! 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::ValidAmalgamation as _,
    amalgamation::ValidComponentAmalgamation,
    amalgamation::ValidateAmalgamation as _,
    components::ComponentBundle,
    components::ComponentBundleIter,
    components::ComponentIter,
    components::KeyBundle,
    components::KeyIter,
    components::PrimaryKeyBundle,
    components::SubkeyBundle,
    components::UnfilteredKeyBundleIter,
    components::UnknownBundle,
    components::UnknownBundleIter,
    components::UserAttributeBundle,
    components::UserAttributeBundleIter,
    components::UserIDBundle,
    components::UserIDBundleIter,
    components::ValidComponentIter,
    components::ValidKeyIter,
    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,
};