rdnie 0.1.2

Spanish electronic ID card (DNIe) driver over PC/SC: CWA-14890 secure channel, certificates, PIN retry counter and signing
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Checks that a reader holds a DNIe, without sending it any APDU.

fn main() {
    match rdnie::PcscTransport::connect_first_dnie() {
        Ok(_) => println!("DNIe found"),
        Err(error) => {
            eprintln!("{error}");
            std::process::exit(1);
        }
    }
}