Crate card_backend

Source
Expand description

A thin abstraction layer for accessing smart cards, including, but not limited to, openpgp-card devices.

Structs§

CardCaps
Information about the capabilities of a card.

Enums§

PinType
Specify a PIN to verify (distinguishes between Sign, User and Admin).
SmartcardError
Errors on the smartcard/reader layer

Traits§

CardBackend
This trait defines a connection with a smart card via a backend implementation (e.g. via the pcsc backend in the crate card-backend-pcsc).
CardTransaction
The CardTransaction trait defines communication with a smart card via a backend implementation (e.g. the pcsc backend in the crate card-backend-pcsc), after opening a transaction from a CardBackend.