Expand description

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


A Multiprecision Integer.

Holds a single MPI containing secrets.


An encrypted session key.

A public key.

Checksum method for secret key material.

A secret key.

A cryptographic signature.