Module crypto

Module crypto 

Source
Expand description

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

Structs§

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

Enums§

Cryptogram
Data that can be decrypted on the card.
EccType
A marker to distinguish between elliptic curve algorithms (ECDH, ECDSA, EdDSA)
Hash
A hash value that can be signed by the card.
PrivateKeyMaterial
Algorithm-independent container for private key material to upload to an OpenPGP card
PublicKeyMaterial
Algorithm-independent container for public key material retrieved from an OpenPGP card

Traits§

CardUploadableKey
A PGP-implementation-agnostic wrapper for private key data, to upload to an OpenPGP card
EccKey
ECC-specific container for private key material to upload to an OpenPGP card.
RSAKey
RSA-specific container for private key material to upload to an OpenPGP card.