Crate openpgp_card[][src]

Modules

Direct, low-level, access to OpenPGP card functionality.

Structs

Application identifier (AID)

Card Capabilities (73)

Information about the capabilities of the card.

Card service data (31)

Cardholder Related Data

ECC-specific container for public key material from an OpenPGP card.

Extended Capabilities

Extended length information

Historical Bytes

An OpenPGP key generation Time

A KeySet binds together a triple of information about each Key on a card

PW status Bytes

RSA-specific container for public key material from an OpenPGP card.

Enums

Container for data to be decrypted on an OpenPGP card.

A marker to distinguish between elliptic curve algorithms (ECDH, ECDSA, EdDSA)

Features (first byte of Extended Capabilities)

Container for a hash value. These hash values can be signed by the card.

Enum to identify the Key-slots on an OpenPGP card

Algorithm-independent container for private key material to upload to an OpenPGP card

Algorithm-independent container for public key material retrieved from an OpenPGP card

Sex (according to ISO 5218)

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).

A PGP-implementation-agnostic wrapper for private key data, to upload to an OpenPGP card

ECC-specific container for private key material to upload to an OpenPGP card.

RSA-specific container for private key material to upload to an OpenPGP card.

Type Definitions