openpgp-card-sequoia: add re-exports

This commit is contained in:
Heiko Schaefer 2022-10-24 16:58:12 +02:00
parent d2ac526523
commit 9723ae40b6
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D
2 changed files with 10 additions and 0 deletions

View file

@ -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)

View file

@ -0,0 +1,9 @@
// SPDX-FileCopyrightText: 2022 Heiko Schaefer <heiko@schaefer.name>
// 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};