Module openpgp_card::algorithm
source · Expand description
Data structures that specify algorithms to use on an OpenPGP card.
AlgorithmAttributes
(and its components) model “Algorithm Attributes”
as described in the OpenPGP card specification.
AlgoSimple
offers a shorthand for specifying an algorithm,
specifically for key generation on the card.
Structs§
- “Algorithm Information” enumerates which algorithms the current card supports [Spec section 4.4.3.11]
- ECC specific attributes of
AlgorithmAttributes
- RSA specific attributes of
AlgorithmAttributes
Enums§
- A shorthand way to specify algorithms (e.g. for key generation).
- Algorithm Attributes [Spec section 4.4.3.9]
- Enum for naming ECC curves, and mapping them to/from their OIDs.