Remove remnants of card_app.
This commit is contained in:
parent
a276c1fcd0
commit
06ad7772a6
2 changed files with 2 additions and 17 deletions
|
@ -1,15 +0,0 @@
|
|||
// SPDX-FileCopyrightText: 2021 Heiko Schaefer <heiko@schaefer.name>
|
||||
// SPDX-License-Identifier: MIT OR Apache-2.0
|
||||
|
||||
//! CardApp exposes functionality of the "OpenPGP card" application.
|
||||
|
||||
/// Low-level access to OpenPGP card functionality.
|
||||
///
|
||||
/// Not many checks are performed here (e.g. for valid data lengths).
|
||||
/// Such checks should be performed on a higher layer, if needed.
|
||||
///
|
||||
/// Also, no caching of data is done here. If necessary, caching should
|
||||
/// be done on a higher layer.
|
||||
pub struct CardApp {}
|
||||
|
||||
impl CardApp {}
|
|
@ -27,7 +27,6 @@
|
|||
|
||||
pub mod algorithm;
|
||||
pub(crate) mod apdu;
|
||||
mod card_app;
|
||||
pub mod card_do;
|
||||
pub mod crypto_data;
|
||||
mod errors;
|
||||
|
@ -35,7 +34,6 @@ pub(crate) mod keys;
|
|||
mod tlv;
|
||||
|
||||
pub use crate::apdu::response::Response;
|
||||
pub use crate::card_app::CardApp;
|
||||
pub use crate::errors::{Error, SmartcardError, StatusBytes};
|
||||
|
||||
use anyhow::{anyhow, Result};
|
||||
|
@ -60,6 +58,8 @@ use crate::tlv::Tlv;
|
|||
/// The CardClient trait defines communication with an OpenPGP card via a
|
||||
/// backend implementation (e.g. the pcsc backend in the crate
|
||||
/// [openpgp-card-pcsc](https://crates.io/crates/openpgp-card-pcsc)).
|
||||
///
|
||||
/// CardClient exposes low-level access to OpenPGP card functionality.
|
||||
pub trait CardClient {
|
||||
/// Transmit the command data in `cmd` to the card.
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue