Module pgp::types[][src]

Modules

Structs

Secret key for DSA.

Secret key for ECDH with Curve25519, the only combination we currently support.

Secret key for EdDSA with Curve25519, the only combination we currently support.

Represents a Key ID.

Represents an owned MPI value. The inner value is ready to be serialized, without the need to strip leading zeros.

Represents a borrowed MPI value. The inner value is ready to be serialized, without the need to strip leading zeros.

Represents a Packet. A packet is the record structure used to encode a chunk of data in OpenPGP. Ref: https://tools.ietf.org/html/rfc4880.html#section-4

Enums

Available compression algorithms. Ref: https://tools.ietf.org/html/rfc4880.html#section-9.3

Represents the packet length.

Represent the public paramaters for the different algorithms.

The version of the secret key that is actually exposed to users to do crypto operations.

A list of params that are used to represent the values of possibly encrypted key, from imports and exports.

Available String-To-Key types

Packet tag as defined in RFC 4880, Section 4.3 “Packet Tags”

Traits

Functions

Parse Multi Precision Integers Ref: https://tools.ietf.org/html/rfc4880.html#section-3.2