Module 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§

AlgorithmInformation
“Algorithm Information” enumerates which algorithms the current card supports [Spec section 4.4.3.11]
EccAttributes
ECC specific attributes of AlgorithmAttributes
RsaAttributes
RSA specific attributes of AlgorithmAttributes

Enums§

AlgoSimple
A shorthand way to specify algorithms (e.g. for key generation).
AlgorithmAttributes
Algorithm Attributes [Spec section 4.4.3.9]
Curve
Enum for naming ECC curves, and mapping them to/from their OIDs.