Crate openpgp_card[][src]

Expand description

Access library for OpenPGP card devices (such as Gnuk, Yubikey, or Java smartcards running an OpenPGP card application).

This library aims to offer

This library doesn’t itself implement a means to access cards. Instead, users need to supply an implementation of the CardClient trait, for access to cards.

The companion crate openpgp-card-pcsc offers a backend that uses pcsclite to communicate with smartcards.

The openpgp-card-sequoia crate offers a higher level wrapper based on the Sequoia PGP implementation.

Modules

Data structures that define OpenPGP algorithms.

OpenPGP card data objects (DO)

Data structures for cryptographic material: Private key data, public key data, cryptograms for decryption, hash data for signing.

Error types used by this crate.

Structs

Low-level access to OpenPGP card functionality.

Configuration of the capabilities of the card.

Response from the card to a command.

Enums

Enum to identify the Key-slots on an OpenPGP card

Traits

The CardClient trait defines communication with an OpenPGP card via a backend implementation (e.g. the pcsc backend in the crate openpgp-card-pcsc).

Type Definitions

A boxed CardClient (which is Send+Sync).