Module sequoia_openpgp::types

source ·
Expand description

Primitive types.

This module provides types used in OpenPGP, like enumerations describing algorithms.

§Common Operations

§Data structures

§CompressionLevel

Allows adjusting the amount of effort spent on compressing encoded data. This structure additionally has several helper methods for commonly used compression strategies.

§Features

Describes particular features supported by the given OpenPGP implementation.

§KeyFlags

Holds imformation about a key in particular how the given key can be used.

§RevocationKey

Describes a key that has been designated to issue revocation signatures.

§KeyServerPreferences

Describes preferences regarding to key servers.

§Timestamp and Duration

In OpenPGP time is represented as the number of seconds since the UNIX epoch stored as an u32. These two data structures allow manipulating OpenPGP time ensuring that adding or subtracting durations will never overflow or underflow without notice.

Structs§

Enums§