[][src]Module sequoia_openpgp::cert::amalgamation

Component amalgamations.

Whereas a ComponentBundle groups a Component with its self signatures, its third-party signatures, and its revocation certificates, an Amalgamation groups a ComponentBundle with all of the necessary context needed to correctly implement relevant functionality related to the component. Specifically, a Amalgamation includes a reference to the ComponentBundle, and a reference to the containing certificate.

A notable differences between ComponentBundles and Amalgamations is that a ComponentBundle, owns its data, but an Amalgamation only references the contained data.

Structs

ComponentAmalgamation

A certificate's component and its associated data.

ComponentAmalgamationIter

An iterator over all component bundles of a given type in a certificate.

KeyAmalgamation

A key amalgamation.

KeyAmalgamationIter

An iterator over all Keys (both the primary key and the subkeys) in a certificate.

ValidComponentAmalgamation

A certificate's component and its associated data.

ValidComponentAmalgamationIter

An iterator over all valid Components of a given type in a certificate.

ValidKeyAmalgamation

A validated KeyAmalgamation.

ValidKeyAmalgamationIter

An iterator over all valid Keys in a certificate.

Traits

PrimaryKey

Methods specific to key amalgamations.

ValidAmalgamation

An amalgamation with a policy and a reference time.

ValidateAmalgamation

Applies a policy to an amalgamation.

Type Definitions

ErasedKeyAmalgamation

An amalgamation whose role is not known at compile time.

PrimaryKeyAmalgamation

A primary key amalgamation.

SubordinateKeyAmalgamation

A subordinate key amalgamation.

ValidErasedKeyAmalgamation

A valid amalgamation whose role is not known at compile time.

ValidPrimaryKeyAmalgamation

A valid primary key amalgamation.

ValidSubordinateKeyAmalgamation

A valid subordinate key amalgamation.