diff --git a/openpgp-card-sequoia/src/lib.rs b/openpgp-card-sequoia/src/lib.rs index adf37c3..2fb5f51 100644 --- a/openpgp-card-sequoia/src/lib.rs +++ b/openpgp-card-sequoia/src/lib.rs @@ -142,6 +142,7 @@ mod decryptor; mod privkey; mod signer; pub mod sq_util; +pub mod types; pub mod util; /// Shorthand for Sequoia public key data (a single public (sub)key) diff --git a/openpgp-card-sequoia/src/types.rs b/openpgp-card-sequoia/src/types.rs new file mode 100644 index 0000000..dfe0764 --- /dev/null +++ b/openpgp-card-sequoia/src/types.rs @@ -0,0 +1,9 @@ +// SPDX-FileCopyrightText: 2022 Heiko Schaefer +// SPDX-License-Identifier: MIT OR Apache-2.0 + +//! Re-exports of openpgp-card types to enable standalone-use of openpgp-card-sequoia. + +pub use openpgp_card::algorithm::{Algo, AlgoSimple, Curve}; +pub use openpgp_card::card_do::{Sex, TouchPolicy}; +pub use openpgp_card::crypto_data::{EccType, PublicKeyMaterial}; +pub use openpgp_card::{CardBackend, Error, KeyType, StatusBytes};