[][src]Module sequoia_openpgp::crypto::mpi

Multiprecision Integers.

Cryptographic objects like public keys, secret keys, ciphertexts, and signatures are scalar numbers of arbitrary precision. OpenPGP specifies that these are stored encoded as big-endian integers with leading zeros stripped (See Section 3.2 of RFC 4880). Multiprecision integers in OpenPGP are extended by RFC 6637 to store curves and coordinates used in elliptic curve cryptography (ECC).

Structs

MPI

A Multiprecision Integer.

ProtectedMPI

Holds a single MPI containing secrets.

Enums

Ciphertext

An encrypted session key.

PublicKey

A public key.

SecretKeyMaterial

A secret key.

Signature

A cryptographic signature.