[][src]Module sequoia_openpgp::message

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

Message

A message.

Enums

MessageParserError

Errors that MessageValidator::check may return.

Token

The components of an OpenPGP Message.