Module sequoia_openpgp::message

source ·
Expand description

Message support.

An OpenPGP message is a sequence of OpenPGP packets that corresponds to an optionally signed, optionally encrypted, optionally compressed literal data packet. The exact format of an OpenPGP message is described in Section 11.3 of RFC 4880.

This module provides support for validating and working with OpenPGP messages.

Example of ASCII-armored OpenPGP message:

-----BEGIN PGP MESSAGE-----

yDgBO22WxBHv7O8X7O/jygAEzol56iUKiXmV+XmpCtmpqQUKiQrFqclFqUDBovzS
vBSFjNSiVHsuAA==
=njUN
-----END PGP MESSAGE-----

Structs§

Enums§

  • Errors that MessageValidator::check may return.
  • TokenDeprecated
    The components of an OpenPGP Message.