Module solo2::device::pcsc

source ·
Expand description

Device interface to Solo 2 devices.

Might grow into an independent more idiomatic replacement for pcsc, which is currently used internally.

A long-shot idea is to rewrite the entire PCSC/CCID stack in pure Rust, restricting to “things that are directly attached via USB”, i.e. ICCD.

Having that would allow doing the essentially same thing over HID (instead of reinventing a custom HID class), or even a custom USB class (circumventing the WebUSB/WebHID restrictions). Also we could easily upgrade to USB 2.0 HS, instead of being stuck with full-speed USB only.

Structs

An ICCD smartcard.
A session with the PCSC service (running pcscd instance)

Functions