Module 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 10.3 of RFC 9580.

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.