Internet-Draft Cryptographic MIME Header Protection June 2024
Gillmor, et al. Expires 5 December 2024 [Page]
Workgroup:
LAMPS Working Group
Internet-Draft:
draft-ietf-lamps-header-protection-21
Updates:
8551 (if approved)
Published:
Intended Status:
Standards Track
Expires:
Authors:
D. K. Gillmor
American Civil Liberties Union
B. Hoeneisen
pEp Project
A. Melnikov
Isode Ltd

Header Protection for Cryptographically Protected E-mail

Abstract

S/MIME version 3.1 introduced a mechanism to provide end-to-end cryptographic protection of e-mail message headers. However, few implementations generate messages using this mechanism, and several legacy implementations have revealed rendering or security issues when handling such a message.

This document updates the S/MIME specification (RFC8551) to offer a different mechanism that provides the same cryptographic protections but with fewer downsides when handled by legacy clients. The Header Protection schemes described here are also applicable to messages with PGP/MIME cryptographic protections. Furthermore, this document offers more explicit guidance for clients when generating or handling e-mail messages with cryptographic protection of message headers.

About This Document

This note is to be removed before publishing as an RFC.

The latest revision of this draft can be found at https://dkg.gitlab.io/lamps-header-protection/. Status information for this document may be found at https://datatracker.ietf.org/doc/draft-ietf-lamps-header-protection/.

Discussion of this document takes place on the LAMPS Working Group mailing list (mailto:spasm@ietf.org), which is archived at https://mailarchive.ietf.org/arch/browse/spasm/. Subscribe at https://www.ietf.org/mailman/listinfo/spasm/.

Source for this draft and an issue tracker can be found at https://gitlab.com/dkg/lamps-header-protection.

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

This Internet-Draft will expire on 5 December 2024.

Table of Contents

1. Introduction

Privacy and security issues regarding e-mail Header Protection in S/MIME and PGP/MIME have been identified for some time. Most current implementations of cryptographically protected electronic mail protect only the body of the message, which leaves significant room for attacks against otherwise-protected messages. For example, lack of Header Protection allows an attacker to substitute the message subject and/or author.

This document describes two different schemes for how message headers can be cryptographically protected, and provides guidance for implementers of MUAs that generate and interpret such messages. It uses the term "Legacy MUA" to refer to an MUA that does not implement either scheme. This document takes particular care to ensure that messages interact reasonably well with Legacy MUAs.

1.1. Two Schemes of Header Protection

This document addresses two different schemes for cryptographically protecting e-mail Header Sections or fields and provides guidance to implementers. One scheme ("Injected Headers") is more interoperable with Legacy MUAs and is mandatory to implement and interpret. The other, older scheme ("Wrapped Message") is described here to enable interpretation of archived messages.

The older scheme was first specified in S/MIME 3.1 ([RFC8551]), and involves wrapping a message/rfc822 or message/global MIME object with a Cryptographic Envelope around the message to protect. This document calls this scheme "Wrapped Message", and it updates the scheme described in that document, effectively replacing the final two paragraphs of Section 3.1 of [RFC8551]. However, experience has shown that even the updated "Wrapped Message" form does not interact well with some Legacy MUAs (see Section 1.2).

The more interoperable "Injected Headers" scheme of Header Protection is introduced in this document, and is preferred over the "Wrapped Message" scheme. In the "Injected Headers" scheme, the protected Header Fields are placed directly on the Cryptographic Payload without using an intervening message/* MIME object. See Section 2.5.6 and Section 2.7.3 for more details.

1.2. Problems with Wrapped Messages

Several Legacy MUAs have revealed rendering issues when dealing with a message that uses the Wrapped Message Header Protection scheme.

In some cases, some mail user agents cannot render message/rfc822 message subparts at all, in violation of baseline MIME requirements as described on page 5 of [RFC2049]. This leaves all Wrapped Messages unreadable by any recipient using such an MUA.

In other cases, the user sees an attachment suggesting a forwarded e-mail message, which -- in fact -- contains the protected e-mail message that should be rendered directly. In most of these cases, the user can click on the attachment to view the protected message.

However, viewing the protected message as an attachment in isolation may strip it of any security indications, leaving the user unable to assess the cryptographic properties of the message. Worse, for encrypted messages, interacting with the protected message in isolation may leak contents of the cleartext, for example, if the reply is not also encrypted.

1.3. Problems with Injected Headers

A Legacy MUA dealing with an encrypted message that has some Header Fields obscured using the Injected Headers scheme will not render the obscured Header Fields to the user at all. A workaround "Legacy Display" mechanism is provided in this document, which most Legacy MUAs should render to the user, albeit not in the same location that the Header Fields would normally be rendered.

1.4. Motivation

Users generally do not understand the distinction between message body and message header. When an e-mail message has cryptographic protections that cover the message body, but not the Header Fields, several attacks become possible.

For example, a Legacy Signed Message has a signature that covers the body but not the Header Fields. An attacker can therefore modify the Header Fields (including the Subject header) without invalidating the signature. Since most readers consider a message body in the context of the message's Subject header, the meaning of the message itself could change drastically (under the attacker's control) while still retaining the same cryptographic indicator of authenticity.

In another example, a Legacy Encrypted Message has its body effectively hidden from an adversary that snoops on the message. But if the Header Fields are not also encrypted, significant information about the message (such as the message Subject) will leak to the inspecting adversary.

However, if the sending and receiving MUAs ensure that cryptographic protections cover the message Header Section as well as the message body, these attacks are defeated.

1.4.1. Backward Compatibility

If the sending MUA is unwilling to generate such a fully protected message due to the potential for rendering, usability, deliverability, or security issues, these defenses cannot be realized.

The sender cannot know what MUA (or MUAs) the recipient will use to handle the message. Thus, an outbound message format that is backward compatible with as many legacy implementations as possible is a more effective vehicle for providing the whole-message cryptographic protections described above.

This document aims for backward compatibility with Legacy MUAs to the extent possible. In some cases, like when a user-visible header like the Subject is cryptographically hidden, a Legacy MUA will not be able to render or reply to the message exactly same way as a conformant MUA would. But accommodations are described here that ensure a rough semantic equivalence for Legacy MUA even in these cases.

1.4.2. Deliverability

A message with perfect cryptographic protections that cannot be delivered is less useful than a message with imperfect cryptographic protections that can be delivered. Senders want their messages to reach the intended recipients.

Given the current state of the Internet mail ecosystem, encrypted messages in particular cannot shield all of their Header Fields from visibility and still be guaranteed delivery to their intended recipient.

This document accounts for this concern by providing a mechanism (Section 2.5.2) that prioritizes initial deliverability (at the cost of some header leakage) while facilitating future message variants that shield more header metadata from casual inspection.

1.5. Other Protocols to Protect E-Mail Header Fields

A separate pair of protocols also provides some cryptographic protection for the e-mail message header integrity: DomainKeys Identified Mail (DKIM) [RFC6376], as used in combination with Domain-based Message Authentication, Reporting, and Conformance (DMARC) [RFC7489]. This pair of protocols provides a domain-based reputation mechanism that can be used to mitigate some forms of unsolicited e-mail (spam).

However, the DKIM+DMARC suite provides cryptographic protection at a different scope than the mechanisms described here. In particular, the message integrity and authentication signals provided by DKIM+DMARC correspond to the domain name of the sending e-mail address, not the sending address itself, so the DKIM+DMARC suite does not provide end-to-end protection. DKIM and DMARC are typically applied to messages by (and interpreted by) mail transfer agents, not mail user agents. The mechanisms in this document are typically applied to messages by (and interpreted by) mail user agents.

Furthermore, the DKIM+DMARC suite only provides cryptographic integrity and authentication, not encryption. So cryptographic confidentiality is not available from that suite.

The DKIM+DMARC suite can be used on any message, including messages formed as described in this document. There should be no conflict between these schemes.

Though not strictly e-mail, similar protections have been in use on Usenet for signing and verification of message headers for years. See [PGPCONTROL] and [PGPVERIFY-FORMAT] for more details. Like DKIM, these Usenet control protections offer only integrity and authentication, not encryption.

1.6. Applicability to PGP/MIME

This document describes end-to-end cryptographic protections for e-mail messages in reference to S/MIME ([RFC8551]).

Comparable end-to-end cryptographic protections can also be provided by PGP/MIME ([RFC3156]).

The mechanisms in this document should be applicable in the PGP/MIME protections as well as S/MIME protections, but analysis and implementation in this document focuses on S/MIME.

To the extent that any divergence from the mechanism described here is necessary for PGP/MIME, that divergence is out of scope for this document.

1.7. Requirements Language

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.

The key words "SPECIFICATION REQUIRED" and "IETF REVIEW" that appear in this document when used to describe namespace allocation are to be interpreted as described in [RFC8126].

1.8. Terms

The following terms are defined for the scope of this document:

  • S/MIME: Secure/Multipurpose Internet Mail Extensions (see [RFC8551])

  • PGP/MIME: MIME Security with OpenPGP (see [RFC3156])

  • Message: An E-Mail Message consisting of Header Fields (collectively called "the Header Section of the message") followed, optionally, by a Body; see [RFC5322].

    Note: To avoid ambiguity, this document avoids using the terms "Header" or "Headers" in isolation, but instead always uses "Header Field" to refer to the individual field and "Header Section" to refer to the entire collection.

  • Header Field: A Header Field includes a field name, followed by a colon (":"), followed by a field body (value), and terminated by CRLF; see Section 2.2 of [RFC5322] for more details.

  • Header Section: The Header Section is a sequence of lines of characters with special syntax as defined in [RFC5322]. The Header Section of a Message contains the Header Fields associated with the Message itself. The Header Section of a MIME part (that is, a subpart of a message) typically contains Header Fields associated with that particular MIME part.

  • Body: The Body is the part of a Message that follows the Header Section and is separated from the Header Section by an empty line (i.e., a line with nothing preceding the CRLF); see [RFC5322]. It is the (bottom) section of a Message containing the payload of a Message. Typically, the Body consists of a (possibly multipart) MIME [RFC2045] construct.

  • Header Protection (HP): cryptographic protection of e-mail Header Sections (or parts of it) by means of signatures and/or encryption.

  • Cryptographic Layer, Cryptographic Payload, Cryptographic Envelope, Cryptographic Summary, Structural Header Fields, Main Body Part, User-Facing Header Fields, and MUA are all used as defined in [I-D.ietf-lamps-e2e-mail-guidance]

  • Legacy MUA: an MUA that does not understand Header Protection as described in this document. A Legacy Non-Crypto MUA is incapable of doing any end-to-end cryptographic operations. A Legacy Crypto MUA is capable of doing cryptographic operations, but does not understand or generate messages with Header Protection.

  • Legacy Signed Message: an e-mail message that was signed by a Legacy MUA (and therefore has no cryptographic authenticity or integrity protections on its Header Fields.

  • Wrapped Message: The Header Protection scheme that uses the mechanism described in [RFC8551], where the Cryptographic Payload is a message/rfc822 or message/global MIME object, augmented with a Content-Type parameter to indicate that this is the explicit intent. (see Section 2.2).

  • Injected Headers: The Header Protection scheme that uses the mechanism described in this document (see Section 2.1), where the protected Header Fields are inserted on the Cryptographic Payload directly.

  • Header Confidentiality Policy (HCP): a functional specification of which Header Fields should be removed or obscured when composing an encrypted message with Header Protection. An HCP is considered more "conservative" when it removes or obscures fewer Header Fields. When it removes or obscures more Header fields, it is more "ambitious". See Section 2.5.2.

  • Ordinary User: a user of an MUA who follows a simple and minimal experience, focused on sending and receiving e-mails. A user who opts into advanced configuration, expert mode, or the like is not an "Ordinary User".

1.9. Document Scope

This document describes sensible, simple behavior for a program that generates an e-mail message with standard end-to-end cryptographic protections, following the guidance in [I-D.ietf-lamps-e2e-mail-guidance]. An implementation conformant to this document will produce messages that have cryptographic protection that covers the message's Header Fields as well as its body.

1.9.1. In Scope

This document also describes sensible, simple behavior for a program that interprets such a message, in a way that can take advantage of these protections covering the Header Fields as well as the body.

The message generation guidance aims to minimize negative interactions with any Legacy receiving MUA while providing actionable cryptographic properties for modern receiving clients.

In particular, this document focuses on two standard types of cryptographic protection that cover the entire message:

  • A cleartext message with a single signature, and

  • An encrypted message that contains a single cryptographic signature.

1.9.2. Out of Scope

The message composition guidance in this document (in Section 2.5.6) aims to provide minimal disruption for any Legacy MUA that receives such a message. However, a Legacy MUA by definition does not implement any of the guidance here. Therefore, the document does not attempt to provide guidance for Legacy MUAs directly.

Furthermore, this document does not explicitly contemplate other variants of cryptographic message protections, including any of these:

  • Encrypted-only message (Without a cryptographic signature. See Section 5.3 of [I-D.ietf-lamps-e2e-mail-guidance].)

  • Triple-wrapped message

  • Signed message with multiple signatures

  • Encrypted message with a cryptographic signature outside the encryption.

All such messages are out of scope of this document.

2. Specification

As mentioned in Section 1.1, this document describes two ways to provide end-to-end cryptographic protection for an e-mail message that includes all Header Fields known to the sender at message composition time. This document also specifies a new Header Field: HP-Outer (see Section 2.5.3).

When composing a message with end-to-end cryptographic protections, an MUA SHOULD apply Header Protection. A sending MUA MUST be able to generate the Injected Headers scheme (Section 2.5.6), and MAY generate the Wrapped Message scheme (Section 2.5.7). The MUA implementer can choose between the two schemes (see Section 4.3).

A compatible MUA SHOULD use Injected Headers when composing a new message with end-to-end cryptographic protections, since a message structured with Injected Headers is more likely to be usable by both legacy and compatible MUAs.

A receiving MUA MUST be able to handle both Header Protection schemes, as described in Section 2.7.

2.1. Injected Headers Scheme

A message that uses the Injected Headers scheme has protected Header Fields in the Header Section of the Cryptographic Payload.

For an encrypted message that has at least one User-Facing Header Field (see Section 1.1.2 of [I-D.ietf-lamps-e2e-mail-guidance]) removed or obscured outside of the Cryptographic Payload, those Header Fields MAY be duplicated into decorative copies in the Main Body MIME part of the Cryptographic Payload itself. These decorative copies within the message are known as "Legacy Display Elements".

Such a Legacy Display Element enables users of a Legacy receiving MUA -- that doesn't yet understand how to interpret or display the Injected Headers scheme -- to view the removed/obscured Header Fields. See Section 3.1 for more details about how the ecosystem could shift so that a sending MUA could avoid the need to generate any Legacy Display Element.

Composing a message with the Injected Headers scheme is described in Section 2.5.6. Rendering such a message is described in Section 2.7.3. Example message composition and reply can be seen in Appendix C. Example message rendering which strips Legacy Display Elements can be seen in Appendix D.

2.2. Wrapped Message Scheme

A message that uses the Wrapped Message scheme has a Cryptographic Payload of a single message/rfc822 (or message/global) MIME object, which itself contains the original message (including the protected Header Section).

The Wrapped Message Header Protection scheme is very similar to that described in Section 3.1 of [RFC8551]. The main augmentations this document provides to that scheme are:

  • an explicit discussion of how to obscure or remove Header Fields,

  • an additional hp="clear" or hp="cipher" parameter to the Content-Type Header Field of the Cryptographic Payload to indicate the explicit intent,

  • an additional hp-scheme="wrapped" parameter to the same Content-Type Header Field to indicate the specific scheme in use,

  • a recommendation to mark such a Wrapped Message as "Content-Disposition: inline" to encourage Legacy MUAs to render the inner message directly rather than treating it as an attachment, and

  • a mechanism the recipient of an encrypted message can use to explicitly derive what Header Fields were removed or obscured by the sender (the HP-Outer mechanism).

Composing a message with the Wrapped Message scheme is described in Section 2.5.7. Rendering such a message is described in Section 2.7.4.

2.3. Content-Type parameter: hp

This specification defines a parameter for the Content-Type Header Field named hp (for Header Protection). Its value is only relevant on the Content-Type Header Field at the root of the Cryptographic Payload. When generating a message, an MUA MUST add this parameter only to the Content-Type Header Field at the root of the message's Cryptographic Payload. When consuming a message, an MUA MUST ignore this parameter when it encounters it anywhere other than the root of the message's Cryptographic Payload.

The parameter's defined values describe the sender's cryptographic intent when producing the message:

Table 1: hp parameter for Content-Type Header Field
hp Value Authenticity Integrity Confidentiality Description
"clear" yes yes no This message has been signed by the sender with Header Protection
"cipher" yes yes yes This message has been signed by the sender, with Header Protection, and is encrypted to the recipients

A sending implementation MUST NOT produce a Cryptographic Payload with parameter hp="cipher" for an non-encrypted message (that is, where none of the Cryptographic Layers in the Cryptographic Envelope of the message provide encryption). Likewise, if a sending implementation is sending an encrypted message with Header Protection, it MUST emit an hp="cipher" parameter, regardless of the HCP in use.

Note that hp="cipher" indicates that the message itself has been encrypted by the sender to the recipients, but makes no assertions about which Header Fields have been removed or obscured. This can be derived from the Cryptographic Payload itself (see Section 2.5.4).

A receiving implementation MUST NOT mistake the presence of an hp="cipher" parameter in the Cryptographic Payload for the actual presence of a Cryptographic Layer that provides encryption.

2.4. Content-Type parameter: hp-scheme

This document recommends the Injected Headers scheme, and the presence of the hp= parameter in the Content-Type of the Cryptographic Payload implies the use of that scheme by default. If the message does Header Protection using the Wrapped Message scheme, it MUST also add an hp-scheme="wrapped" parameter to the Content-Type of the Cryptographic Payload.

Table 2: hp-scheme parameter for Content-Type Header Field
hp-scheme Value Header Protection Scheme Used
(no hp-scheme parameter present) Injected Headers
"wrapped" Wrapped Message

2.5. Sending Side

This section describes the process an MUA should use to apply cryptographic protection to an e-mail message with Header Protection.

2.5.1. Composing a Cryptographically Protected Message Without Header Protection

As a baseline, we consider the typical message composition process of a Legacy Crypto MUA which does not provide any Header Protection.

This process is described in Section 5.1 of [I-D.ietf-lamps-e2e-mail-guidance]. We replicate it here for reference:

  • origbody: the traditional unprotected message body as a well-formed MIME tree (possibly just a single MIME leaf part). As a well-formed MIME tree, origbody already has structural Header Fields (Content-*) present.

  • origheaders: the intended non-structural Header Fields for the message, represented here as a list of (h,v) pairs, where h is a Header Field name and v is the associated value. Note that these are Header Fields that the MUA intends to be visible to the recipient of the message. In particular, if the MUA uses the Bcc Header Field during composition, but plans to omit it from the message (see Section 3.6.3 of [RFC5322]), it will not be in origheaders.

  • crypto: The series of cryptographic protections to apply (for example, "sign with the secret key corresponding to X.509 certificate X, then encrypt to X.509 certificates X and Y"). This is a routine that accepts a MIME tree as input (the Cryptographic Payload), wraps the input in the appropriate Cryptographic Envelope, and returns the resultant MIME tree as output.

The algorithm returns a MIME object that is ready to be injected into the mail system:

  • Apply crypto to MIME part origbody, producing MIME tree output

  • For each Header Field name and value (h,v) in origheaders:

    • Add Header Field h to output with value v

  • Return output

2.5.2. Header Confidentiality Policy

When composing an encrypted message with Header Protection, the composing MUA needs a Header Confidentiality Policy (HCP). In this document, we represent that Header Confidentiality Policy as a function hcp:

  • hcp(name, val_in) → val_out: this function takes a non-structural Header Field identified by name with initial value val_in as arguments, and returns a replacement header value val_out. If val_out is the special value null, it means that the Header Field in question should be removed from the set of Header Fields visible outside the Cryptographic Envelope.

In the pseudocode descriptions of various choices of HCP in this document, any comparison with the name input is done case-insensitively. This is appropriate for Header Field names, as described in [RFC5322].

Note that hcp is only applied to non-structural Header Fields. When composing a message, Structural Header Fields are dealt with separately, as described in Section 2.5.6 and Section 2.5.7.

As an example, an MUA that obscures the Subject Header Field by replacing it with the literal string "[...]", hides all Cc'ed recipients, and does not offer confidentiality to any other Header Fields would be represented as (in pseudocode):

hcp_example_hide_cc(name, val_in) → val_out:
    if lower(name) is 'subject':
        return '[...]'
    else if lower(name) is 'cc':
        return null
    else:
        return val_in

Note that such a policy is only needed when the end-to-end protections include encryption (confidentiality). No comparable policy is needed for other end-to-end cryptographic protections (integrity and authenticity), as they are simply uniformly applied so that all Header Fields known by the sender have these protections.

This asymmetry is an unfortunate consequence of complexities in message delivery systems, some of which may reject, drop, or delay messages where all Header Fields are removed from the top-level MIME object.

This document does not mandate any particular Header Confidentiality Policy, though it offers guidance for MUA implementers in selecting one in Section 2.6. Future documents may recommend or mandate such a policy for an MUA with specific needs. Such a recommendation might be motivated by descriptions of metadata-derived attacks, or stem from research about message deliverability, or describe new signalling mechanisms, but these topics are out of scope for this document.

For alignment with common practice as well as the ABNF in Section 2.5.3 for HP-Outer, val_out MUST be one of the following:

  • identical to val_in, or

  • the special value null (meaning that the Header Field will be removed from the outside of the message), or

  • a sequence of printable and whitespace (that is, space or tab) 7-bit clean ASCII characters (of course, non-ASCII text can be encoded as ASCII using the encoded-word construct from [RFC2047])

The HCP can compute val_out using any technique describable in pseudocode, such as copying a fixed string or invocations of other pseudocode functions. If it alters the value, it MUST NOT include control or NUL characters in val_out. val_out SHOULD match the expected ABNF for the Header Field identified by name.

2.5.3. Definition of the HP-Outer Header Field

This document defines a new Header Field, HP-Outer. HP-Outer is used for conveying the effect of sender's Header Confidentiality Policy for an encrypted message. It does so by embedding a copy within the Cryptographic Envelope of every non-structural Header Field that the sender put outside the Cryptographic Envelope. This Header Field enables the MUA receiving the encrypted message to reliably identify whether the sending MUA intended to make a Header Field confidential (see Section 6.3).

An implementation that composes encrypted e-mail MUST include a copy of all non-structural Header Fields deliberately exposed to the outside of the Cryptographic Envelope using a series of HP-Outer Header Fields within the Cryptographic Payload. These HP-Outer MIME Header Fields should only ever appear directly within the Header Section of the Cryptographic Payload of a Cryptographic Envelope offering confidentiality. They MUST be ignored for the purposes of evaluating the message's Header Protection if they appear in other places.

Each instance of HP-Outer contains a non-structural Header Field name and the value that this Header Field was set in the outer (unprotected) Header Section. The HP-Outer Header Field can appear multiple times in the Header Section of a Cryptographic Payload.

If a non-structural Header Field name A doesn't appear in an HP-Outer Header Field value, then the sender is effectively asserting it was not set on the outside of the message's Cryptographic Envelope by the original message sender at the time the message was injected into the mail system.

The syntax of this Header Field is defined using the following ABNF [RFC5234], where field-name, WSP, VCHAR, and FWS are defined in [RFC5322]:

hp-outer     =   "HP-Outer:" [FWS] field-name ": "
                    hp-outer-value CRLF

hp-outer-value  =   (*([FWS] VCHAR) *WSP)

Note that hp-outer-value is the same as unstructured from [RFC5322], but without the obsolete obs-unstructured option.

2.5.4. Extracting Protected and Unprotected ("Outer") Header Fields

When a message is encrypted and it uses Header Protection, an MUA may need to extract a list of protected Header Fields (names and values), as well as a list of Header Fields that were added by the original message sender in unprotected form to the outside of the message's Cryptographic Envelope.

The following algorithm takes an reference message refmsg as input, which is encrypted with Header Protection as described in this document (that is, the Cryptographic Envelope includes a Cryptographic Layer that provides encryption, and the hp parameter for the Content-Type Header Field of the Cryptographic Payload is cipher). It produces as output a pair of lists of (h,v) Header Fields.

  • When refmsg uses the Injected Headers scheme (that is, when there is no hp-scheme parameter for the Content-Type Header Field of the Cryptographic Payload):

    • Let refheaders be the list of (h,v) protected Header Fields found in the root of the Cryptographic Payload

  • When refmsg uses the Wrapped Message scheme (that is, when the hp-scheme parameter for the Content-Type Header Field of the top-level message/rfc822 Cryptographic Payload is wrapped):

    • Let refheaders be the list of (h,v) protected Header Fields found in the immediate child of the root of the Cryptographic Payload (recall that the root is a message/rfc822)

  • Let refouter be an empty list of Header Field names and values

  • Let refprotected be an empty list of Header Field names and values

  • For each (h,v) in refheaders:

    • If h is HP-Outer:

      • Split v into (h1,v1) on the first colon (:) followed by any amount of whitespace.

      • Append (h1,v1) to refouter

    • Else:

      • Append (h,v) to refprotected

  • Return refouter, refprotected

Note that this algorithm is independent of the unprotected Header Fields. It derives its output only from the normal Header Fields and the HP-Outer Header Fields, both contained inside the Cryptographic Payload.

2.5.5. Header Confidentiality for Referenced Encrypted Messages

Some e-mail messages are written in response to another message. For example, the user of an MUA viewing any given message might take an action like "Reply", "Reply All", "Forward", or some comparable action to start the composition of a new message. The new message created this way effectively references the original message that was viewed at the time.

When the referenced message was itself encrypted with Header Protection, and some of its Header Fields had been obscured or removed, the replying MUA needs to make sure that the new message does not leak previously confidential header material. This section describes a method to produce a list of Header Fields that should be obscured or removed in the new message even if the sender's choice of Header Confidentiality Policy wouldn't normally remove or obscure the Header Field in question.

It takes two items as input:

  • A single referenced message refmsg, and

  • A built-in MUA function respond associated with the user's action. respond takes as input a list of headers from a referenced message and generates a list of initial candidate message Header Field names and values that are used to populate the message composition interface. Something like this function already exists in most MUAs, though it may differ across responsive actions. For example, the respond function that implements "Reply All" is likely to be a different from the respond that implements "Reply".

As output, we produce an ephemeral single-use Header Confidentiality Policy, specific to this kind of response to this specific message.

  • If refmsg is not encrypted with Header Protection:

    • Return hcp_no_confidentiality (there is no header confidentiality in the reference message that needs protection)

  • Extract refouter, refprotected from refmsg as described in Section 2.5.4

  • Let genprotected be a list of (h,v) pairs generated by respond(refprotected)

  • Let genouter be a list of (h,v) pairs generated by respond(refouter)

  • For each (h,v) in genprotected:

    • If (h,v) is in genouter:

      • Remove (h,v) from both genprotected and genouter (this Header Field does not need additional confidentiality)

  • Let confmap be a mapping from a Header Field name and value (h,v) to either a string or the special value null (this mapping is initially empty)

  • For each (h,v) remaining in genprotected:

    • Set result to the special value null

    • For each (h1,v1) in genouter:

      • If h1 is h:

        • Set result to v1

    • Insert (h,v) -> result into confmap

  • Return a new HCP from confmap that tests whether (name,val_in) are in confmap; if so, return confmap[(name,val_in)]; otherwise, return val_in

Note that the key idea here is to reuse the MUA's existing respond function. The algorithm simulates how the MUA would pre-populate a reply to two traditional messages whose Header Fields have the values refouter and refprotected respectively (independent of any cryptographic protections). Then it uses the difference to derive a one-time HCP. This HCP takes into account both the referenced message's sender's preferences and the derivations that can happen to Header Field values when responding. Note that while some of these derivations are straight forward (e.g., In-Reply-To is usually derived from Message-ID), others are non-trivial. For example, From may be derived from To, Cc, or from the MUA's local address preference (especially when the MUA received the referenced message via Bcc). Similarly, To may be derived from To, From, and/or Cc depending on the MUA implementation and depending on whether the user clicked "Reply", "Reply All", "Forward", or any other action that generates a response to a message. Reusing the MUA's existing respond function incorporates these nuances without requiring any extra configuration choices or additional maintenance burden.

2.5.6. Composing with "Injected Headers" Header Protection

To compose a message using "Injected Headers" Header Protection, the composing MUA uses the following inputs:

  • All the inputs described in Section 2.5.1

  • hcp: a Header Confidentiality Policy, as defined in Section 2.5.2

  • response: if the new message is a response to another message (e.g., "Reply", "Reply All", "Forward", etc), the MUA function corresponding to the user's action (see Section 2.5.5), otherwise null

  • refmsg: if the new message is a response to another message, the message being responded to, otherwise null

  • legacy: a boolean value, indicating whether any recipient of the message is believed to have a Legacy MUA. If all recipients are known to implement this draft, legacy should be set to false. (How an MUA determines the value of legacy is out of scope for this document; an initial implementation can simply set it to true)

To enable visibility of User-Facing but now removed/obscured Header Fields for decryption-capable Legacy MUAs, the Header Fields are included as a decorative Legacy Display Element in specially marked parts of the message (see Section 2.1). This document recommends two mechanisms for such a decorative adjustment: one for a text/html Main Body Part of the e-mail message, and one for a text/plain Main Body Part. This document does not recommend adding a Legacy Display Element to any other part.

Please see Section 7.1 of [I-D.ietf-lamps-e2e-mail-guidance] for guidance on identifying the parts of a message that are a Main Body Part.

The algorithm proceeds as follows:

  • Let newbody be a copy of origbody

  • If crypto contains encryption, and legacy is true:

    • Create ldlist, an empty list of (header, value) pairs

    • For each Header Field name and value (h,v) in origheaders:

    • If ldlist is not empty:

      • Identify each leaf MIME part of newbody that represents the "main body" of the message.

      • For each "Main Body Part" bodypart of type text/plain or text/html:

        • Adjust bodypart by inserting a Legacy Display Element header list ldlist into its content, and adding a Content-Type parameter hp-legacy-display with value 1 (see Section 2.5.6.1 for text/plain and Section 2.5.6.2 for text/html)

  • For each Header Field name and value (h,v) in origheaders:

    • Add Header Field h to MIME part newbody with value v

  • If crypto does not contain encryption:

    • Set the hp parameter on the Content-Type of MIME part newbody to clear

    • Let newheaders be a copy of origheaders

  • Else (if crypto contains encryption):

    • Set the hp parameter on the Content-Type of MIME part newbody to cipher

    • If refmsg is not null, response is not null, and refmsg itself is encrypted with header protection:

      • Let response_hcp be a single-use HCP derived from response and refmsg (see Section 2.5.5)

    • Else (if this is not a response to an encrypted, header-protected message):

      • Set response_hcp to hcp_no_confidentiality

    • Create new empty list of Header Field names and values newheaders

    • For each Header Field name and value (h,v) in origheaders:

      • Let newval be hcp(h,v)

      • If newval is v:

        • Let newval be response_hcp(h,v)

      • If newval is not null):

        • Add (h,newval) to newheaders

    • For each Header Field name and value (h,v) in newheaders:

      • Let string record be the concatenation of h, a literal "" (ASCII colon (0x3A) followed by ASCII space (0x20)), and v

      • Add Header Field "HP-Outer" to MIME part newbody with value record

  • Apply crypto to MIME part newbody, producing MIME tree output

  • For each Header Field name and value (h,v) in newheaders:

    • Add Header Field h to output with value v

  • Return output

Note that both new parameters (hcp and legacy) are effectively ignored if crypto does not contain encryption. This is by design, because they are irrelevant for signed-only cryptographic protections.

2.5.6.1. Adding a Legacy Display Element to a text/plain Part

For a list of obscured and removed User-Facing Header Fields represented as (header, value) pairs, concatenate them as a set of lines, with one newline at the end of each pair. Add an additional trailing newline after the resultant text, and prepend the entire list to the body of the text/plain part.

The MUA MUST also add a Content-Type parameter of hp-legacy-display with value 1 to the MIME part to indicate that a Legacy Display Element was added.

For example, if the list of obscured Header Fields was [("Cc", "alice@example.net"), ("Subject", "Thursday's meeting")], then a text/plain Main Body Part that originally looked like this:

Content-Type: text/plain; charset=UTF-8

I think we should skip the meeting.

Would become:

Content-Type: text/plain; charset=UTF-8; hp-legacy-display=1

Subject: Thursday's meeting
Cc: alice@example.net

I think we should skip the meeting.

Note that the Legacy Display Element (the lines beginning with Subject: and Cc:) are part of the body of the MIME part in question.

This example assumes that the Main Body Part in question is not the root of the Cryptographic Payload. For instance, it could be a leaf of a multipart/alternative Cryptographic Payload. This is why no additional Header Fields have been injected into the MIME part in this example.

2.5.6.2. Adding a Legacy Display Element to a text/html Part

Adding a Legacy Display Element to a text/html part is similar to how it is added to a text/plain part (see Section 2.5.6.1). Instead of adding the obscured or removed User-Facing Header Fields to a block of text delimited by a blank line, the composing MUA injects them in an HTML <div> element annotated with a class attribute of header-protection-legacy-display.

The content and formatting of this decorative <div> have no strict requirements, but they MUST represent all the obscured and removed User-Facing Header Fields in a readable fashion. A simple approach is to assemble the text in the same way as Section 2.5.6.1, wrap it in a verbatim <pre> element, and put that element in the annotated <div>.

The annotated <div> should be placed as close to the start of the <body> as possible, where it will be visible when viewed with a standard HTML renderer.

The MUA MUST also add a Content-Type parameter of hp-legacy-display with value 1 to the MIME part to indicate that a Legacy Display Element was added.

For example, if the list of obscured Header Fields was [("Cc", "alice@example.net"), ("Subject", "Thursday's meeting")], then a text/html Main Body Part that originally looked like this:

Content-Type: text/html; charset=UTF-8

<html><head><title></title></head><body>
<p>I think we should skip the meeting.</p>
</body></html>

Would become:

Content-Type: text/html; charset=UTF-8; hp-legacy-display=1

<html><head><title></title></head><body>
<div class="header-protection-legacy-display">
<pre>Subject: Thursday's meeting
Cc: alice@example.net</pre></div>
<p>I think we should skip the meeting.</p>
</body></html>

This example assumes that the Main Body Part in question is not the root of the Cryptographic Payload. For instance, it could be a leaf of a multipart/alternative Cryptographic Payload. This is why no additional Header Fields have been injected into the MIME part in this example.

2.5.6.2.1. Step-by-step Example for Inserting Legacy Display Element to text/html

A composing MUA MAY insert the Legacy Display Element anywhere reasonable within the message as long as it prioritizes visibility for the reader using a Legacy decryption-capable MUA. This decision may take into account special message-specific HTML formatting expectations if the MUA is aware of them. However, some MUAs may not have any special insight into the user's preferred HTML formatting, and still want to insert a Legacy Display Element. This section offers a non-normative, simple, and minimal step-by-step approach for a composing MUA that has no other information or preferences to fall back on.

The process below assumes that the MUA already has the full HTML object that it intends to send, including all of the text supplied by the user.

  1. Assemble the text exactly as specified for text/plain (see Section 2.5.6.1).

  2. Wrap that text in a verbatim <pre> element.

  3. Wrap that <pre> element in a <div> element annotated with the class header-protection-legacy-display.

  4. Find the <body> element of the full HTML object.

  5. Insert the <div> element as the first child of the <body> element.

2.5.6.3. Only Add a Legacy Display Element to Main Body Parts

Some messages may contain a text/plain or text/html subpart that is not a Main Body Part. For example, an e-mail message might contain an attached text file or a downloaded webpage. Attached documents need to be preserved as intended in the transmission, without modification.

The composing MUA MUST NOT add a Legacy Display Element to any part of the message that is not a Main Body Part. In particular, if a part is annotated with Content-Disposition: attachment, or if it does not descend via the first child of any of its multipart/mixed or multipart/related ancestors, it is not a Main Body Part, and MUST NOT be modified.

See Section 7.1 of [I-D.ietf-lamps-e2e-mail-guidance] for more guidance about common ways to distinguish Main Body Parts from other MIME parts in a message.

2.5.6.4. Do Not Add a Legacy Display Element to Other Content-Types

The purpose of injecting a Legacy Display Element into each Main Body MIME part is to enable rendering of otherwise obscured Header Fields in Legacy MUAs that are capable of message decryption, but don't know how to follow the rest of the guidance in this document.

The authors are unaware of any Legacy MUA that would render any MIME part type other than text/plain and text/html as the Main Body. A generating MUA SHOULD NOT add a Legacy Display Element to any MIME part with any other Content-Type.

2.5.7. Composing with "Wrapped Message" Header Protection

To compose a message using "Wrapped Message" Header Protection, the composing MUA uses the following inputs:

  • All the inputs described in Section 2.5.1

  • hcp: a Header Confidentiality Policy, as defined in Section 2.5.2

  • response: if the new message is a response to another message (e.g., "Reply", "Reply All", "Forward", etc), the MUA function corresponding to the user's action (see Section 2.5.5), otherwise null

  • refmsg: if the new message is a response to another message, the message being responded to, otherwise null

The algorithm proceeds as follows:

  • Let newbody be a copy of origbody

  • For each Header Field name and value (h,v) in origheaders:

    • Add Header Field h to MIME part newbody with value v

  • If crypto does not contain encryption:

    • Let newheaders be a copy of origheaders

  • Else (if crypto contains encryption):

    • If refmsg is not null, response is not null, and refmsg itself is encrypted with header protection:

      • Let response_hcp be a single-use HCP derived from response and refmsg (see Section 2.5.5)

    • Else (if this is not a response to an encrypted, header-protected message):

      • Set response_hcp to hcp_no_confidentiality

    • Create new empty list of Header Field names and values newheaders

    • For each Header Field name and value (h,v) in origheaders:

      • Let newval be hcp(h,v)

      • If newval is v:

        • Let newval be response_hcp(h,v)

      • If newval is not null:

        • Add (h,newval) to newheaders

    • For each Header Field name and value (h,v) in newheaders:

      • Let string record be the concatenation of h, a literal "" (ASCII colon (0x3A) followed by ASCII space (0x20)), and v

      • Add Header Field "HP-Outer" to MIME part newbody with value record

  • If any of the Header Fields in MIME part newbody, including Header Fields in the nested internal MIME structure, contain any 8-bit UTF-8 characters (see Section 3.7 of [RFC6532]):

    • Let payload be a new MIME part with one Header Field: Content-Type: message/global

  • Else:

    • Let payload be a new MIME part with one Header Field: Content-Type: message/rfc822

  • If crypto contains encryption:

    • Add a parameter hp="cipher" to the Content-Type Header Field of payload

  • Else (if crypto does not contain encryption):

    • Add a parameter hp="clear" to the Content-Type Header Field of payload

  • Add a parameter hp-scheme="wrapped" to the Content-Type Header Field of payload

  • Set the body of payload to newbody.

  • Add a Content-Disposition Header Field to MIME part payload with value inline

  • Apply crypto to MIME part payload, producing MIME tree output

  • For each Header Field name and value (h,v) in newheaders:

    • Add Header Field h to output with value v

  • Return output

Note that the Header Confidentiality Policy hcp parameter is effectively ignored if crypto does not contain encryption. This is by design, because a signed-only message cannot provide confidentiality.

2.6. Default Header Confidentiality Policy

An MUA MUST have a default Header Confidentiality Policy that offers at least the protections provided by hcp_minimal as described in Section 2.6.1. Local policy and configuration may alter this default, but the MUA SHOULD NOT require the user to select an HCP.

hcp_minimal provides confidentiality for the Subject Header Field by replacing it with the literal string "[...]". This is a sensible minimal default because most users treat the Subject of a message the same way that they treat the body, and they are surprised to find that the Subject of an encrypted message is visible.

2.6.1. Minimal Header Confidentiality Policy

The most conservative recommended Header Confidentiality Policy only protects the Subject Header Field:

hcp_minimal(name, val_in) → val_out:
    if lower(name) is 'subject':
        return '[...]'
    else:
        return val_in

hcp_minimal is the recommended default HCP for a new implementation, as it provides meaningful confidentiality protections and is unlikely to cause deliverability or usability problems.

2.6.2. Strong Header Confidentiality Policy

Alternately, a more ambitious (and therefore more privacy-preserving) Header Confidentiality Policy only leaks a handful of fields whose absence is known to increase rates of delivery failure, and simultaneously obscures the Message-ID behind a random new one:

hcp_strong(name, val_in) → val_out:
    if lower(name) in ['from', 'to', 'cc', 'date']:
        return val_in
    else if lower(name) is 'subject':
        return '[...]'
    else if lower(name) is 'message-id':
        return generate_new_message_id()
    else:
        return null

The function generate_new_message_id() represents whatever process the MUA typically uses to generate a Message-ID for a new outbound message.

hcp_strong is known to cause usability problems with message threading for many Legacy MUAs, and is not recommended as a default HCP for new implementations.

2.6.3. No Header Confidentiality Policy

Legacy MUAs can be conceptualized as offering a "No Header Confidentiality" Policy, which offers no confidentiality protection to any Header Field:

hcp_no_confidentiality(name, val_in) → val_out:
    return val_in

A conformant MUA that is not modified by local policy or configuration MUST NOT use hcp_no_confidentiality by default.

2.6.4. Offering More Ambitious Header Confidentiality

An MUA MAY offer even more ambitious confidentiality for Header Fields of an encrypted message than described in Section 2.6.2. For example, it might implement an HCP that obscures the From Header Field, removes the Cc Header Field, or ensures Date is represented in UTC (obscuring the local time zone).

The authors of this document hope that implementers with deployment experience will document their chosen Header Confidentiality Policy and the rationale behind their choice.

This document defines hcp_no_confidentiality, hcp_minimal, and hcp_strong as a way to compare and contrast different possible behavioral choices for a composing MUA. An example hypothetical HCP, hcp_example_hide_cc is included in Section 2.5.2. While the HCP is not strictly a protocol element, this document creates a registry of named Header Confidentiality Policies for ease of communication.

2.6.4.1. Expert Guidance for Registering Header Confidentiality Policies

There is no formal syntax specified for the Header Confidentiality Policy, but any attempt to specify an HCP for inclusion in the registry needs to provide:

  • a stable reference document clearly indicating the distinct name for the proposed HCP

  • pseudocode that other implementers can clearly and unambiguously interpret

  • a clear explanation of why this HCP is different from all other registered HCPs

  • any relevant considerations related to deployment of the HCP (for example, known or expected deliverability, rendering, or privacy challenges and possible mitigations)

When the proposed HCP produces any non-null output for a given Header Field name, val_out SHOULD match the expected ABNF for that Header Field. If the proposed HCP does not match the expected ABNF for that Header Field, the documentation should explicitly identify the relevant circumstances and provide a justification for the deviation.

An entry should not be marked as "Recommended" unless it has been shown to offer confidentiality or privacy improvements over the status quo and have minimal or mitigatable negative impact on messages to which it is applied, considering factors such as message deliverability and security. Only one entry in the table (hcp_minimal) is initially marked as "Recommended". In the future, more than one entry may be marked as "Recommended".

2.7. Receiving Side

An MUA that receives a cryptographically protected e-mail will render it for the user.

The receiving MUA will render the message body, a selected subset of Header Fields, and (as described in Section 3 of [I-D.ietf-lamps-e2e-mail-guidance]) provide a summary of the cryptographic properties of the message.

Most MUAs only render a subset of Header Fields by default. For example, most MUAs render From, To, Cc, Date, and Subject to the user, but few render Message-Id or Received.

An MUA that knows how to handle a message with Header Protection makes the following three changes to its behavior when rendering a message:

  • If the MUA detects that an incoming message has protected Header Fields:

    • For a Header Field that is present in the protected Header Section, the MUA MUST render that value, and ignore any unprotected counterparts that may be present.

    • For a Header Field that is present only in the unprotected Header Section, the MUA SHOULD NOT render that value. If it does render the value, the MUA SHOULD indicate that the rendered value is unprotected. For an exception to this, see Section 2.7.10 for a discussion of some specific Header Fields that are known to be added in transit, and therefore are not expected to have end-to-end cryptographic protections.

  • The MUA SHOULD include information in the message's Cryptographic Summary to indicate the types of protection that applied to each rendered Header Field (if any).

  • When replying to a message with confidential Header Fields, the replying MUA avoids leaking into the cleartext of the reply any Header Fields which were confidential in the original. It does this even if its own Header Confidentiality Policy would not have treated those Header Fields as confidential. See Section 2.7.8 for more details.

Note that an MUA that handles a message with Header Protection does not need to render any new Header Fields that it did not render before.

2.7.1. Identifying that a Message has Header Protection

An incoming message can be identified as having Header Protection based on one of two signals:

  • The Cryptographic Payload has Content-Type: message/rfc822 or Content-Type: message/global and the parameter hp has a value of clear or cipher, and the hp-scheme has a value of wrapped. See Section 2.7.4 for rendering guidance.

  • The Cryptographic Payload has some other Content-Type and it has parameter hp set to clear or cipher. See Section 2.7.3 for rendering guidance.

Messages of both types exist in the wild, and a compliant MUA MUST be able to handle them both. They provide the same semantics and the same meaning.

2.7.2. Updating the Cryptographic Summary

Regardless of whether a cryptographically protected message has protected Header Fields, the Cryptographic Summary of the message should be modified to indicate what protections the Header Fields have. This field-by-field status is complex and isn't necessarily intended to be presented in full to the user. Rather, it represents the state of the message internally within the MUA, and may be used to influence behavior like replying to the message (see Section 2.7.8.1).

Each Header Field individually has exactly one of the following protection states:

  • unprotected (has no Header Protection)

  • signed-only (bound into the same validated signature as the enclosing message, but also visible in transit)

  • encrypted-only (only appears within the Cryptographic Payload; the corresponding external Header Field was either removed or obscured)

  • signed-and-encrypted (same as encrypted-only, but additionally is under a validated signature)

If the message does not have Header Protection (as determined by Section 2.7.1), then all of the Header Fields are by definition unprotected.

If the message has Header Protection, an MUA SHOULD use the following algorithm to compute the protection state of a protected Header Field (h,v) (i.e., an element of refprotected from Section 2.5.4):

  • Let ct be the Content-Type of the root of the Cryptographic Payload.

  • Let refouter be the list of unprotected Header Fields (as computed by Section 2.5.4).

  • Let is_sig_valid be false

  • If the message is signed:

    • Let is_sig_valid be the result of validating the signature

  • If the message is encrypted, and if ct has a parameter hp=cipher, and if (h,v) is not in refouter:

    • Return signed-and-encrypted if is_sig_valid otherwise encrypted-only

  • Return signed-only if is_sig_valid otherwise unprotected

Note that:

  • This algorithm is independent of the unprotected Header Fields. It derives the protection state only from (h,v) and the set of HP-Outer Header Fields, both of which are inside the Cryptographic Envelope.

  • If the signature fails validation, the MUA lowers the affected state to unprotected or encrypted-only without warning the user, as specified by Section 3.1 of [I-D.ietf-lamps-e2e-mail-guidance].

  • Data from signed-and-encrypted and encrypted-only Header Fields may still not be fully private (see Section 6.2).

  • Encryption may have been added in transit to an originally signed-only message. Thus only consider Header Fields to be confidential if the sender indicates it with the hp=cipher parameter.

  • The protection state of a Header Field may be weaker than that of the message body. For example, a message body can be signed-and-encrypted, but a Header Field that is copied unmodified to the unprotected Header Section is signed-only.

If the message has Header Protection, Header Fields that are not in refprotected (e.g., because they were added in transit), are unprotected.

Rendering the cryptographic status of each Header Field is likely to be complex and messy --- users may not understand it. It is beyond the scope of this document to suggest any specific graphical affordances or user experience. Future work should include examples of successful rendering of this information.

2.7.3. Rendering a Message with Injected Headers

When the Cryptographic Payload does not have a Content-Type of message/rfc822 or message/global, and the parameter hp is set to clear or cipher, the values of the protected Header Fields are drawn from the Header Fields of the Cryptographic Payload, and the body that is rendered is the Cryptographic Payload itself.

2.7.3.1. Example Signed-only Message with Injected Headers

Consider a message with this structure, where the MUA is able to validate the cryptographic signature:

A └─╴application/pkcs7-mime; smime-type="signed-data"
   ⇩ (unwraps to)
B  └┬╴multipart/alternative [Cryptographic Payload + Rendered Body]
C   ├─╴text/plain
D   └─╴text/html

The message body should be rendered the same way as this message:

B └┬╴multipart/alternative
C  ├─╴text/plain
D  └─╴text/html

The MUA should render Header Fields taken from part B.

Its Cryptographic Summary should indicate that the message was signed and all rendered Header Fields were included in the signature.

Because this message is signed-only, none of its parts will have a Legacy Display Element.

The MUA should ignore Header Fields from part A for the purposes of rendering.

2.7.3.2. Example Signed-and-Encrypted Message with Injected Headers

Consider a message with this structure, where the MUA is able to validate the cryptographic signature:

E └─╴application/pkcs7-mime; smime-type="enveloped-data"
   ↧ (decrypts to)
F  └─╴application/pkcs7-mime; smime-type="signed-data"
    ⇩ (unwraps to)
G   └┬╴multipart/alternative [Cryptographic Payload + Rendered Body]
H    ├─╴text/plain
I    └─╴text/html

The message body should be rendered the same way as this message:

G └┬╴multipart/alternative
H  ├─╴text/plain
I  └─╴text/html

It should render Header Fields taken from part G.

Its Cryptographic Summary should indicate that the message is signed-and-encrypted.

When rendering the Cryptographic Status of a Header Field and when composing a reply, each Header Field found in G should be considered against all HP-Outer Header Fields found in G. If an HP-Outer Header Field is found that matches both the name and value, the Header Field's Cryptographic Status is just signed-only, even though the message itself is signed-and-encrypted. If no matching HP-Outer Header Field is found, the Header Field's Cryptographic Status is signed-and-encrypted, like the rest of the message.

If any of the User-Facing Header Fields are removed or obscured, the composer of this message may have placed Legacy Display Elements in parts H and I.

The MUA should ignore Header Fields from part E for the purposes of rendering.

2.7.3.3. Do Not Render Legacy Display Elements

As described in Section 2.1, a message with cryptographic confidentiality protection MAY include Legacy Display Elements for backward-compatibility with Legacy MUAs. These Legacy Display Elements are strictly decorative, unambiguously identifiable, and will be discarded by compliant implementations.

The receiving MUA MUST avoid rendering the identified Legacy Display Elements to the user at all, since it is aware of Header Protection and can render the actual protected Header Fields.

If a text/html or text/plain part within the Cryptographic Envelope is identified as containing Legacy Display Elements, those elements MUST be hidden when rendering and MUST be dropped when generating a draft reply or inline forwarded message. Whenever a Message or MIME subtree is exported, downloaded, or otherwise further processed, if there is no need to retain a valid cryptographic signature, the implementer MAY drop the Legacy Display Elements.

2.7.3.3.1. Identifying a Part with Legacy Display Elements

A receiving MUA acting on a message that contains an encrypting Cryptographic Layer identifies a MIME subpart within the Cryptographic Payload as containing Legacy Display Elements based on the Content-Type of the subpart. The subpart's Content-Type:

Note that the term "subpart" above is used in the general sense: if the Cryptographic Payload is a single part, that part itself may contain a Legacy Display Element if it is marked with the hp-legacy-display=1 parameter.

2.7.3.3.2. Omitting Legacy Display Elements from text/plain

If a text/plain part within the Cryptographic Payload has the Content-Type parameter hp-legacy-display="1", it should be processed before rendering in the following fashion:

  • Discard the leading lines of the body of the part up to and including the first entirely blank line.

Note that implementing this strategy is dependent on the charset used by the MIME part.

See Appendix D.1 for an example.

2.7.3.3.3. Omitting Legacy Display Elements from text/html

If a text/html part within the Cryptographic Payload has the Content-Type parameter hp-legacy-display="1", it should be processed before rendering in the following fashion:

  • If any element of the HTML <body> is a <div> with class attribute header-protection-legacy-display, that entire element should be omitted.

This cleanup could be done, for example, as a custom rule in the MUA's HTML sanitizer, if one exists. Another implementation strategy for an HTML-capable MUA would be to add an entry to the [CSS] stylesheet for such a part:

body div.header-protection-legacy-display { display: none; }

2.7.4. Rendering a Wrapped Message

When the Cryptographic Payload has Content-Type of message/rfc822 or message/global, and the parameter hp is set to clear or cipher, and the parameter hp-scheme is set to wrapped, the values of the protected Header Fields are drawn from the Header Fields of the Cryptographic Payload, and the body that is rendered is the body of the Cryptographic Payload.

2.7.4.1. Example Signed-Only Wrapped Message

Consider a message with this structure, where the MUA is able to validate the cryptographic signature:

J └─╴application/pkcs7-mime; smime-type="signed-data"
   ⇩ (unwraps to)
K  └┬╴message/rfc822 [Cryptographic Payload]
L   └┬╴multipart/alternative [Rendered Body]
M    ├─╴text/plain
N    └─╴text/html

The message body should be rendered the same way as this message:

L └┬╴multipart/alternative
M  ├─╴text/plain
N  └─╴text/html

It should render Header Fields taken from part K.

Its Cryptographic Summary should indicate that the message was signed and all rendered Header Fields were included in the signature.

The MUA should ignore Header Fields from part J for the purposes of rendering.

2.7.4.2. Example Signed-and-Encrypted Wrapped Message

Consider a message with this structure, where the MUA is able to validate the cryptographic signature:

O └─╴application/pkcs7-mime; smime-type="enveloped-data"
   ↧ (decrypts to)
P  └─╴application/pkcs7-mime; smime-type="signed-data"
    ⇩ (unwraps to)
Q   └┬╴message/rfc822 [Cryptographic Payload]
R    └┬╴multipart/alternative [Rendered Body]
S     ├─╴text/plain
T     └─╴text/html

The message body should be rendered the same way as this message:

R └┬╴multipart/alternative
S  ├─╴text/plain
T  └─╴text/html

It should render Header Fields taken from part Q.

Its Cryptographic Summary should indicate that the message is signed-and-encrypted.

When rendering the Cryptographic Status of a Header Field and when composing a reply, each Header Field found in Q should be considered against all HP-Outer Header Fields found in Q. If an HP-Outer Header Field is found that matches both the name and value, the Header Field's Cryptographic Status is just signed-only, even though the message itself is signed-and-encrypted. If no matching HP-Outer Header Field is found, the Header Field's Cryptographic Status is signed-and-encrypted, like the rest of the message.

The MUA should ignore Header Fields from part O for the purposes of rendering.

2.7.5. Guidance for Automated Message Handling

Some automated systems have a control channel that is operated by e-mail. For example, an incoming e-mail message could subscribe someone to a mailing list, initiate the purchase of a specific product, approve another message for redistribution, or adjust the state of some shared object.

To the extent that such a system depends on end-to-end cryptographic guarantees about the e-mail control message, Header Protection as described in this document should improve the system's security. This section provides some specific guidance for systems that use e-mail messages as a control channel that want to benefit from these security improvements.

2.7.5.1. Interpret Only Protected Header Fields

Consider the situation where an e-mail-based control channel depends on the message's cryptographic signature and the action taken depends on some Header Field of the message.

In this case, the automated system MUST rely on information from the Header Field that is protected by the mechanism described in this document. It MUST NOT rely on any Header Field found outside the Cryptographic Payload.

For example, consider an administrative interface for a mailing list manager that only accepts control messages that are signed by one of its administrators. When an inbound message for the list arrives, it is queued (waiting for administrative approval) and the system generates and listens for two distinct e-mail addresses related to the queued message -- one that approves the message, and one that rejects it. If an administrator sends a signed control message to the approval address, the mailing list verifies that the protected To Header Field of the signed control message contains the approval address before approving the queued message for redistribution. If the protected To Header Field does not contain that address, or there is no protected To Header Field, then the mailing list logs or reports the error and does not act on that control message.

2.7.5.2. Ignore Legacy Display Elements

Consider the situation where an e-mail-based control channel expects to receive an end-to-end encrypted message -- for example, where the control messages need confidentiality guarantees -- and where the action taken depends on the contents of some MIME part within the message body.

In this case, the automated system that decrypts the incoming messages and scans the relevant MIME part MUST identify when the MIME part contains a Legacy Display Element (see Section 2.7.3.3.1), and it MUST parse the relevant MIME part with the Legacy Display Element removed.

For example, consider an administrative interface of a confidential issue tracking software. An authorized user can confidentially adjust the status of a tracked issue by a specially formatted first line of the message body (for example, severity #183 serious). When the user's MUA encrypts a plain text control message to this issue tracker, depending on the MUA's HCP and its choice of legacy value, it may add a Legacy Display Element. If it does so, then the first line of the message body will contain a decorative copy of the confidential Subject Header Field. The issue tracking software decrypts the incoming control message, identifies that there is a Legacy Display Element in the part (see Section 2.7.3.3.1), strips the lines comprising the Legacy Display Element (including the first blank line), and only then parses the remaining top line to look for the expected special formatting.

2.7.6. Affordances for Debugging and Troubleshooting

Note that advanced users of an MUA may need access to the original message, for example to troubleshoot problems with the rendering MUA itself, or problems with the SMTP transport path taken by the message.

An MUA that applies these rendering guidelines SHOULD ensure that the full original source of the message as it was received remains available to such a user for debugging and troubleshooting.

If a troubleshooting scenario demands information about the cryptographically protected values of Header Fields, and the message is encrypted, the debugging interface SHOULD also provide a "source" view of the Cryptographic Payload itself, alongside the full original source of the message as received.

2.7.7. Rendering Other Schemes

Other MUAs may have generated different structures of messages that aim to offer end-to-end cryptographic protections that include Header Protection. This document is not normative for those schemes, and it is NOT RECOMMENDED to generate these other schemes, as they can either have structural flaws or simply render poorly on Legacy MUAs. A conformant MUA MAY attempt to infer Header Protection when rendering an existing message that appears to use some other scheme not documented here. Pointers to some known other schemes can be found in Appendix E.

2.7.8. Replying to an Encrypted Message with Header Protection

When composing a reply to a message with Header Protection, the MUA is acting both as a receiving MUA and as a sending MUA. For encrypted messages, special guidance applies, because information can leak in at least two ways: leaking previously confidential Header Fields, and leaking the entire message by replying to the wrong party.

2.7.8.1. Avoid Leaking Encrypted Header Fields in Replies

As noted in Section 5.4 of [I-D.ietf-lamps-e2e-mail-guidance], an MUA in this position MUST NOT leak previously encrypted content in the clear in a follow-up message. The same is true for protected Header Fields.

Values from any Header Field that was identified as either encrypted-only or signed-and-encrypted based on the steps outlined above MUST NOT be placed in cleartext output when generating a message.

In particular, if Subject was encrypted, and it is copied into the draft encrypted reply, the replying MUA MUST obscure the unprotected (cleartext) Subject Header Field as described above.

When crafting the Header Fields for a reply message, the composing MUA SHOULD make use of the HP-Outer Header Fields from within the Cryptographic Envelope of the reference message to ensure that Header Fields derived from the reference message do not leak in the reply. See Section 2.5.5 for an explicit algorithm to handle this cleanly.

Consider a Header Field in a reply message that is generated by derivation from a Header Field in the reference message. For example, the To Header Field is typically derived from the reference message's Reply-To or From Header Fields. When generating the outer copy of the Header Field, the composing MUA first applies its own Header Confidentiality Policy. If the Header Field's value is changed by the HCP, then it is applied to the outside header. If the Header Field's value is unchanged, the composing MUA re-generates the Header Field using the Header Fields that had been on the outside of the original message at sending time. These can be inferred from the HP-Outer Header Fields located within the Cryptographic Payload of the referenced message. If that value is itself different than the protected value, then it is applied to the outside header. If the value is the same as the protected value, then it is simply copied to the outside header directly. Whether it was changed or not, it is noted in the protected Header Section using HP-Outer, as described in Section 2.5.3.

See Appendix C.2 for a simple worked example of this process.

2.7.8.2. Avoid Misdirected Replies

When replying to a message, the Composing MUA typically decides who to send the reply to based on:

  • the Reply-To, Mail-Followup-To, or From Header Fields

  • optionally, the other To or Cc Header Fields (if the user chose to "reply all")

When a message has Header Protection, the replying MUA MUST populate the destination fields of the draft message using the protected Header Fields, and ignore any unprotected Header Fields.

This mitigates against an attack where Mallory gets a copy of an encrypted message from Alice to Bob, and then replays the message to Bob with an additional Cc to Mallory's own e-mail address in the message's outer (unprotected) Header Section.

If Bob knows Mallory's certificate already, and he replies to such a message without following the guidance in this section, it's likely that his MUA will encrypt the cleartext of the message directly to Mallory.

2.7.9. Implicitly rendered Header Fields

While From, To, Cc, Subject, and Date are often explicitly rendered to the user, some Header Fields do affect message display, without being explicitly rendered.

For example, Message-Id, References, and In-Reply-To Header Fields may collectively be used to place a message in a "thread" or series of messages.

In another example, Section 2.7.8.2 observes that the value of the Reply-To field can influence the draft reply message. So while the user may never see the Reply-To Header Field directly, it is implicitly "rendered" when the user interacts with the message by replying to it.

An MUA that depends on any implicitly rendered Header Field in a message with Header Protection MUST use the value from the protected Header Field, and SHOULD NOT use any value found outside the cryptographic protection unless it is known to be a Header Field added in transit, as specified in Section 2.7.10.

2.7.10. Unprotected Header Fields Added in Transit

Some Header Fields are legitimately added in transit and could not have been known to the sender at message composition time.

The most common of these Header Fields are Received and DKIM-Signature, neither of which are typically rendered, either explicitly or implicitly.

If a receiving MUA has specific knowledge about a given Header Field, including that:

  • the Header Field would not have been known to the original sender, and

  • the Header Field might be rendered explicitly or implicitly,

then the MUA MAY decide to operate on the value of that Header Field from the unprotected Header Section, even though the message has Header Protection.

The MUA MAY prefer to verify that the Header Fields in question have additional transit-derived cryptographic protections before rendering or acting on them. For example, the MUA could verify whether these Header Fields are covered by an appropriate and valid ARC-Authentication-Results (see [RFC8617]) or DKIM-Signature (see [RFC6376]) Header Field.

Specific examples of user-meaningful Header Fields commonly added by transport agents appear below.

2.7.10.1. Mailing list Header Fields: List-* and Archived-At

If the message arrives through a mailing list, the list manager itself may inject Header Fields (most have a List- prefix) in the message:

  • List-Archive

  • List-Subscribe

  • List-Unsubscribe

  • List-Id

  • List-Help

  • List-Post

  • Archived-At

For some MUAs, these Header Fields are implicitly rendered, by providing buttons for actions like "Subscribe", "View Archived Version", "Reply List", "List Info", etc.

An MUA that receives a message with Header Protection that contains these Header Fields in the unprotected section, and that has reason to believe the message is coming through a mailing list MAY decide to render them to the user (explicitly or implicitly) even though they are not protected.

2.7.11. Handling Undecryptable Messages

An MUA might receive an apparently encrypted message that it cannot currently decrypt. For example, when an MUA does not have regular access to the secret key material needed for decryption, it cannot know the cryptographically protected Header Fields or even whether the message has any cryptographically protected Header Fields.

Such an undecrypted message will be rendered by the MUA as a message without any Header Protection. This means that the message summary may well change how it is rendered when the user is finally able to supply the secret key.

For example, the rendering of the Subject Header Field in a mailbox summary might change from [...] to the real message subject when the message is decrypted. Or the message's placement in a message thread might change if, say, References or In-Reply-To have been removed or obscured (see Section 2.7.9).

Additionally, if the MUA does not retain access to the decrypting secret key, and it drops the decrypted form of a message, the message's rendering may revert to the encrypted form. For example, if an MUA follows this behavior, the Subject Header Field in a mailbox summary might change from the real message subject back to [...]. Or the message might be yanked out of its current thread if the MUA loses access to a removed References or In-Reply-To header.

These behaviors are likely to surprise the user. However, an MUA has several possible ways of reducing or avoiding all of these surprises, including:

  • Ensuring that the MUA always has access to decryption-capable secret key material.

  • Rendering undecrypted messages in a special quarantine view until the decryption-capable secret key material is available.

To reduce or avoid the surprises associated with a decrypted message with removed or obscured Header Fields becoming undecryptable, the MUA could also:

  • Securely cache metadata from a decrypted message's protected Header Fields so that its rendering doesn't change after the first decryption.

  • Securely store the session key associated with a decrypted message, so that attempts to read the message when the long-term secret key are unavailable can proceed using only the session key itself. See, for example, the discussion about stashing session keys in Section 9.1 of [I-D.ietf-lamps-e2e-mail-guidance].

3. E-mail Ecosystem Evolution

This document is intended to offer tooling needed to improve the state of the e-mail ecosystem in a way that can be deployed without significant disruption. Some elements of this specification are present for transitional purposes, but would not exist if the system were designed from scratch.

This section describes these transitional mechanisms, as well as some suggestions for how they might eventually be phased out.

3.1. Dropping Legacy Display Elements

Any decorative Legacy Display Element added to an encrypted message that uses the Injected Header scheme is present strictly for enabling Header Field visibility (most importantly, the Subject Header Field) when the message is viewed with a decryption-capable Legacy MUA.

Eventually, the hope is that most decryption-capable MUAs will conform to this specification, and there will be no need for injection of Legacy Display Elements in the message body. A survey of widely used decryption-capable MUAs might be able to establish when most of them do support this specification.

At that point, a composing MUA could set the legacy parameter described in Section 2.5.6 to false by default or could even hard-code it to false, yielding a much simpler message construction set.

Until that point, an end user might want to signal that their receiving MUAs are conformant to this document so that a peer composing a message to them can set legacy to false. A signal indicating capability of handling messages with Header Protection might be placed in the user's cryptographic certificate, or in outbound messages.

This document does not attempt to define the syntax or semantics of such a signal.

3.2. More Ambitious Default Header Confidentiality Policy

This document defines a few different forms of Header Confidentiality Policy. An MUA implementing an HCP for the first time SHOULD deploy hcp_minimal as recommended in Section 2.6. This HCP offers the most commonly expected protection (obscuring the Subject Header Field) without risking deliverability or rendering issues.

The HCPs proposed in this document are relatively conservative and still leak a significant amount of metadata for encrypted messages. This is largely done to ensure deliverability (see Section 1.4.2) and usability, as messages without some critical Header Fields are more likely to not reach their intended recipient.

In the future, some mail transport systems may accept and deliver messages with even less publicly visible metadata. Many MTA operators today would ask for additional guarantees about such a message to limit the risks associated with abusive or spammy mail.

This specification offers the HCP formalism itself as a way for MUA developers and MTA operators to describe their expectations around message deliverability. MUA developers can propose a more ambitious default HCP, and ask MTA operators (or simply test) whether their MTAs would be likely to deliver or reject encrypted mail with that HCP applied. Proponents of a more ambitious HCP should explicitly document the HCP and name it clearly and unambiguously to facilitate this kind of interoperability discussion.

Reaching widespread consensus around a more ambitious global default HCP is a challenging problem of coordinating many different actors. A piecemeal approach might be more feasible, where some signalling mechanism allows a message recipient, MTA operator, or third-party clearinghouse to announce what kinds of HCPs are likely to be deliverable for a given recipient. In such a situation, the default HCP for an MUA might involve consulting the signalled acceptable HCPs for all recipients, and combining them (along with a default for when no signal is present) in some way.

If such a signal were to reach widespread use, it could also be used to guide reasonable statistical default HCP choices for recipients with no signal.

This document does not attempt to define the syntax or semantics of such a signal.

3.3. Deprecation of Messages Without Header Protection

At some point, when the majority of MUA clients that can generate cryptographically protected messages with Header Protection, it should be possible to deprecate any cryptographically protected message that does not have Header Protection.

For example, as noted in Section 4.1, it's possible for an MUA to render a signed-only message that has no Header Protection the same as an unprotected message. And a signed-and-encrypted message without Header Protection could likewise be marked as not fully protected.

These stricter rules could be adopted immediately for all messages. Or an MUA developer could roll them out immediately for any new message, but still treat an old message (based on the Date Header Field and cryptographic signature timestamp) more leniently.

A decision like this by any popular receiving MUA could drive adoption of this standard for sending MUAs.

4. Usability Considerations

This section describes concerns for MUAs that are interested in easy adoption of Header Protection by normal users.

While they are not protocol-level artifacts, these concerns motivate the protocol features described in this document.

See also the Usability commentary in Section 2 of [I-D.ietf-lamps-e2e-mail-guidance].

4.1. Mixed Protections Within a Message Are Hard To Understand

When rendering a message to the user, the ideal circumstance is to present a single cryptographic status for any given message. However, when message Header Fields are present, some message Header Fields do not have the same cryptographic protections as the main message.

Representing such a mixed set of protection statuses is very difficult to do in a way that a Ordinary User can understand. There are at least three scenarios that are likely to be common, and poorly understood:

  • A signed message with no Header Protection.

  • A signed-and-encrypted message with no Header Protection.

  • A signed-and-encrypted message with Header Protection as described in this document, where some User-Facing Header Fields have confidentiality but some do not.

An MUA should have a reasonable strategy for clearly communicating each of these scenarios to the user. For example, an MUA operating in an environment where it expects most cryptographically protected messages to have Header Protection could use the following rendering strategy:

  • When rendering a message with signed-only cryptographic status but no Header Protection, an MUA may decline to indicate a positive security status overall, and only indicate the cryptographic status to a user in a message properties or diagnostic view. That is, the message may appear identical to an unsigned message except if a user verifies the properties through a menu option.

  • When rendering a message with signed-and-encrypted or encrypted-only cryptographic status but no Header Protection, overlay a warning flag on the typical cryptographic status indicator. That is, if a typical signed-and-encrypted message displays a lock icon, display a lock icon with a warning sign (e.g., an exclamation point in a triangle) overlaid. See, for example, the graphics in [chrome-indicators].

  • When rendering a message with signed-and-encrypted or encrypted-only cryptographic status, with Header Protection, but where the Subject Header Field has not been removed or obscured, place a warning sign on the Subject line.

Other simple rendering strategies could also be reasonable.

4.2. Users Should Not Have To Choose a Header Confidentiality Policy

This document defines the abstraction of a Header Confidentiality Policy object for the sake of communication between implementers and deployments.

Most e-mail users are unlikely to understand the tradeoffs between different policies. In particular, the potential negative side effects (e.g., poor deliverability) may not be easily attributable by a normal user to a particular HCP.

Therefore, MUA implementers should be conservative in their choice of default HCP, and should not require the Ordinary User to make an incomprehensible choice that could cause unfixable, undiagnosable problems. The safest option is for the MUA developer to select a known, stable HCP (this document recommends hcp_minimal in Section 2.6) on the user's behalf. An MUA should not expose the Ordinary User to a configuration option where they are expected to manually select (let alone define) an HCP.

4.3. Users Should Not Have To Choose a Header Protection Scheme

This document describes two Header Protection schemes: Injected Headers (Section 2.1) and Wrapped Messages (Section 2.2).

These distinct schemes are described for the sake of implementers who may have to deal with messages found in the wild, but their intended semantics are identical. They represent different tradeoffs in terms of rendering and user experience on the recipient's side, which an Ordinary User writing a message is not prepared to select.

When composing a message with cryptographic protections, the Ordinary User should not be confronted with any choices about which Header Protection scheme to use. Rather, the MUA developer should use a single scheme for all outbound cryptographically protected messages. This document recommends the Injected Headers scheme (see Section 2).

5. Security Considerations

This document describes a mechanism for improving the security of cryptographically protected e-mail messages. Following the guidance in this document should improve security for users of these technologies by more directly aligning the underlying messages with user expectations about confidentiality, authenticity, and integrity.

However, many existing messages with cryptographic protections do not employ these mechanisms for header protection, and MUAs encountering these messages will need to handle older forms (without Header Protection) for quite some time. An implementation that deals with legacy message archives will need to deal with all the various formats forever. Helping the user distinguish between cryptographic protections of various messages is a difficult job for message renderers.

However, on the message generation side, the situation is much clearer: there is a standard form that a protected message can take, and an implementer can always generate the standard form. Generating the standard form also makes it more likely that any receiving implementation will be able to handle the generated message appropriately.

The security considerations from Section 6 of [RFC8551] continue to apply for any MUA that offers S/MIME cryptographic protections, as well as Section 3 of [RFC5083] (Authenticated-Enveloped-Data in CMS) and Section 14 of [RFC5652] (CMS more broadly). Likewise, the security considerations from Section 8 of [RFC3156] continue to apply for any MUA that offers PGP/MIME cryptographic protections, as well as Section 13 of [I-D.ietf-openpgp-crypto-refresh-13] (OpenPGP itself). In addition, these underlying security considerations are now also applicable to the contents of the message header, not just the message body.

5.1. Avoid Cryptographic Summary Confusion from hp Parameter

When parsing a message, the recipient MUA infers the message's Cryptographic Status from the Cryptographic Layers, as described in Section 4.6 of [I-D.ietf-lamps-e2e-mail-guidance].

The Cryptographic Layers that make up the Cryptographic Envelope describe an ordered list of cryptographic properties as present in the message after it has been delivered. By contrast, the hp parameter to the Content-Type Header Field contains a simpler indication: whether the sender originally tried to encrypt the message or not. In particular, for a message with Header Protection, the Cryptographic Payload should have a hp parameter of cipher if the message is encrypted (in addition to signed), and clear if no encryption is present (that is, the message is signed-only).

As noted in Section 2.3, the receiving implementation should not inflate its estimation of the confidentiality of the message or its Header Fields based on the sender's intent, if it can see that the message was not actually encrypted. A signed-only message that happens to have an hp parameter of cipher is still signed-only.

Conversely, since the encrypting Cryptographic Layer is typically outside the signature layer (see Section 5.2 of [I-D.ietf-lamps-e2e-mail-guidance]), an originally signed-only message could have been wrapped in an encryption layer by an intervening party before receipt, to appear encrypted.

If a message appears to be wrapped in an encryption layer, and the hp parameter is present but is not set to cipher, then it is likely that the encryption layer was not added by the original sender. For such a message, the lack of any HP-Outer Header Field in the Header Section of the Cryptographic Payload MUST NOT be used to infer that all Header Fields were removed from the message by the original sender. In such a case, the receiving MUA SHOULD treat every Header Field as though it was not confidential.

5.2. Caution about Composing with Legacy Display Elements

When composing a message, it's possible for a Legacy Display Element to contain risky data that could trigger errors in a rendering client.

For example, if the value for a Header Field to be included in a Legacy Display Element within a given body part contains folding whitespace, it should be "unfolded" before generating the Legacy Display Element: all contiguous folding whitespace should be replaced with a single space character. Likewise, if the header value was originally encoded with [RFC2047], it should be decoded first to a standard string and re-encoded using the charset appropriate to the target part.

When including a Legacy Display Element in a text/plain part (see Section 2.5.6.1), if the decoded Subject Header Field contains a pair of newlines (e.g., if it is broken across multiple lines by encoded newlines), any newline MUST be stripped from the Legacy Display Element. If the pair of newlines is not stripped, a receiving MUA that follows the guidance in Section 2.7.3.3.2 might leave the later part of the Legacy Display Element in the rendered message.

When including a Legacy Display Element in a text/html part (see Section 2.5.6.2), any material in the header values should be explicitly HTML escaped to avoid being rendered as part of the HTML. At a minimum, the characters <, >, and & should be escaped to &lt;, &gt;, and &amp;, respectively (see for example [HTML-ESCAPES]). If unescaped characters from removed or obscured header values end up in the Legacy Display Element, a receiving MUA that follows the guidance in Section 2.7.3.3.3 might fail to identify the boundaries of the Legacy Display Element, cutting out more than it should, or leaving remnants visible. And a Legacy MUA parsing such a message might misrender the entire HTML stream, depending on the content of the removed or obscured header values.

The Legacy Display Element is a decorative addition solely to enable visibility of obscured or removed Header Fields in decryption-capable Legacy MUAs. When it is produced, it should be generated minimally and strictly, as described above, to avoid damaging the rest of the message.

5.3. Plaintext Attacks

An encrypted e-mail message using S/MIME or PGP/MIME tends to have some amount of predictable plaintext. For example, the standard MIME headers of the Cryptographic Payload of a message are often a predictable sequence of bytes, even without Header Protection, when they only include the Structural Header Fields MIME-Version and Content-Type. This is a potential risk for known-plaintext attacks.

Including protected Header Fields as described in this document increases the amount of known plaintext. Since some of those headers in a reply will be derived from the message being replied to, this also creates a potential risk for chosen-plaintext attacks, in addition to known-plaintext attacks.

Modern message encryption mechanisms are expected to be secure against both known-plaintext attacks and chosen-plaintext attacks. An MUA composing an encrypted message should ensure that it is using such a mechanism, regardless of whether it does Header Protection.

6. Privacy Considerations

6.1. Leaks When Replying

The encrypted Header Fields of a message may accidentally leak when replying to the message. See the guidance in Section 2.7.8.

6.2. Encrypted Header Fields Are Not Always Private

For encrypted messages, depending on the sender's HCP, some Header Fields may appear both within the Cryptographic Envelope and on the outside of the message (e.g., Date might exist identically in both places). Section 2.7.2 identifies such a Header Field as signed-only. These Header Fields are clearly not private at all, despite a copy being inside the Cryptographic Envelope.

A Header Field whose name and value are not matched verbatim by any HP-Outer Header Field from the same part will have encrypted-only or signed-and-encrypted status. But even Header Fields with these stronger levels of cryptographic confidentiality protection might not be as private as the user would like.

See the examples below.

This concern is true for any encrypted data, including the body of the message, not just the Header Fields: if the sender isn't careful, the message contents or session keys can leak in many ways that are beyond the scope of this document. The message recipient has no way in principle to tell whether the apparent confidentiality of any given piece of encrypted content has been broken via channels that they cannot perceive. Additionally, an active intermediary aware of the recipient's public key can always encrypt a cleartext message in transit to give the recipient a false sense of security.

6.2.1. Encrypted Header Fields Can Leak Unwanted Information to the Recipient

For encrypted messages, even with an ambitious HCP that successfully obscures most Header Fields from all transport agents, Header Fields will be ultimately visible to all intended recipients. This can be especially problematic for Header Fields that are not user-facing, which the sender may not expect to be injected by their MUA. Consider the three following examples:

  • The MUA may inject a User-Agent Header Field that describes itself to every recipient, even though the sender may not want the recipient to know the exact version of their OS, hardware platform, or MUA.

  • The MUA may have an idiosyncratic way of generating a Message-ID header, which could embed the choice of MUA, a time zone, a hostname, or other subtle information to a knowledgeable recipient.

  • The MUA may erroneously include a Bcc Header Field in the origheaders of a copy of a message sent to the named recipient, defeating the purpose of using Bcc instead of Cc (see Section 6.4 for more details about risks related to Bcc).

Clearly, no end-to-end cryptographic protection of any Header Field as described in this document will hide such a sensitive field from the intended recipient. Instead, the composing MUA MUST populate the origheaders list for any outbound message with only information the recipient should have access to. This is true for messages without any cryptographic protection as well, of course, and it is even worse there: such a leak is exposed to the transport agents as well as the recipient. An encrypted message with Header Protection and a more ambitious Header Confidentiality Policy avoid these leaks exposing information to the transport agents but cannot defend against such a leak to the recipient.

6.2.2. Encrypted Header Fields Can Be Inferred From External or Internal Metadata

For example, if the To and Cc Header Fields are removed from the unprotected Header Section, the values in those fields might still be inferred with high probability by an adversary who looks at the message either in transit or at rest. If the message is found in, or being delivered to a mailbox for bob@example.org, it's likely that Bob was in either To or Cc. Furthermore, encrypted message ciphertext may hint at the recipients: for S/MIME messages, the RecipientInfo, and for PGP/MIME messages the key ID in the Public Key Encrypted Session Key (PKESK) packets will all hint at a specific set of recipients. Additionally, an MTA that handles the message may add a Received Header Field (or some other custom Header Field) that leaks some information about the nature of the delivery.

6.2.3. Encrypted Header Fields May Not Be Fully Masked by HCP

In another example, if the HCP modifies the Date header to mask out high-resolution time stamps (e.g., rounding to the most recent hour) and to convert the local time zone to UTC, some information about the date of delivery will still be attached to the e-mail. At the very least, the low resolution, global version of the date will be present on the message. Additionally, Header Fields like Received that are added during message delivery might include higher-resolution timestamps. And if the message lands in a mailbox that is ordered by time of receipt, even its placement in the mailbox and the non-obscured Date Header Fields of the surrounding messages could leak this information.

Some Header Fields like From may be impossible to fully obscure, as many modern message delivery systems depend on at least domain information in the From Header Field for determining whether a message is coming from a domain with "good reputation" (that is, from a domain that is not known for leaking spam). So even if an ambitious HCP opts to remove the human-readable part from any From Header Field, and to standardize/genericize the local part of the From address, the domain will still leak.

6.3. A Naive Recipient May Overestimate the Cryptographic Status of a Header Field in an Encrypted Message

When an encrypted (or signed-and-encrypted) message is in transit, an active intermediary can strip or tamper with any Header Field that appears outside the Cryptographic Envelope. A receiving MUA that naively infers cryptographic status from differences between the external Header Fields and those found in the Cryptographic Envelope could be tricked into overestimating the protections afforded to some Header Fields.

For example, if the original sender's HCP passes through the Cc Header Field unchanged, a cleanly delivered message would indicate that the Cc Header Field has a cryptographic status of signed. But if an intermediary attacker simply removes the Header Field from the unprotected Header Section before forwarding the message, then the naive recipient might believe that the field has a cryptographic status of signed-and-encrypted.

This document offers protection against such an attack by way of the HP-Outer Header Fields that can be found on the Cryptographic Payload. If a Header Field appears to have been obscured by inspection of the outer message, but an HP-Outer Header Field matches it exactly, the receiving MUA can indicate to the user that the Header Field in question may not have been confidential.

In such a case, a cautious MUA may render the Header Field in question as signed (because the sender did not hide it), but still treat it as signed-and-encrypted during reply, to avoid accidental leakage of the cleartext value in the reply message, as described in Section 2.7.8.1.

6.4. Privacy and Deliverability Risks with Bcc and Encrypted Messages

As noted in Section 9.3 of [I-D.ietf-lamps-e2e-mail-guidance], handling Bcc when generating an encrypted e-mail message can be particularly tricky. With Header Protection, there is an additional wrinkle. When an encrypted e-mail message with Header Protection has a Bcc'ed recipient, and the composing MUA explicitly includes the Bcc'ed recipient's address in their copy of the message (see the "second method" in Section 3.6.3 of [RFC5322]), that Bcc Header Field will always be visible to the Bcc'ed recipient.

In this scenario, though, the composing MUA has one additional choice: whether to hide the Bcc Header Field from intervening message transport agents, by returning null when the HCP is invoked for Bcc. If the composing MUA's rationale for including an explicit Bcc in the copy of the message sent to the Bcc recipient is to ensure deliverability via a message transport agent that inspects message Header Fields, then stripping the Bcc field during encryption may cause the intervening transport agent to drop the message entirely. This is why Bcc is not explicitly stripped in hcp_minimal.

If, on the other hand, deliverability to a Bcc'ed recipient is not a concern, the most privacy-preserving option is to simply omit the Bcc Header Field from the protected Header Section in the first place. An MUA that is capable of receiving and processing such a message can infer that since their user's address was not mentioned in any To or Cc Header Field, they were likely a Bcc recipient.

Please also see Section 9.3 of [I-D.ietf-lamps-e2e-mail-guidance] for more discussion about Bcc and encrypted messages.

7. IANA Considerations

This document requests IANA to register the following Header Field in the "Permanent Message Header Field Names" registry within "Message Headers" in accordance with [RFC3864].

Table 3: Additions to 'Permanent Message Header Field Names' registry
Header Field Name Template Protocol Status Reference
HP-Outer   mail standard Section 2.5.3 of RFCXXXX

The Author/Change Controller of these two entries (Section 4.5 of [RFC3864]) should be the IETF itself.

This document also defines the Content-Type parameters known as hp (in Section 2.3) and hp-scheme (in Section 2.4). Consequently, the Content-Type row in the "Permanent Message Header Field Names" registry should add a reference to this RFC to its "References" column.

That is, the current row:

Table 4: Existing row in 'Permanent Message Header Field Names' registry
Header Field Name Template Protocol Status Reference
Content-Type   MIME   [RFC4021]

Should be updated to have the following values:

Table 5: Replacement row in 'Permanent Message Header Field Names' registry
Header Field Name Template Protocol Status Reference
Content-Type   MIME   [RFC4021] [RFCXXXX]

This document also requests IANA to create a new registry in the "Mail Parameters" protocol group titled Mail Header Confidentiality Policies with the following content:

Table 6: Mail Header Confidentiality Policies registry
Header Confidentiality Policy Name Description Reference Recommended
hcp_no_confidentiality No header confidentiality Section 2.6.3 of RFCXXX (this document) N
hcp_minimal Subject Header Field is obscured Section 2.6.1 of RFCXXX (this document) Y
hcp_strong Remove or obscure everything but From, Date, To, and Cc Section 2.6.2 of RFCXXX (this document) N

hcp_example_hide_cc is mooted as an example in Section 2.5.2 but is not formally registered by this document.

Please add the following textual note to this registry:

Adding an entry to this registry with an N in the "Recommended" column follows the registration policy of SPECIFICATION REQUIRED. Adding an entry to this registry with a Y in the "Recommended" column or changing the "Recommended" column in an existing entry (from N to Y or vice versa) requires IETF REVIEW. During IETF REVIEW, the designated expert must also be consulted. Guidance for the designated expert can be found in Section 2.6.4.1.

8. Acknowledgments

Thore Göbel identified significant gaps in earlier versions of this document, and proposed concrete and substantial improvements. Thanks to his contributions, the document is clearer, and the protocols described herein are more useful.

Additionally, the authors would like to thank the following people who have provided helpful comments and suggestions for this document: Berna Alp, Bernhard E. Reiter, Carl Wallace, Claudio Luck, David Wilson, Hernani Marques, juga, Krista Bennett, Kelly Bristol, Lars Rohwedder, Michael StJohns, Nicolas Lidzborski, Peter Yee, Phillip Tao, Robert Williams, Rohan Mahy, Roman Danyliw, Russ Housley, Sofia Balicka, Steve Kille, Volker Birk, and Wei Chuang.

9. References

9.1. Normative References

[I-D.ietf-lamps-e2e-mail-guidance]
Gillmor, D. K., Hoeneisen, B., and A. Melnikov, "Guidance on End-to-End E-mail Security", Work in Progress, Internet-Draft, draft-ietf-lamps-e2e-mail-guidance-16, , <https://datatracker.ietf.org/doc/html/draft-ietf-lamps-e2e-mail-guidance-16>.
[I-D.ietf-openpgp-crypto-refresh-13]
Wouters, P., Huigens, D., Winter, J., and N. Yutaka, "OpenPGP", Work in Progress, Internet-Draft, draft-ietf-openpgp-crypto-refresh-13, , <https://datatracker.ietf.org/doc/html/draft-ietf-openpgp-crypto-refresh-13>.
[RFC2045]
Freed, N. and N. Borenstein, "Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies", RFC 2045, DOI 10.17487/RFC2045, , <https://www.rfc-editor.org/rfc/rfc2045>.
[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/rfc/rfc2119>.
[RFC3864]
Klyne, G., Nottingham, M., and J. Mogul, "Registration Procedures for Message Header Fields", BCP 90, RFC 3864, DOI 10.17487/RFC3864, , <https://www.rfc-editor.org/rfc/rfc3864>.
[RFC5083]
Housley, R., "Cryptographic Message Syntax (CMS) Authenticated-Enveloped-Data Content Type", RFC 5083, DOI 10.17487/RFC5083, , <https://www.rfc-editor.org/rfc/rfc5083>.
[RFC5234]
Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax Specifications: ABNF", STD 68, RFC 5234, DOI 10.17487/RFC5234, , <https://www.rfc-editor.org/rfc/rfc5234>.
[RFC5322]
Resnick, P., Ed., "Internet Message Format", RFC 5322, DOI 10.17487/RFC5322, , <https://www.rfc-editor.org/rfc/rfc5322>.
[RFC5652]
Housley, R., "Cryptographic Message Syntax (CMS)", STD 70, RFC 5652, DOI 10.17487/RFC5652, , <https://www.rfc-editor.org/rfc/rfc5652>.
[RFC8126]
Cotton, M., Leiba, B., and T. Narten, "Guidelines for Writing an IANA Considerations Section in RFCs", BCP 26, RFC 8126, DOI 10.17487/RFC8126, , <https://www.rfc-editor.org/rfc/rfc8126>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/rfc/rfc8174>.
[RFC8551]
Schaad, J., Ramsdell, B., and S. Turner, "Secure/Multipurpose Internet Mail Extensions (S/MIME) Version 4.0 Message Specification", RFC 8551, DOI 10.17487/RFC8551, , <https://www.rfc-editor.org/rfc/rfc8551>.

9.2. Informative References

[chrome-indicators]
Schechter, E., "Evolving Chrome's security indicators", , <https://blog.chromium.org/2018/05/evolving-chromes-security-indicators.html>.
[CSS]
World Wide Web Consortium, "Cascading Style Sheets Level 2 Revision 2 (CSS 2.2) Specification", , <https://www.w3.org/TR/2016/WD-CSS22-20160412/>.
[HTML-ESCAPES]
W3C, "Using character escapes in markup and CSS", n.d., <https://www.w3.org/International/questions/qa-escapes#use>.
[I-D.autocrypt-lamps-protected-headers]
Einarsson, B. R., "juga", and D. K. Gillmor, "Protected Headers for Cryptographic E-mail", Work in Progress, Internet-Draft, draft-autocrypt-lamps-protected-headers-02, , <https://datatracker.ietf.org/doc/html/draft-autocrypt-lamps-protected-headers-02>.
[I-D.ietf-lamps-samples]
Gillmor, D. K., "S/MIME Example Keys and Certificates", Work in Progress, Internet-Draft, draft-ietf-lamps-samples-08, , <https://datatracker.ietf.org/doc/html/draft-ietf-lamps-samples-08>.
[I-D.pep-email]
Marques, H. and B. Hoeneisen, "pretty Easy privacy (pEp): Email Formats and Protocols", Work in Progress, Internet-Draft, draft-pep-email-02, , <https://datatracker.ietf.org/doc/html/draft-pep-email-02>.
[I-D.pep-general]
Birk, V., Marques, H., and B. Hoeneisen, "pretty Easy privacy (pEp): Privacy by Default", Work in Progress, Internet-Draft, draft-pep-general-02, , <https://datatracker.ietf.org/doc/html/draft-pep-general-02>.
[PGPCONTROL]
UUNET Technologies, Inc., "Authentication of Usenet Group Changes", , <https://ftp.isc.org/pub/pgpcontrol/>.
[PGPVERIFY-FORMAT]
Lawrence, D. C., "Signing Control Messages, Verifying Control Messages", n.d., <https://www.eyrie.org/~eagle/usefor/other/pgpverify>.
[RFC2047]
Moore, K., "MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text", RFC 2047, DOI 10.17487/RFC2047, , <https://www.rfc-editor.org/rfc/rfc2047>.
[RFC2049]
Freed, N. and N. Borenstein, "Multipurpose Internet Mail Extensions (MIME) Part Five: Conformance Criteria and Examples", RFC 2049, DOI 10.17487/RFC2049, , <https://www.rfc-editor.org/rfc/rfc2049>.
[RFC3156]
Elkins, M., Del Torto, D., Levien, R., and T. Roessler, "MIME Security with OpenPGP", RFC 3156, DOI 10.17487/RFC3156, , <https://www.rfc-editor.org/rfc/rfc3156>.
[RFC3851]
Ramsdell, B., Ed., "Secure/Multipurpose Internet Mail Extensions (S/MIME) Version 3.1 Message Specification", RFC 3851, DOI 10.17487/RFC3851, , <https://www.rfc-editor.org/rfc/rfc3851>.
[RFC4021]
Klyne, G. and J. Palme, "Registration of Mail and MIME Header Fields", RFC 4021, DOI 10.17487/RFC4021, , <https://www.rfc-editor.org/rfc/rfc4021>.
[RFC5751]
Ramsdell, B. and S. Turner, "Secure/Multipurpose Internet Mail Extensions (S/MIME) Version 3.2 Message Specification", RFC 5751, DOI 10.17487/RFC5751, , <https://www.rfc-editor.org/rfc/rfc5751>.
[RFC6376]
Crocker, D., Ed., Hansen, T., Ed., and M. Kucherawy, Ed., "DomainKeys Identified Mail (DKIM) Signatures", STD 76, RFC 6376, DOI 10.17487/RFC6376, , <https://www.rfc-editor.org/rfc/rfc6376>.
[RFC6532]
Yang, A., Steele, S., and N. Freed, "Internationalized Email Headers", RFC 6532, DOI 10.17487/RFC6532, , <https://www.rfc-editor.org/rfc/rfc6532>.
[RFC7489]
Kucherawy, M., Ed. and E. Zwicky, Ed., "Domain-based Message Authentication, Reporting, and Conformance (DMARC)", RFC 7489, DOI 10.17487/RFC7489, , <https://www.rfc-editor.org/rfc/rfc7489>.
[RFC8617]
Andersen, K., Long, B., Ed., Blank, S., Ed., and M. Kucherawy, Ed., "The Authenticated Received Chain (ARC) Protocol", RFC 8617, DOI 10.17487/RFC8617, , <https://www.rfc-editor.org/rfc/rfc8617>.

Appendix A. Possible Problems with Legacy MUAs

When an e-mail message with end-to-end cryptographic protection is received by a mail user agent, the user might experience many different possible problematic interactions. A message with Header Protection may introduce new forms of user experience failure.

In this section, the authors enumerate different kinds of failures we have observed when reviewing, rendering, and replying to messages with different forms of Header Protection in different Legacy MUAs. Different Legacy MUAs demonstrate different subsets of these problems.

A conformant MUA would not exhibit any of these problems. An implementer updating their Legacy MUA to be compliant with this specification should consider these concerns and try to avoid them.

Recall that "protected" refers to the "inner" values, e.g., the real Subject, and "unprotected" refers to the "outer" values, e.g., the dummy Subject.

A.1. Problems Viewing Messages in a List View

  • Unprotected Subject, Date, From, To are visible (instead of being replaced by protected values)

  • Threading is not visible

A.2. Problems when Rendering a Message

  • Unprotected Subject is visible

  • Protected Subject (on its own) is visible in the body

  • Protected Subject, Date, From, and To visible in the body

  • User interaction needed to view whole message

  • User interaction needed to view message body

  • User interaction needed to view protected subject

  • Impossible to view protected Subject

  • Nuisance alarms during user interaction

  • Impossible to view message body

  • Appears as a forwarded message

  • Appears as an attachment

  • Security indicators not visible

  • Security indicators do not identify protection status of Header Fields

  • User has multiple different methods to reply (e.g., reply to outer, reply to inner)

  • User sees English "Subject:" in body despite message itself being in non-English

  • Security indicators do not identify protection status of Header Fields

  • Header Fields in body render with local Header Field names (e.g., showing "Betreff" instead of "Subject") and dates (TZ, locale)

A.3. Problems when Replying to a Message

Note that the use case here is:

  • User views message, to the point where they can read it

  • User then replies to message, and they are shown a message composition window, which has some UI elements

  • If the MUA has multiple different methods to reply to a message, each way may need to be evaluated separately

This section also uses the shorthand UI:x to mean "the UI element that the user can edit that they think of as x."

  • Unprotected Subject is in UI:subject (instead of the protected Subject)

  • Protected Subject is quoted in UI:body (from Legacy Display Element)

  • Protected Subject leaks when the reply is serialised into MIME

  • Protected Subject is not anywhere in UI

  • Message body is not visible/quoted in UI:body

  • User cannot reply while viewing protected message

  • Reply is not encrypted by default (but is for legacy signed-and-encrypted messages without Header Protection)

  • Unprotected From or Reply-To is in UI:To (instead of the protected From or Reply-To)

  • User's locale (lang, TZ) leaks in quoted body

  • Header Fields not protected (and in particular, Subject is not obscured) by default

Appendix B. Test Vectors

This section contains sample messages using the different schemes described in this document. Each sample contains a MIME object, a textual and diagrammatic view of its structure, and examples of how an MUA might render it.

The cryptographic protections used in this document use the S/MIME standard, and keying material and certificates come from [I-D.ietf-lamps-samples].

These messages should be accessible to any IMAP client at imap://bob@header-protection.cmrg.net/ (any password should authenticate to this read-only IMAP mailbox).

You can also download copies of these test vectors separately at https://header-protection.cmrg.net.

If any of the messages downloaded differ from those offered here, this document is the canonical source.

B.1. Baseline Messages

These messages offer no header protection at all, and can be used as a baseline. They are provided in this document as a counterexample. An MUA implementer can use these messages to verify that the reported cryptographic summary of the message indicates no header protection.

B.1.1. No Cryptographic Protections Over a Simple Message

This message uses no cryptographic protection at all. Its body is a text/plain message.

It has the following structure:

└─╴text/plain 152 bytes

Its contents are:

MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Subject: no-crypto
Message-ID: <no-crypto@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 10:00:02 -0500
User-Agent: Sample MUA Version 1.0

This is the no-crypto message.

This message uses no cryptographic protection at all.  Its body
is a text/plain message.

--
Alice
alice@smime.example

B.1.2. S/MIME Signed-only signedData Over a Simple Message, No Header Protection

This is a signed-only S/MIME message via PKCS#7 signedData. The payload is a text/plain message. It uses no header protection.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 3852 bytes
 ⇩ (unwraps to)
 └─╴text/plain 204 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="signed-data"
Subject: smime-one-part
Message-ID: <smime-one-part@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 10:01:02 -0500
User-Agent: Sample MUA Version 1.0

MIILFwYJKoZIhvcNAQcCoIILCDCCCwQCAQExDTALBglghkgBZQMEAgEwggFABgkq
hkiG9w0BBwGgggExBIIBLU1JTUUtVmVyc2lvbjogMS4wDQpDb250ZW50LVR5cGU6
IHRleHQvcGxhaW47IGNoYXJzZXQ9InV0Zi04Ig0KQ29udGVudC1UcmFuc2Zlci1F
bmNvZGluZzogN2JpdA0KDQpUaGlzIGlzIHRoZSBzbWltZS1vbmUtcGFydCBtZXNz
YWdlLg0KDQpUaGlzIGlzIGEgc2lnbmVkLW9ubHkgUy9NSU1FIG1lc3NhZ2Ugdmlh
IFBLQ1MjNyBzaWduZWREYXRhLiAgVGhlDQpwYXlsb2FkIGlzIGEgdGV4dC9wbGFp
biBtZXNzYWdlLiBJdCB1c2VzIG5vIGhlYWRlciBwcm90ZWN0aW9uLg0KDQotLSAN
CkFsaWNlDQph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fS09icTJ5olPDAH6mZbW6hpYmU3F
KBk2qJNqJX6bo60rCogu3wXDj0wxnqEXmeNDH5/+L9UVZur+EWzviUc8Ldd/kP3L
DOO7ivs10bAWe8Tbw7NjuP8ZlVvzcvj3nXWzZzxh2ymDIOvyJA+t0LHQvsN/fbdW
fC6Pm51fEkabbmw=

B.1.3. S/MIME Signed-only multipart/signed Over a Simple Message, No Header Protection

This is a signed-only S/MIME message via PKCS#7 detached signature (multipart/signed). The payload is a text/plain message. It uses no header protection.

It has the following structure:

└┬╴multipart/signed 4191 bytes
 ├─╴text/plain 224 bytes
 └─╴application/pkcs7-signature [smime.p7s] 3429 bytes

Its contents are:

MIME-Version: 1.0
Content-Type: multipart/signed;
 protocol="application/pkcs7-signature"; boundary="052";
 micalg="sha-256"
Subject: smime-multipart
Message-ID: <smime-multipart@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 10:02:02 -0500
User-Agent: Sample MUA Version 1.0

--052
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit

This is the smime-multipart message.

This is a signed-only S/MIME message via PKCS#7 detached
signature (multipart/signed).  The payload is a text/plain
message. It uses no header protection.

--
Alice
alice@smime.example

--052
Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-signature; name="smime.p7s"

MIIJ4AYJKoZIhvcNAQcCoIIJ0TCCCc0CAQExDTALBglghkgBZQMEAgEwCwYJKoZI
hvcNAQcBoIIHpjCCA88wggK3oAMCAQICEw8tJb0ROZdKzkJUh6HuPTQGirQwDQYJ
KoZIhvcNAQENBQAwVTENMAsGA1UEChMESUVURjERMA8GA1UECxMITEFNUFMgV0cx
MTAvBgNVBAMTKFNhbXBsZSBMQU1QUyBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3Jp
dHkwIBcNMTkxMTIwMDY1NDE4WhgPMjA1MjA5MjcwNjU0MThaMDsxDTALBgNVBAoT
BElFVEYxETAPBgNVBAsTCEx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s+aEoTWgAkoqENt1sRxlcvb7HVX524
bKZa1oPTUNlm6QpivtqDIdqGJdGf8L1zLfXBuo2zL3HR+M9CDr4Opq2JCkzP0Qhp
7poIccGE6I9Tsg+RrOA9iCQsPn1+Tg8YedjGzUWF07rNmT0TzPCVzUAuBlr+JJtz
OKypyQ3eoZ6EPazXqMyHAVcsm0GI364IOA0b8PSrJNtjh+AqJ5QfH+0e7NSzNnEm
MYICADCCAfwCAQEwbDBVMQ0wCwYDVQQKEwRJRVRGMREwDwYDVQQLEwhMQU1QUyBX
RzExMC8GA1UEAxMoU2FtcGxlIExBTVBTIFJTQSBDZXJ0aWZpY2F0aW9uIEF1dGhv
cml0eQITN0EFee11f0Kpolw69Phqzpqp1zALBglghkgBZQMEAgGgaTAYBgkqhkiG
9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0yMTAyMjAxNTAyMDJa
MC8GCSqGSIb3DQEJBDEiBCDAkJYhqVAHhprkzEWP6PweksoYhj5ULTLbcfQ9Tu3C
zDANBgkqhkiG9w0BAQEFAASCAQCJe818STb4M4utvQsdcQEH0CZR7I38uL5TSZF3
llKmD9PuCDuV3GIkfdmZISKRuffBle1xaNc2av/0Qogr7OaFF485DAONVAEIQ7ah
t94pwgAE4yvXXWKmFQkKid1tnMXbnHADKWU0YC+BQkgd/5J3zg4ESeMwOUm0+b3C
GDaUBTIJhHfu9sqlt7jXa7PbzQEfemYZORPI14/uZSs86SLkPvNGUpWb4mN6olC0
2h/U4SCpq8Oy390oNM0VNpoa+nsTu5yOFc34pMIvjwCJyIOYPaDnvw9FYgr2oOp7
cdOgFcSJ8q7I+Tx2yg60VW8tAT7UBkifc37UUuVbnOsqeVB3

--052--

B.1.4. S/MIME Encrypted and Signed Over a Simple Message, No Header Protection

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a text/plain message. It uses no header protection.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 6720 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 3960 bytes
  ⇩ (unwraps to)
  └─╴text/plain 240 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: smime-enc-signed
Message-ID: <smime-enc-signed@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 10:03:02 -0500
User-Agent: Sample MUA Version 1.0

MIITXAYJKoZIhvcNAQcDoIITTTCCE0kCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVEYxETAPBgNVBAsTCExBTVBTIFdHMTEwLwYDVQQDEyhTYW1wbGUgTEFN
UFMgUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5AhMPLSW9ETmXSs5CVIeh7j00
Boq0MA0GCSqGSIb3DQEBAQUABIIBABkhXjCE2R5v6AnfDwZavtMgZTjv3IvN/oqM
RXa8Ux3HsfW3Onz3NJYd9akVrOrV++agUQ1yr3Aga++Ame174SqPIRpY+o/f2S7D
vU/ChmuqB0izBGZ0pIYDxy1YjtKjLKeu3KmC4vDQFVrUlBh6s7I5rf92UWgJN7eK
OVPb1kdUABVL/krl6fwxJEbDy4n01C44k14HdnBbBocdO+eLZl5XQ1bcTqimY1fu
aWaZGYgVDdNdyj2xiZy4hLSYoy+vJYur7fju1M0cSeLwYbQ64R9uJgbgV8UG6JwB
DBdNF6WJPdugiOQZ7RJ7VtfwTARJS3sZC4h2IesT+wZYK1+qlhwwggGEAgEAMGww
VTENMAsGA1UEChMESUVURjERMA8GA1UECxMITEFNUFMgV0cxMTAvBgNVBAMTKFNh
bXBsZSBMQU1QUyBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkCEzB8R0APhiY6
HGLS64MvlsDXhpQwDQYJKoZIhvcNAQEBBQAEggEAI/JaOhGB/OqAT+oMhHSbtULN
MXL6++GGnRyd8KP+YVeqLHYCTbyKZ491pvJVdzcuO0lRTe3zZ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GotrEF4x8mwg7kUFR/R9j52NlKgKsK6x7T4W
xKgCeE3r0mMEE6eEWyyNaR1tccfOKM/UYe716G4TRXzZTzsdXX0JRJKd7liENzJG
RBnPez0k6A1yD+7FpRcF+MQ1IwslmESI3L/Fu7ojB2UV3HyoS5ktDZtZFmRQCmHG
OEgSuJpq39fn7nfr8g7SOoq362dVBZ92tQo9tMKSpJeSz5nqFf7fChoxQTpwwYRi
k1/ZpxZ3lAKA5SGuaABeDhoXsln7ph2IRpF00YJuY50TZfl2HAEp4AYxelf72ZDm
EqCSYEvs1awZab+WRQWSP4QrcTAVr32PJDR4dFFbKGDiXsb4TTenDGS2cBapnxAX
zupE/1Pu5gyZ8J9Q/PCUjN1ks7NrZ4mENiXrIm1qfRLhuh8YBKyCVrB5QhQCm6EP
uXCEUFUPn+IgaQe2UdbYCdgpblvfXz6plQ95OHM0xILsk7+bfXuKxkLJY83Iw5Yo
jcUYvsL/sr5y+vJpvpyY4g==

B.1.5. No Cryptographic Protections Over a Complex Message

This message uses no cryptographic protection at all. Its body is a multipart/alternative message with an inline image/png attachment.

It has the following structure:

└┬╴multipart/mixed 1406 bytes
 ├┬╴multipart/alternative 794 bytes
 │├─╴text/plain 206 bytes
 │└─╴text/html 304 bytes
 └─╴image/png inline 232 bytes

Its contents are:

MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="c39"
Subject: no-crypto-complex
Message-ID: <no-crypto-complex@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 12:00:02 -0500
User-Agent: Sample MUA Version 1.0

--c39
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="05a"

--05a
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

This is the no-crypto-complex message.

This message uses no cryptographic protection at all.  Its body
is a multipart/alternative message with an inline image/png
attachment.

--
Alice
alice@smime.example
--05a
Content-Type: text/html; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

<html><head><title></title></head><body>
<p>This is the <b>no-crypto-complex</b> message.</p>
<p>This message uses no cryptographic protection at all.  Its body
is a multipart/alternative message with an inline image/png
attachment.</p>
<p><tt>-- <br/>Alice<br/>alice@smime.example</tt></p></body></html>
--05a--

--c39
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Disposition: inline

iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAcElEQVR42uVTOxbA
MAgS739nO3TpRw20dqpbfARQEjOywiwYnCtkDKnbcLk66sqlT+zt9cidkE+6KwkZ
sgrzfcqVMpL2jo0447gYDpeArk+OnJHkIhAfTPRicihAf5YJrw7vjv0ZWRWM/uli
vdPf1QZ2kDD9xppd8wAAAABJRU5ErkJggg==

--c39--

B.1.6. S/MIME Signed-only signedData Over a Complex Message, No Header Protection

This is a signed-only S/MIME message via PKCS#7 signedData. The payload is a multipart/alternative message with an inline image/png attachment. It uses no header protection.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 5249 bytes
 ⇩ (unwraps to)
 └┬╴multipart/mixed 1288 bytes
  ├┬╴multipart/alternative 882 bytes
  │├─╴text/plain 258 bytes
  │└─╴text/html 353 bytes
  └─╴image/png inline 236 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="signed-data"
Subject: smime-one-part-complex
Message-ID: <smime-one-part-complex@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 12:01:02 -0500
User-Agent: Sample MUA Version 1.0

MIIPHwYJKoZIhvcNAQcCoIIPEDCCDwwCAQExDTALBglghkgBZQMEAgEwggVIBgkq
hkiG9w0BBwGgggU5BIIFNU1JTUUtVmVyc2lvbjogMS4wDQpDb250ZW50LVR5cGU6
IG11bHRpcGFydC9taXhlZDsgYm91bmRhcnk9IjMzZSINCg0KLS0zM2UNCk1JTUUt
VmVyc2lvbjogMS4wDQpDb250ZW50LVR5cGU6I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km3M4
rKnJDd6hnoQ9rNeozIcBVyybQYjfrgg4DRvw9Ksk22OH4ConlB8f7R7s1LM2cSYx
ggIAMIIB/AIBATBsMFUxDTALBgNVBAoTBElFVEYxETAPBgNVBAsTCExBTVBTIFdH
MTEwLwYDVQQDEyhTYW1wbGUgTEFNUFMgUlNBIENlcnRpZmljYXRpb24gQXV0aG9y
aXR5AhM3QQV57XV/QqmiXDr0+GrOmqnXMAsGCWCGSAFlAwQCAaBpMBgGCSqGSIb3
DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTIxMDIyMDE3MDEwMlow
LwYJKoZIhvcNAQkEMSIEIMhGVzAx/S4dUwqko0cb+oa+gXfmEqw2Iz+svSKpWzC+
MA0GCSqGSIb3DQEBAQUABIIBAGtNM3MMhWZVJdN1nlfSk3mhNk6E+LFoOqG4aiHz
e+HEQjN6bKft5zulMCqh7NKRpRmDcEE9RXDGKGYQ9BKBf6Od/04lolBY/xpPu9G5
XnUTHN3MmqubrTSP3xxU5AozL8i7XmkB68VxKBQ2YpfcXBFGbuvlc6FXkbh2QtRX
UgBZEp+GSxG7o0UVJRa97t6wblUdMwaQ1ONrtBsmrO46bThv4cgrlGBvz8tGfHwR
4HbS/Rp+6jNAS0K9fZ0PQxy2b4M4braYg3f1n4q3dDH8N0XiUcwG8FiB9XQo18+D
fdkZwTVUoDHWjSVdIREobdPI2wdpnGxS/AB1VuiYpcebi4o=

B.1.7. S/MIME Signed-only multipart/signed Over a Complex Message, No Header Protection

This is a signed-only S/MIME message via PKCS#7 detached signature (multipart/signed). The payload is a multipart/alternative message with an inline image/png attachment. It uses no header protection.

It has the following structure:

└┬╴multipart/signed 5234 bytes
 ├┬╴multipart/mixed 1344 bytes
 │├┬╴multipart/alternative 938 bytes
 ││├─╴text/plain 278 bytes
 ││└─╴text/html 376 bytes
 │└─╴image/png inline 232 bytes
 └─╴application/pkcs7-signature [smime.p7s] 3429 bytes

Its contents are:

MIME-Version: 1.0
Content-Type: multipart/signed;
 protocol="application/pkcs7-signature"; boundary="452";
 micalg="sha-256"
Subject: smime-multipart-complex
Message-ID: <smime-multipart-complex@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 12:02:02 -0500
User-Agent: Sample MUA Version 1.0

--452
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="ac5"

--ac5
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="813"

--813
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

This is the smime-multipart-complex message.

This is a signed-only S/MIME message via PKCS#7 detached
signature (multipart/signed).  The payload is a
multipart/alternative message with an inline image/png
attachment. It uses no header protection.

--
Alice
alice@smime.example
--813
Content-Type: text/html; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

<html><head><title></title></head><body>
<p>This is the <b>smime-multipart-complex</b> message.</p>
<p>This is a signed-only S/MIME message via PKCS#7 detached
signature (multipart/signed).  The payload is a
multipart/alternative message with an inline image/png
attachment. It uses no header protection.</p>
<p><tt>-- <br/>Alice<br/>alice@smime.example</tt></p></body></html>
--813--

--ac5
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Disposition: inline

iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAcElEQVR42uVTOxbA
MAgS739nO3TpRw20dqpbfARQEjOywiwYnCtkDKnbcLk66sqlT+zt9cidkE+6KwkZ
sgrzfcqVMpL2jo0447gYDpeArk+OnJHkIhAfTPRicihAf5YJrw7vjv0ZWRWM/uli
vdPf1QZ2kDD9xppd8wAAAABJRU5ErkJggg==

--ac5--

--452
Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-signature; name="smime.p7s"

MIIJ4AYJKoZIhvcNAQcCoIIJ0TCCCc0CAQExDTALBglghkgBZQMEAgEwCwYJKoZI
hvcNAQcBoIIHpjCCA88wggK3oAMCAQICEw8tJb0ROZdKzkJUh6HuPTQGirQw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kvJVJ3j9jIs3/ZG4qH5qWQJHLvi2
WLSxDhkYmZ+dYSCyfIauNkq7a0wauSpZj82elFA7HdyZmNp0

--452--

B.1.8. S/MIME Encrypted and Signed Over a Complex Message, No Header Protection

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a multipart/alternative message with an inline image/png attachment. It uses no header protection.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 8690 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 5430 bytes
  ⇩ (unwraps to)
  └┬╴multipart/mixed 1358 bytes
   ├┬╴multipart/alternative 952 bytes
   │├─╴text/plain 294 bytes
   │└─╴text/html 389 bytes
   └─╴image/png inline 236 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: smime-enc-signed-complex
Message-ID: <smime-enc-signed-complex@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 12:03:02 -0500
User-Agent: Sample MUA Version 1.0

MIIZDAYJKoZIhvcNAQcDoIIY/TCCGPkCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVEYxETAPBgNVBAsTCExBTVBTIFdHMTEwLwYDVQQDEyhTYW1wbGUgTEFN
UFMgUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5AhMPLSW9ETmXSs5CVIeh7j00
Boq0MA0GCSqGSIb3DQEBAQUABIIBACdEWqIYhnnbhsQFyFwYMqTkNaMM0ouZTQa8
ec8nVpcuS9opnjPUUFEIv4Qdkgj9V4aYW5f/imWvfVNxMB4DqnULnXK5JdBWgRyu
dIRGt270UWwu1vyFU0gFvKOJLr7sV2g+1VafZ9MGddRQkZEs+ATdIOD3q7oPK7Mh
0hMA8XsfpAhHVmQ3hvaEGL3nQWyMCmRRiWIxFvQ05iuqGvYeFc31OIUIr3x929+/
Znn9uxNzMnIgr4S+vWGAFeC+min5rV+92Zo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nvMsKAgPNzwjlrDINMaXA8efYvmlleuQTelM7w//rHXZsmA
JSMBIjDXfiwK340OxkyNwr/VzdpL1SDCOGnxihCSxCO8S4ZX/Rmu0roKm/mkkIob
6DpirctVAMHl6KXUbODLWQeuyrYCSANEU8ahVWTISWla0sBdyYsM7EWkaUJY/6wm
YWvqaCANUl9NpUnT1cBpEFA8cBSEg5ZIwE3uvOmTlcPE6U/SNGGqZSW9su5GE7PC
CD08wIu6edZ4gO9ozf1OOLpmFM5aW6R9qyko80GMXDsxiJtkX4QoUpAx0N4QDidv
+mTIgUYXgevV7fsgRtL57vTEc2wjz3wg63PtLlwKn7md/6cWcqhPvI9xbqFFcCpi
u6R/lPKbZ59t1pZEFdhUSH7Rh7JCTmwH0kkmW3WM3BV/4RXO+4Zb9r8siIFDJMVp
WeIBcE2zSJSo6KVEVjzK0+3TIWtOOFZ8MrkJeKP7FFl+54bDje6IJpnncLaOvm7s
70Wa8TE2jA7g+GNkHIPBIG024otAQxx2MZ4hU9UxBF/kRrkto0BWtjPMcUenZ1bw
pxjwIIRgXca4Dwghb0cqFqfKoWX2xpzbfXp/Q87YE7MJG2SXjjkDrcQ1yXcni8PD
h5NQC+3mRMzcr+ImbLRySuNaocYh3h9kkjJFPa+WdIM=

B.2. Signed-only Messages

These messages are signed-only, using different schemes of header protection and different S/MIME structure. The use no Header Confidentiality Policy because the hcp is only relevant when a message is encrypted.

B.2.1. S/MIME Signed-only signedData Over a Simple Message, Wrapped Message

This is a signed-only S/MIME message via PKCS#7 signedData. The payload is a text/plain message. It uses the Wrapped Message header protection scheme.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 4323 bytes
 ⇩ (unwraps to)
 └┬╴message/rfc822 inline 646 bytes
  └─╴text/plain 228 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="signed-data"
Subject: smime-one-part-wrapped
Message-ID: <smime-one-part-wrapped@lhp.example>
From: Alice <alice@smime.example>
To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/mQPoR
n6eBQ9gn4JjaVkeba/Jul7v59/JFlmd5XD8DaA6IFPETVCAPgEw2O4nyb3lxxvrU
PELNw/LDz/f1kKqIzpn2yC32NkFop34S

B.2.2. S/MIME Signed-only multipart/signed Over a Simple Message, Wrapped Message

This is a signed-only S/MIME message via PKCS#7 detached signature (multipart/signed). The payload is a text/plain message. It uses the Wrapped Message header protection scheme.

It has the following structure:

└┬╴multipart/signed 4566 bytes
 ├┬╴message/rfc822 inline 676 bytes
 │└─╴text/plain 256 bytes
 └─╴application/pkcs7-signature [smime.p7s] 3429 bytes

Its contents are:

MIME-Version: 1.0
Content-Type: multipart/signed;
 protocol="application/pkcs7-signature"; boundary="6e5";
 micalg="sha-256"
Subject: smime-multipart-wrapped
Message-ID: <smime-multipart-wrapped@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 10:05:02 -0500
User-Agent: Sample MUA Version 1.0

--6e5
MIME-Version: 1.0
Content-Type: message/rfc822; hp="clear"; hp-scheme="wrapped"
Content-Disposition: inline

MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Subject: smime-multipart-wrapped
Message-ID: <smime-multipart-wrapped@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 10:05:02 -0500
User-Agent: Sample MUA Version 1.0

This is the smime-multipart-wrapped message.

This is a signed-only S/MIME message via PKCS#7 detached
signature (multipart/signed).  The payload is a text/plain
message. It uses the Wrapped Message header protection scheme.

--
Alice
alice@smime.example

--6e5
Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-signature; name="smime.p7s"

MIIJ4AYJKoZIhvcNAQcCoIIJ0TCCCc0CAQExDTALBglghkgBZQMEAgEwCwYJKoZI
hvcNAQcBoIIHpjCCA88wggK3oAMCAQICEw8tJb0ROZdKzkJUh6HuPTQGirQwDQYJ
KoZIhvcNAQENBQAwVTENMAsGA1UEChMESUVURjERMA8G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V3tEZ0OFWuZ1ny18Rz9b

--6e5--

B.2.3. S/MIME Signed-only signedData Over a Simple Message, Injected Headers

This is a signed-only S/MIME message via PKCS#7 signedData. The payload is a text/plain message. It uses the Injected Headers header protection scheme.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 4217 bytes
 ⇩ (unwraps to)
 └─╴text/plain 239 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="signed-data"
Subject: smime-one-part-injected
Message-ID: <smime-one-part-injected@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 10:06:02 -0500
User-Agent: Sample MUA Version 1.0

MIIMJgYJKoZIhvcNAQcCoIIMFzCCDBMCAQExDTALBglghkgBZQMEAgEwggJPBgkq
hkiG9w0BBwGgggJABIICPE1JTUUtVmVyc2lvbjogMS4wDQpDb250ZW50LVRyYW5z
ZmVyLUVuY29kaW5nOiA3Yml0DQpTdWJqZWN0OiBzbWltZS1vbmUtcGFydC1pbmpl
Y3RlZA0KTWVzc2FnZS1JRDogPHNtaW1lLW9uZS1wYXJ0LWluamVjdGVkQGxocC5l
eGFtcGxlPg0KRnJvbTogQWxpY2UgPGFsaWNlQHNtaW1lLmV4YW1wbGU+DQpUbzog
Qm9iIDxib2JAc21pbWUuZXhhbXBsZT4NCkRhdGU6IFNhdCwgMjAgRmViIDIwMjEg
MTA6MDY6MDIgLTA1MDANClVzZXItQWdlbnQ6IFNhbXBsZSBNVUEgVmVyc2lvbiAx
LjANCkNvbnRlbnQtVHlwZTogdGV4dC9wbGFpbjsgY2hhcnNldD0idXRmLTgiOyBo
cD0iY2xlYXIiDQoNClRoaXMgaXMgdGhlIHNtaW1lLW9uZS1wYXJ0LWluamVjdGVk
IG1lc3NhZ2UuDQoNClRoaXMgaXMgYSBzaWduZWQtb25seSBTL01JTUUgbWVzc2Fn
ZSB2aWEgUEtDUyM3IHNpZ25lZERhdGEuICBUaGUNCnB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E4Qqh6NiTh9vqpGg6zFPFHLzsVG5V3xPFtAVbNGjlQw9f92Cr
8MSxtUnqwaO8j3/xeeONMJtkTRGzQlPSzDUahJclB6Nk9OOgj9usEE4Vsp08x1p3
XqsxahWrKcXapHnuT/MADIxC7XPfGSUbaccUyJ2s348yEFkrdxL9NTWWH4kvfWxF
JcpKxPhQwvsuJKo31SM64j2vQnqCsBA7k2lY8VapYlQ88NsfHJJ7JAx07/QWpt4z
2nfB0xQpHENQDCrrK1EID8Eq2oAVfy1xBwyN7bOEDxsIosVd1rEOoKQ2

B.2.4. S/MIME Signed-only multipart/signed Over a Simple Message, Injected Headers

This is a signed-only S/MIME message via PKCS#7 detached signature (multipart/signed). The payload is a text/plain message. It uses the Injected Headers header protection scheme.

It has the following structure:

└┬╴multipart/signed 4475 bytes
 ├─╴text/plain 258 bytes
 └─╴application/pkcs7-signature [smime.p7s] 3429 bytes

Its contents are:

MIME-Version: 1.0
Content-Type: multipart/signed;
 protocol="application/pkcs7-signature"; boundary="00a";
 micalg="sha-256"
Subject: smime-multipart-injected
Message-ID: <smime-multipart-injected@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 10:07:02 -0500
User-Agent: Sample MUA Version 1.0

--00a
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Subject: smime-multipart-injected
Message-ID: <smime-multipart-injected@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 10:07:02 -0500
User-Agent: Sample MUA Version 1.0
Content-Type: text/plain; charset="utf-8"; hp="clear"

This is the smime-multipart-injected message.

This is a signed-only S/MIME message via PKCS#7 detached
signature (multipart/signed).  The payload is a text/plain
message. It uses the Injected Headers header protection scheme.

--
Alice
alice@smime.example

--00a
Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-signature; name="smime.p7s"

MIIJ4AYJKoZIhvcNAQcCoIIJ0TCCCc0CAQExDTALBglghkgBZQMEAgEwCwYJK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BseUCEhMOxfhwNJPrGX3FxIDys
kwlsJcliPiRS/K/T62+Izn65oOCzNIMAMmbQbGCjgfQZo9IfnnSVI1TEvriCDtGS
fmf5RvdafW+h6+I0Yb7QZTgb4EXty0M66DajUo3qSl1B5Am2

--00a--

B.2.5. S/MIME Signed-only signedData Over a Complex Message, Wrapped Message

This is a signed-only S/MIME message via PKCS#7 signedData. The payload is a multipart/alternative message with an inline image/png attachment. It uses the Wrapped Message header protection scheme.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 5741 bytes
 ⇩ (unwraps to)
 └┬╴message/rfc822 inline 1693 bytes
  └┬╴multipart/mixed 1584 bytes
   ├┬╴multipart/alternative 946 bytes
   │├─╴text/plain 282 bytes
   │└─╴text/html 380 bytes
   └─╴image/png inline 232 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="signed-data"
Subject: smime-one-part-complex-wrapped
Message-ID: <smime-one-part-complex-wrapped@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 12:04:02 -0500
User-Agent: Sample MUA Version 1.0

MIIQiwYJKoZIhvcNAQcCoIIQfDCCEHgCAQExDTALBglghkgBZQMEAgEwgga0Bgkq
hkiG9w0BBwGgggalBIIGoU1JTUUtVmVyc2lvbjogMS4wDQpDb250ZW50LVR5cGU6
IG1lc3NhZ2UvcmZjODIyOyBocD0iY2xlYXIiOyBocC1zY2hlbWU9IndyYXBwZWQi
DQpDb250ZW50LURpc3Bvc2l0aW9uOiBpbmxpbmUNCg0KTUlNRS1WZXJzaW9uOiAx
LjAKQ29udGVudC1UeXBlOiBtdWx0aXBhcnQvbWl4ZWQ7IGJvdW5kYXJ5PSIxZDci
ClN1YmplY3Q6IHNtaW1lLW9uZS1wYXJ0LWNvbXBsZXgtd3JhcHBlZApNZXNzYWdl
LUlEOiA8c21pbWUtb25lLXBhcnQtY29tcGxleC13cmFwcGVkQGxocC5leGFtc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signed-only S/MIME message via PKCS#7 detached signature (multipart/signed). The payload is a multipart/alternative message with an inline image/png attachment. It uses the Wrapped Message header protection scheme.

It has the following structure:

└┬╴multipart/signed 5657 bytes
 ├┬╴message/rfc822 inline 1751 bytes
 │└┬╴multipart/mixed 1642 bytes
 │ ├┬╴multipart/alternative 1002 bytes
 │ │├─╴text/plain 310 bytes
 │ │└─╴text/html 408 bytes
 │ └─╴image/png inline 232 bytes
 └─╴application/pkcs7-signature [smime.p7s] 3429 bytes

Its contents are:

MIME-Version: 1.0
Content-Type: multipart/signed;
 protocol="application/pkcs7-signature"; boundary="dce";
 micalg="sha-256"
Subject: smime-multipart-complex-wrapped
Message-ID: <smime-multipart-complex-wrapped@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 12:05:02 -0500
User-Agent: Sample MUA Version 1.0

--dce
MIME-Version: 1.0
Content-Type: message/rfc822; hp="clear"; hp-scheme="wrapped"
Content-Disposition: inline

MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="a30"
Subject: smime-multipart-complex-wrapped
Message-ID: <smime-multipart-complex-wrapped@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 12:05:02 -0500
User-Agent: Sample MUA Version 1.0

--a30
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="844"

--844
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

This is the smime-multipart-complex-wrapped message.

This is a signed-only S/MIME message via PKCS#7 detached
signature (multipart/signed).  The payload is a
multipart/alternative message with an inline image/png
attachment. It uses the Wrapped Message header protection
scheme.

--
Alice
alice@smime.example
--844
Content-Type: text/html; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

<html><head><title></title></head><body>
<p>This is the <b>smime-multipart-complex-wrapped</b> message.</p>
<p>This is a signed-only S/MIME message via PKCS#7 detached
signature (multipart/signed).  The payload is a
multipart/alternative message with an inline image/png
attachment. It uses the Wrapped Message header protection
scheme.</p>
<p><tt>-- <br/>Alice<br/>alice@smime.example</tt></p></body></html>
--844--

--a30
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Disposition: inline

iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAcElEQVR42uVTOxbA
MAgS739nO3TpRw20dqpbfARQEjOywiwYnCtkDKnbcLk66sqlT+zt9cidkE+6KwkZ
sgrzfcqVMpL2jo0447gYDpeArk+OnJHkIhAfTPRicihAf5YJrw7vjv0ZWRWM/uli
vdPf1QZ2kDD9xppd8wAAAABJRU5ErkJggg==

--a30--

--dce
Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-signature; name="smime.p7s"

MIIJ4AYJKoZIhvcNAQcCoIIJ0TCCCc0CAQExDTALBglghkgBZQMEAgEwCwYJKoZI
hvcNAQcBoIIHpjCCA88wggK3oAMCAQICEw8tJb0ROZdKzkJUh6HuPTQGirQwDQYJ
KoZIhvcNAQENBQAwVTENMAsGA1UEChMESUVURjERMA8GA1UECxMITEFNUFMgV0cx
MTAvBgNVBAMTKFNhbXBsZSBMQU1QUyBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3Jp
dHkwIBcNMTkxMTIwMDY1NDE4WhgPMjA1MjA5MjcwNjU0MThaMDsxDTALBgNVBAoT
BElFVEYxETAPBgNVBAsTCExBTVBTIFdHMRcwFQYDVQQDEw5BbGljZSBMb3ZlbGFj
ZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJqVKfqLwaLjj+gBUCfk
acKTg8cc2OtJ9ZSed6U3jUoiZVpMLcP3MUKtLeLg9r1mAfIDlB/wlbdmadXPmrsz
yidmbuZmOpB5voVQfiLYYy3iOx7YOqzXrl6udP07k0sV+UdSNRFxrfKeoQEFXgOa
Gdmnx4OG/e3p1fIKM0dPzZLoOAJF5m5O0xzXPL74zFCWp2f1ZkuE4A6l41koaZXC
N5XL7wWTLMLeNf9Byb5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TIFJTQSBDZXJ0aWZpY2F0aW9uIEF1dGhv
cml0eQITN0EFee11f0Kpolw69Phqzpqp1zALBglghkgBZQMEAgGgaTAYBgkqhkiG
9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0yMTAyMjAxNzA1MDJa
MC8GCSqGSIb3DQEJBDEiBCCvgSlcMngVAnJhSaGqFtmhLPGrR3fuKOm2RL+VlaoZ
wTANBgkqhkiG9w0BAQEFAASCAQAhkMgxnYwB4O/pPxgYNzRUBzhISf17PhzneuWJ
CNUB6V/vza/KfT7rO+OZIFSsg+JH3T7XrtQEGq+QSOPr0AAIGthkYiiDfPOV2Eh2
i4JzWV7ZIVY6QfXSX4k28fBONk7ZIDjVudnaLCROvktqBXQCY4bEv1imS/0hQf4g
jmVe8UqHvyD6XndNQre5x5rkRHMBAeafPTgWl/3RQP27+yLmzypgA6ekSP5WX37U
6cTgm0gmAo4F45d7zoT4ierx0oI8EU/Ephjkr3TmRqnTn3+maMaZE8ktEhH6AD+s
gphODpjMIdVXE0vCx1NUqujEqbzuM6qSO8QWLoA+QT+YX8GB

--dce--

B.2.7. S/MIME Signed-only signedData Over a Complex Message, Injected Headers

This is a signed-only S/MIME message via PKCS#7 signedData. The payload is a multipart/alternative message with an inline image/png attachment. It uses the Injected Headers header protection scheme.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 5684 bytes
 ⇩ (unwraps to)
 └┬╴multipart/mixed 1602 bytes
  ├┬╴multipart/alternative 950 bytes
  │├─╴text/plain 293 bytes
  │└─╴text/html 388 bytes
  └─╴image/png inline 236 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="signed-data"
Subject: smime-one-part-complex-injected
Message-ID: <smime-one-part-complex-injected@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 12:06:02 -0500
User-Agent: Sample MUA Version 1.0

MIIQYQYJKoZIhvcN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K/7/AyVsZCTTbewtsHhumc5/
Oq4+2Ki/nfi257nSi2R2LxjXkP5kPS/F2vInYJnCU6m/Iuxbe2/3llSeGFWiIXmy
2OLVpmnnohFJdfC0ypLhV73PNB99ZfBavy8IkhNxKpbNmKr4YxaaIOShSqk+jX1z
gnmDQtEy+sjaSEX1eiwB+bYgO0/V0KlB0lxu+m/hc5MotyA2+WG6L3IFJ9hZJIMC
sYgXQ1WoB0gHfS7paSYSabt7Bn1ue/eGRztUyNwWFIV5fZQS1sHkOxhm25nPi6JL
xNj1AL0xM38U0UpHrnARvbIVtyvd

B.2.8. S/MIME Signed-only multipart/signed Over a Complex Message, Injected Headers

This is a signed-only S/MIME message via PKCS#7 detached signature (multipart/signed). The payload is a multipart/alternative message with an inline image/png attachment. It uses the Injected Headers header protection scheme.

It has the following structure:

└┬╴multipart/signed 5568 bytes
 ├┬╴multipart/mixed 1660 bytes
 │├┬╴multipart/alternative 1006 bytes
 ││├─╴text/plain 312 bytes
 ││└─╴text/html 410 bytes
 │└─╴image/png inline 232 bytes
 └─╴application/pkcs7-signature [smime.p7s] 3429 bytes

Its contents are:

MIME-Version: 1.0
Content-Type: multipart/signed;
 protocol="application/pkcs7-signature"; boundary="361";
 micalg="sha-256"
Subject: smime-multipart-complex-injected
Message-ID: <smime-multipart-complex-injected@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 12:07:02 -0500
User-Agent: Sample MUA Version 1.0

--361
MIME-Version: 1.0
Subject: smime-multipart-complex-injected
Message-ID: <smime-multipart-complex-injected@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 12:07:02 -0500
User-Agent: Sample MUA Version 1.0
Content-Type: multipart/mixed; boundary="099"; hp="clear"

--099
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="9a5"

--9a5
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

This is the smime-multipart-complex-injected message.

This is a signed-only S/MIME message via PKCS#7 detached
signature (multipart/signed).  The payload is a
multipart/alternative message with an inline image/png
attachment. It uses the Injected Headers header protection
scheme.

--
Alice
alice@smime.example
--9a5
Content-Type: text/html; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit

<html><head><title></title></head><body>
<p>This is the <b>smime-multipart-complex-injected</b> message.</p>
<p>This is a signed-only S/MIME message via PKCS#7 detached
signature (multipart/signed).  The payload is a
multipart/alternative message with an inline image/png
attachment. It uses the Injected Headers header protection
scheme.</p>
<p><tt>-- <br/>Alice<br/>alice@smime.example</tt></p></body></html>
--9a5--

--099
Content-Type: image/png
Content-Transfer-Encoding: base64
Content-Disposition: inline

iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAcElEQVR42uVTOxbA
MAgS739nO3TpRw20dqpbfARQEjOywiwYnCtkDKnbcLk66sqlT+zt9cidkE+6KwkZ
sgrzfcqVMpL2jo0447gYDpeArk+OnJHkIhAfTPRicihAf5YJrw7vjv0ZWRWM/uli
vdPf1QZ2kDD9xppd8wAAAABJRU5ErkJggg==

--099--

--361
Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-signature; name="smime.p7s"

MIIJ4AYJKoZIhvcNAQcCoIIJ0TCCCc0CAQExDTALBglghkgBZQMEAgEwCwYJKoZI
hvcNAQcBoIIHpjCCA88wggK3oAMCAQICEw8tJb0ROZdKzkJUh6HuPTQGirQwDQYJ
KoZIhvcNAQENBQAwVTENMAsGA1UEChMESUVURjERMA8GA1UECxMITEFNUFMgV0cx
MTAvBgNVBAMTKFNhbXBsZSBMQU1QUyBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3Jp
dHkwIBcNMTkxMTIwMDY1NDE4WhgPMjA1MjA5MjcwNjU0MThaMDsxDTALBgNVBAoT
BElFVEYxETAPBgNVBAsTCExBTVBTIFdHMRcwFQYDVQQDEw5BbGljZSBMb3ZlbGFj
ZTCCASIwDQYJKoZIhv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fXBuo2zL3HR+M9CDr4Opq2JCkzP0Qhp
7poIccGE6I9Tsg+RrOA9iCQsPn1+Tg8YedjGzUWF07rNmT0TzPCVzUAuBlr+JJtz
OKypyQ3eoZ6EPazXqMyHAVcsm0GI364IOA0b8PSrJNtjh+AqJ5QfH+0e7NSzNnEm
MYICADCCAfwCAQEwbDBVMQ0wCwYDVQQKEwRJRVRGMREwDwYDVQQLEwhMQU1QUyBX
RzExMC8GA1UEAxMoU2FtcGxlIExBTVBTIFJTQSBDZXJ0aWZpY2F0aW9uIEF1dGhv
cml0eQITN0EFee11f0Kpolw69Phqzpqp1zALBglghkgBZQMEAgGgaTAYBgkqhkiG
9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0yMTAyMjAxNzA3MDJa
MC8GCSqGSIb3DQEJBDEiBCD+x3WbFH1LBQCmbRtNyvC8efR1PB3qCQYWUaMirsjm
WjANBgkqhkiG9w0BAQEFAASCAQCLgYVVHSsTcIvqpEo+Bd24+T819R6cQr/V9S2S
bIbkpBmfiAkrxnG0Q3qtgsrQWWuiO10svXsglU6amxdSkPjxcYuFPx+KBIQYkmsG
jHO7S3pukCLvjPWWov7LcU8Ns7TTme/ePkLJaXb48zAjoATq0NddOPk31Izamdkj
E9k6FnwSC/s27JwJYGeuNloy4lMb2A/teAQEkd192rlxlf0zZ01R3W7hciwvyyJT
ScmvY5njTvg+VAfP1CwxkyC28BF31ij216b2YHfQ0rGEH/mNBN4c+bqfXkuOx/3f
ZrISbly6chhrq72LOrzSAEOzUX2KD7D9+MnFtl/4LD3uqgzu

--361--

B.3. Encrypted-and-signed Messages

These messages are encrypted and signed. They use PKCS#7 signedData inside envelopedData, with different header protection schemes and different Header Confidentiality Policies.

B.3.1. S/MIME Encrypted and Signed Over a Simple Message, Wrapped Message With hcp_minimal

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a text/plain message. It uses the Wrapped Message header protection scheme with the hcp_minimal Header Confidentiality Policy.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 7995 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 4918 bytes
  ⇩ (unwraps to)
  └┬╴message/rfc822 inline 1030 bytes
   └─╴text/plain 322 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID: <smime-enc-signed-wrapped-minimal@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 10:08:02 -0500
User-Agent: Sample MUA Version 1.0

MIIXDAYJKoZIhvcNAQcDoIIW/TCCFvkCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVEYxETAPBgNVBAsTCExBTVBTIFdHMTEwLwYDVQQDEyhTYW1wbGUgTEFN
UFMgUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5AhMPLSW9ETmXSs5CVIeh7j00
Boq0MA0GCSqGSIb3DQEBAQUABIIBACICxsTNP2Wfj+auCTPmco429F3wDfe8ssLY
difpreNPKzAMFeYLHOuET5VJxkP3b9GpHtvqcJ/mCwyvisV1w4EG4kkHgk2NBjhl
MrmXUrXH7z+Mqcuqagl58P53Em/YpSKt7X7BjjBLWrWT+qKiHCybXpw71sHdGVbe
YIPvR3cTHvDJV9YpPQL0aKKPp8MduQFumcsMHy0o3kKlCGAVDrVbYRYv2fyv4E9i
gE7nUkg0AWl35QfieEHAKK+DPs9a4yixOeuuudlS4hrNFgxTtFvRUsNyDDRNiyZz
MWWyTqnz3mpL1ZLTwH0jsM+obTPLs+2wonCc1FmffRejjf5wYlkwggGEAgEAMGww
VTENMAsGA1UEChMESUVURjERMA8GA1UECxMITEFNUFMgV0cxMTAvBgNVBAMTKFNh
bXBsZSBMQU1QUyBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkCEzB8R0APhiY6
HGLS64MvlsDXhpQwDQYJKoZIhvcNAQEBBQAEggE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akJH9HJDaReTVEa7zhoCQqHUL7Sb4A8R1sj6lYbjAsnVnQJuF6/VHYKrygcP1z2
CCCgplB0B/YDrPTgZWjxGibofcOMIGHBbRqi1pKrHmvfWrq/VSsYfR7kuKLWlwNa
LeNk3qEk5SkcVJH8VTdE4avPqTsB3kwWmev2RDVUk93WluywLjcASo7touf5E6i4
1u4gMtpieDMnfFn61Eww6/VZqchSLjPHMEdd6kuCOq5SywPGyRTJmPXYfpscy2Hf
4hNZ8oQ4aYt4kFCUAsPagSq8hteOGX+1CEz3ey2CbWgkNOm2R3zXkMcHcmB81yUz
duS8x/QNUkUKuF2MGXTasDgibEwIBQejjyXc+IJXxZwGaITRxINqCwMAcz8qiLv9
kHm+5wFENGaG6aMK89i5gJJvKjBMrffz2ZTVuT6FJq+mPV2C/JMvEWTY6aHvt1Eh
ndJfcORe8xRELqTNc95d5gvEbEf3pPiPv73VaLzVwByqOGw2+B0lknGNsyE3Adie
RI8tFshkC09aba8ElJtVOoIA+dV3qEgBs5v8+yiA50PipEOz1tae7STIn4m0isnM
N3OuOs5TuM36LOyVOmONI4WIIPuxpYmMZXGcKYB2GnFl0c2rj9hnE889RZZELh8v
Z5FTGiUBTlHBOkUlC846SOxt8OfXxi0rM0sQPrWtbRrTf93vd12ylkVM/MZHyMaW
H4HpNi9jmoL614k3M4mVENcaa47yYTX3/aOpvPny5BidmoQSmz5xDreuzPv4Tiv5
2GsFEErm6OmW+M37EXjvSjXQamf+EY8Cb96TtrJRD+/CHkcGzRJbOJBVga01YVwL

B.3.2. S/MIME Encrypted and Signed Over a Simple Message, Injected Headers With hcp_minimal

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a text/plain message. It uses the Injected Headers header protection scheme with the hcp_minimal Header Confidentiality Policy.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 7890 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 4824 bytes
  ⇩ (unwraps to)
  └─╴text/plain 334 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID: <smime-enc-signed-injected-minimal@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 10:09:02 -0500
User-Agent: Sample MUA Version 1.0

MIIWvAYJKoZIhvcNAQcDoIIWrTCCFqkCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVEYxETAPBgNVBAsTCExBTVBTIFdHMTEwLwYDVQQDEyhTYW1wbGUgTEFN
UFMgUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5AhMPLSW9ETmXSs5CVIeh7j00
Boq0MA0GCSqGSIb3DQEBAQUABIIBAEfZpB80jBl2KhUJZD6w5rbYlznovLJ/GU1z
dC1kpitjcbPu/tugkiP0rVjOfrnr80fR9NMytNbZCyjJb5ZZIKHr/iK8PJc6UegJ
Yk+B89REQRrEoHJssUAvUTe0BbaiwxxEYYt+aw0s30I8txNpSrI8TwpJ2nN8pjAa
3PyyOLeeuyD7u3NzD1QVvTMA7GoHBFH8tKKUg0RsIdvaCAYnuTZsWW3lAPt9BxjC
b/Jlc3E8hJZg5qOYRe972MpB8j2xdfBWeTa4fqYZZyf1Jz8DMkhoyXCC9V9E02vt
3oVtXJFV+ylKF0zT7KraY8z0HBYcui8co+nNbnHt18fSsCq0daEwggGEAgEAMGww
VTENMAsGA1UEChMESUVURjERMA8GA1UECxMITEFNUFMgV0cxMTAvBgNVBAMTKFNh
bXBsZSBMQU1QUyBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkCEzB8R0APhiY6
HGLS64MvlsDXhpQwDQYJKoZIhvcNAQEBBQAEggEADFAx3f+RhXyDOaYhSzrSIeOE
dH6eeFWbx1/oLfPnaeuIo7CDX6wx6IH78XZLBQasij22DC1qlzRGJUw2+rAFuw9U
c8pZiDnKEAhrQgIZjzaMmv2WItUfi8TUpB6q5RXZOmWhS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7NhYTccCSU9TRMBbfJqG507qbuxdiIlHmU7PmxEu2ucsN4OFL2Z
83h5DoLE9anX/D/rgAmCs9AUk92vEdM74Qq/ocwUiF51R6n0oHjzJ1vegXyZ1Yf4
qT1MziSbiy4OtSRpeBltM8pNPOVBCfbk+OEIdCeeH+jvvVU1toSmie8bVZ3zvZHi
ocmGMeV4ziVgG3hYjZhZe4Uzx+Axpj+yYQJKHhZXuiJTrdyBI9epTVGHkg7d/8I1
u0bh+FztXcqNYK3PHSNriLpv+qBXbtOrF5uQTcXNcIbAIFWAxHUyyHEHtmacByT2
K0MfMCpQw8BJit67gunfSWn/5d4x6wcY3SRE4yQKNwQEvhBquT0rqgJv/xysIxk5
fgQ0wBp2hd4fysyvJbKeMhiXr/fYcm0qTL8dtD4fdKcISQOOos1NHGinQQ1I7K/U
4YtUeGUij9Ybd63MzWddwPaY/vKTL4PoMvOu4E3iV39rb9DrZbQT0To/83pKv3Hk
l8PNHYOOYyMuMO+wsECqLQ==

B.3.3. S/MIME Encrypted and Signed Over a Simple Message, Injected Headers With hcp_minimal (+ Legacy Display)

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a text/plain message. It uses the Injected Headers header protection scheme with the hcp_minimal Header Confidentiality Policy with a "Legacy Display" part.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 8125 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 5008 bytes
  ⇩ (unwraps to)
  └─╴text/plain 424 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID:
 <smime-enc-signed-injected-minimal-legacy@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 10:10:02 -0500
User-Agent: Sample MUA Version 1.0

MIIXbAYJKoZIhvcNAQcDoIIXXTCCF1kCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVE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LET57YdYu/z+Q+cReXGmys2kJJKA
uIy6wCyaL+KHovl0/iSlx2JJb7luHenJRZsx55OnvpwNWHMMeGrviUE0+JjCKKzo
19IpuInlzL7swEYdXhJTLolZOoSVroTF+mqk7dfjDbOU2Yc7wRSiqyV5RR832ULL
zvSvd3utZ/F05Qfyx7GvUX369tJDTyuPOwGpwCAQICJUBZ1fVtFPN8rgpf2ohIQ3
fNCD8s4zUNBaEIoGN73OLGAd+4oNeMq+2CcNd9WX0v6CwVRmM/MGG2taIw5L1qRM
5ewPM5pyBdROgDwQZ5XEfsi153dNz1l79mMg0ctv0MUeASQhGIMdDBYoNzIcKNcv
rnhfM505HRDkZ2DZC1xIcV+POerH1bIZGalBflX0Wdy6aVTRFjfgXGGvQdHGQwKQ
Yi3NOuGKejwhhFS2ELeQEeAe8RDnhiqNLkYoqOSG6dLkgxWN8QUZneK3mxbs7uaU
Iwp9yJ2X9t2K5zyntQOoinap4zZxLt5XUELhfP7xfCrIUsRo2XC9ZwlU6ydJZQDQ

B.3.4. S/MIME Encrypted and Signed Over a Simple Message, Wrapped Message With hcp_strong

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a text/plain message. It uses the Wrapped Message header protection scheme with the hcp_strong Header Confidentiality Policy.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 7930 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 4856 bytes
  ⇩ (unwraps to)
  └┬╴message/rfc822 inline 985 bytes
   └─╴text/plain 320 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID: <73a42f8e-8f5a-5c62-b982-82ace766fd32@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 10:11:02 -0500

MIIW3AYJKoZIhvcNAQcDoIIWzTCCFskCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFV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NjXSBR61zUyhlFORbIPlpt0s0qY8X4Wd/zKbDQhi7OHiMC5CiRoqJsO
LhzX+gJD2vWardPV14aHMM4U9AW21WU4nmdEe/Me2ywc3jl9uNp2bWAFG0Iq+RFv
QutWPwX+7R0T0Qoa6C42fWj6ZCQ/QpGcljpMbT0fNx470bU9IWnM2DS3DsN8UiBz
aSFvztQopojx4gNAFqjrYu+EzduJ5eTC1iadUU+INmIBTzNHEa04A8FIH6bBUcp5
mwHTH/6EF4a3Pn2QeZ+z4emqnqCYj0pd8EYk8XtpgIwexM/Wouo9XnrRhV8BfjFh

B.3.5. S/MIME Encrypted and Signed Over a Simple Message, Injected Headers With hcp_strong

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a text/plain message. It uses the Injected Headers header protection scheme with the hcp_strong Header Confidentiality Policy.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 7780 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 4758 bytes
  ⇩ (unwraps to)
  └─╴text/plain 332 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID: <27139e00-e05f-581d-a339-d2bd43bd0f42@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 10:12:02 -0500

MIIWbAYJKoZIhvcNAQcDoIIWXTCCFlkCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVEYxETAPBgNVBAsTCExBTVBTIFdHMTEwLwYDVQQDEyhTYW1wbGUgTEFN
UFMgUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5AhMPLSW9ETmXSs5CVIeh7j00
Boq0MA0GCSqGSIb3DQEBAQUABIIBAAPEUxBMiR5wjFUYESXlqPUNRxKt8fCR3UYe
hFL9TJG/Fw69gzE6fKRMIVmALWOfwN0HPoi9TdqeAiXAavKP6G1BMhjPmOYs6Ipv
+e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SjvEkLkf1CMvex16eVLdevE3Q+PfBMp/7dO43Bf
COlu/sNCLQxJ/c7FwdWtQf+6EJex4y4O1iXTpB3aZqfh/VHzI06ogK4rpcOunOrC
rcqcN89WLMRutpWRyWhvcBkWBhq4g+bNFIsG1TgEQUlVsMGfKHyGuvpNVJt3TQ00
zxnnvX3hfHDnNm6ECUaCaReWqUJzELv2upLanxQablbRRXef2i/WU7s40ZvVjv0O
vAT2Kquwx/fK2i2yqnOQp7nbrdipnm7C6ndQlEQGYAWCvnEKNfsRzjQagzCrZMl1
13KUdFcqXYHEq48WDjpQChGoCj2pvJYsWirmMKbGwUoCI74DFlMRT0rdHFtSzeHx
7x+g64EdTOo/tldr1pKn2EyFu2lFARX21oUUIdtg1wJ61Zg9Yns9Hux9GIHVXZay
sXPN7zbu1E6s6/tmNOsilR3aXY6xmnwf5NVT443iTQSZq1Gyu0KeskWG+/w4tRDy
AMfKN2TCO0KZEUDXpbEJBvi2GeHBsvgivsHUhgNC+f7eUyO/tvhoz3Mrr1DC7pZS
3tuDhXMl1V1/mxb1s1z5Shr7wfnkbfIR+vHKU30kviPFzW4cdass0/mJ9GwpEMuF
zKaHKEY4QaL1gdQ94BEqBhsGqaPPUWCQnrGaftvgpx2C4Ux/PPyqayUnIK3VHJWl
3vQxnYvIggcGZK9NxBNsTdsKcOiE9tPuu6KLNntqM5Llu8yP51Pl2JUbqUGhBk74
wh209rUITulgrPwmY5swJLOPwH6zs57omOeC7tZsJjhXFbl8A35Zgpoi94IuhlPT
NRllICfFgZtduARgWl4qN9nfeZgPZNWRQYQD2pJR3KRkpIy57N8Mhe1dgAfRpFs7
uydkYF3NiR9imQbr7ptieYwS8mXnLRDftYiV8+j2QqknZM9VhVAj5NyBT0bH1G/F
4vBoV6EVcPIQHlwTuoBJjDkXgxIh9y60mu6sP+ngbK8=

B.3.6. S/MIME Encrypted and Signed Over a Simple Message, Injected Headers With hcp_strong (+ Legacy Display)

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a text/plain message. It uses the Injected Headers header protection scheme with the hcp_strong Header Confidentiality Policy with a "Legacy Display" part.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 8020 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 4930 bytes
  ⇩ (unwraps to)
  └─╴text/plain 421 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID: <fdccb76a-49ed-50c5-9030-e4aeb83d7f04@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 10:13:02 -0500

MIIXHAYJKoZIhvcNAQcDoIIXDTCCFwkCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVEYxETAPBgNVBAsTCExBTVBTIFdHMTEwLwYDVQQDEyhTYW1wbGUgTEFN
UFMgUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5AhMPLSW9ETmXSs5CVIeh7j00
Boq0MA0GCSqGSIb3DQEBAQUABIIBAHla6nXmyozkpMJZcnU9CdZDBexdvzfMV+lo
rra5M01NXCG+zsFFYvbRfFi5/Aueh4IAumsze1IbXeHVl6G3lQ99Mc+A0a9pz9/q
Y+HIK6kE+oNwbORzLPQ+dHQ4rOs9jVN8LBQtL7ZOus9Zoo+NQsOhRS6mY3sV11yY
/u62SA0O2zJkPaQFz0dX+sGSeqnHLiR3PoFFlX0WdT0MYexBPVSaxFJUBtA9vAZK
dmlFXdIXH8anusiBcqYZKFvFjiMuWTJ3jLyJwlkIsjxDnIiFt8+YIwwmhkDDAKGj
DFiuu3NGCodSnFELxpvFX6FJCmvdd2RGnAP24ENas+AFG7VYsMEwggGEAgEAMGww
VTENMAsGA1UEChMESUVURjERMA8GA1UECxMITEFNUFMgV0cxMTAvBgNVBAMTKFNh
bXBsZSBMQU1QUyBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkCEzB8R0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fvB4EumMkyHQsvJ+Z9zDCO8
YWQ4EZsAY/c2ywSdAwNS1hD6W7DnYAZ91dO+eKYFi79ZjWkgOnz+5kN/OtjjS/E/
YorI7H5DlbQBFc01osG0MA1sslyOoqdF6RukDGu+jyICarpwKlFYfCg+/ACQxbTa
bm139+V6JcBojORX/cFyhhvo+PhYRAV8agj0Qjt07RlzFVLc08Tgj6GJzFE2PP8Q
qTlVmJQlXFTCFBbcUgjKcL8dR/9kAkep0NriEhNkWxNlXHTCUzt0nM1Kb2sCx/sI
+wB8IfY4V8CiZHCJHojVis5PKpnt/Z9oKo8Ogd3Z2Y3N+epd+wU8D2P1l/N1pbuQ
OyjLi6xxBdPQfoH31y8RDEiBnvyg4OGtGV0B9iWLHa/53xfV9C3jbVspEdYXrwKr
JpDrUO0qAEXJa+KYYWKIa3vCX6v8uQLCO5QsG7syV2gyXOMDNMBx99k05qsJJW7k
ZakD59IZ2Qts7/ogov/k6JDRm1aYyBB4IE47dJkZZhOrRtxarQcTbT9vYQn8zyvh
5ZQiuFPGI0d1E4MTx1Qbr1go0/qGJD36eNdrWwn00gZPwCxM7HupSej7/R6FXM2V
NpVS8n+/I5MAygRATz5lTq4lFXWYCir3/oclsctmyNdPHXou+Of/ZeI1u5Vxjie7
PRsXlkMEtvCt/xkUJ5gyOhNxCoJXWDfU1aVXaDkY4lhd96QsMSHgVQD+50Ndg8jU
p1CEVG8QAqSdMbgnsxFQcv6jWSv8H/pYNJhWKS92d/21aDVQTTeq12Vw2N26z9yA
T+/LbjfZEuqWD2YyuEHiWiub3dB5eWgiVxKoHl6le7HikiJFOTu14RTCNjUlDB8G
NnLefbIr+GV87rtPuOMKnw==

B.3.7. S/MIME Encrypted and Signed Reply Over a Simple Message, Wrapped Message With hcp_minimal

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a text/plain message. It uses the Wrapped Message header protection scheme with the hcp_minimal Header Confidentiality Policy.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 8540 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 5306 bytes
  ⇩ (unwraps to)
  └┬╴message/rfc822 inline 1312 bytes
   └─╴text/plain 328 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID: <smime-enc-signed-wrapped-minimal-reply@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 10:14:02 -0500
User-Agent: Sample MUA Version 1.0
In-Reply-To: <smime-enc-signed-wrapped-minimal@lhp.example>
References: <smime-enc-signed-wrapped-minimal@lhp.example>

MIIYnAYJKoZIhvcNAQcDoIIYjTCCGIkCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVEYxETAPBgNVBAsTCExBTVBTIFdHMTEwLwYDVQQDEyhTYW1wbGUgTEFN
UFMgUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5AhMPLSW9ETmXSs5CVIeh7j00
Boq0MA0GCSqGSIb3DQEBAQUABIIBAD0jBGAom5YWH93yWSgJlrvGVo0VZOx+YDkF
SFI6/btRY1famS6Cp6SUcGkobWHSXAmuDDNtP7iGp8Pat1rxT6PnGEyRAVCzLMWm
FkdxqPmh1PCh4SQ7ewXzNZUhBJxbKjYn1aH5TR9tPZL918CX3/wvpIjwbPkjWUAQ
m4/Xdsh/bEKUKwdkY6tFlW6DEduIKSgSuVWrxmHU3+FuH17Qxb2bVaYU33aGxG/5
TOvVIOjvdYnSpGs59gjWYONxBTn2n9/QjzYsTVgU5mE+womez2MMUMrZcFmDbh3R
9DT1w1/WsQ9vQkc9uRPhwZPmH2hn/FXlB7t6plp5q4+MmofgrZYwggGEAgEAMGww
VTENMAsGA1UEChMESUVURjERMA8GA1UECxMITEFNUFMgV0cxMTAvBgNVBAMTKFNh
bXBsZSBMQU1QUyBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkCEzB8R0APh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Fj3VZYHAJTBUBk6UUYTOzQz3TANJFtNljbROxFSO4g0U0IHpbq/dd
8LmLqlEn9OyMc+nTpQS8nQK7zPy3mFMdyzDNiZPddF1A5LdWCbGvUQl4iLFJmMjL
aLczfIQBLEXXJxugtCKUoL42vQP1CDiD+zC/MhTizdbQCiq2oun2T39tLu70t0iM
C1yU375LzxEkpRayE62/oESDYhdySUQEZBxVrzqj/EAVx/pIf+q0ObMfyt0Hnehg
ef6XBv5PFdye2CyPow3mZQ==

B.3.8. S/MIME Encrypted and Signed Reply Over a Simple Message, Injected Headers With hcp_minimal

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a text/plain message. It uses the Injected Headers header protection scheme with the hcp_minimal Header Confidentiality Policy.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 8430 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 5224 bytes
  ⇩ (unwraps to)
  └─╴text/plain 340 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID:
 <smime-enc-signed-injected-minimal-reply@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 10:15:02 -0500
User-Agent: Sample MUA Version 1.0
In-Reply-To: <smime-enc-signed-injected-minimal@lhp.example>
References: <smime-enc-signed-injected-minimal@lhp.example>

MIIYTAYJKoZIhvcNAQcDoIIYPTCCGDkCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVEYxETAPBgNVBAsTCExBTVBTIFdHMTEwLwYDVQQDEyhTYW1wbGUgTEFN
UFMgUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5AhMPLSW9ETmXSs5CVIeh7j00
Boq0MA0GCSqGSIb3DQEBAQUABIIBAF1syNZ4ZiB69rEyP8oqqB9DtnUulS6KKXV2
awNEG8xkqgzMXS7joZtRNHzDQtLBGE8N9B7NCGQO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TB
aDJEQud26ZszyWCx7t8lI7CZ/0nAU4qZ1te7J7fCvz+1F/0UZspD/Sg8sAjVcx+X
f7cwMyvmLmR2rF3lRbp1Mhsu1qp71nQ8he/nT/us8WbKB3teNxnK9kfhVrDerrSZ
1vl3QZ8PN9gWQ4yRhjqVgEvDjZEeLDZvV9GHtrwCgl4lCkoLRD/j0rB/SggPKzS8
sp6PskwgP6/25XiAuN3c+rtte+ff/0EzsnX+y0ej9nBvxxlKY2WH+c8rydIReUma
BzkdJgxgkASJV5IbdKgOvQrSu2hUIzTYEl0qBYJuD5pvCtVIN0u5Bv/uNRAPnpoq
hO9+tEPZNDrPnHgM9xfd3+EFPZrorbf0H7vzuCN8fW3A++7I7duel+C0KgRhmdZW
4m91xPD9BJuko0JJMiFrB/a/vs58ZWgCQtQLPyFvGzOnJpKZHEf5o/7moA3fJnk4
I9rRq5Bdd9UYdmuNRc7fnlLqEWHOTddVp4wgkbJUijiSTLmlJGr19uJCvXyn7xwL
N9lJOgPulTt+paMgD5fKPZRFNMqszV3rlJK0vKJYZ9g=

B.3.9. S/MIME Encrypted and Signed Reply Over a Simple Message, Injected Headers With hcp_minimal (+ Legacy Display)

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a text/plain message. It uses the Injected Headers header protection scheme with the hcp_minimal Header Confidentiality Policy with a "Legacy Display" part.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 8735 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 5454 bytes
  ⇩ (unwraps to)
  └─╴text/plain 436 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID:
 <smime-enc-signed-injected-minimal-legacy-reply@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 10:16:02 -0500
User-Agent: Sample MUA Version 1.0
In-Reply-To:
 <smime-enc-signed-injected-minim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eOEIljVLus5z8
xBGBvOCIkf+56wUybPe1+aH/aQGnWuKMQx6nQCnhqheUxjjatI+YjxROfXhwij49
k8CM/iGTBBitB4wsG4jbR5VffpG8+vrsgFtiUUTL0B7zeyqRpqB36f9ED76TS8ml
dwmGza6zUySbLPKRXkqn9g==

B.3.10. S/MIME Encrypted and Signed Reply Over a Simple Message, Wrapped Message With hcp_strong

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a text/plain message. It uses the Wrapped Message header protection scheme with the hcp_strong Header Confidentiality Policy.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 8170 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 5042 bytes
  ⇩ (unwraps to)
  └┬╴message/rfc822 inline 1120 bytes
   └─╴text/plain 326 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID: <0e210732-9184-5855-9a95-2a635560d3a6@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 10:17:02 -0500

MIIXjAYJKoZIhvcNAQcDoIIXfTCCF3kCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVEYxETAPBgNVBAsTCExBTVBTIFdHMTEwLwYDVQQDEyhTYW1wbGUgTEFN
UFMgUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5AhMPLSW9ETmXSs5CVIeh7j00
Boq0MA0GCSqGSIb3DQEBAQUABIIBAEOjOUiIMkscw575XdJgtFwOUy2Y/AbOC91H
3FiDgiCsmEzXP7CLbYtneLQQRnjvVLLexesCUVm6nRTEohJVcJYHcgtDJMFVdCLz
q0USctI6oLoWFFMLESjiCCyzDlnDdGBcxsF9eTufLG2snwyMDla9837GmUaiS4gi
7GTCafAWdu11c5XIfNy834nRdphcHekNhkOYo4TLI8FpLb6KktZ6d/PO9jRlKwgP
Z9x9MZ8pBfd70J++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EJebhjHJWirYSpmuFNN7ZGTOC6/Cr4mXgQfBI
ltvij0UtMMyLYjSYU2dmutfA9Ww0bME5SL2/2sV80frZc4+SxxqmSsIWvo8alfRz
MslpwFzazxna0qTZ0v4pG8pY7hlmAJ5rfzprGRtouJ8=

B.3.11. S/MIME Encrypted and Signed Reply Over a Simple Message, Injected Headers With hcp_strong

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a text/plain message. It uses the Injected Headers header protection scheme with the hcp_strong Header Confidentiality Policy.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 8040 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 4950 bytes
  ⇩ (unwraps to)
  └─╴text/plain 338 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID: <0b3ea6dd-0e91-5a91-9bc0-3d553f892983@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 10:18:02 -0500

MIIXLAYJKoZIhvcNAQcDoIIXHTCCFxkCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVEYxETAPBgNVBAsTCExBTVBTIFdHMTEwLwYDVQQDEyhTYW1wbGUgTEFN
UFMgUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5AhMPLSW9ETmXSs5CVIeh7j00
Boq0MA0GCSqGSIb3DQEBAQUABIIBAIf8E1Jz5CRMcenMby4AQAPsE4ACm+sauH6M
l/ZpoQGl+VF5Ct+GG4SAg4ElhCpCFrtLB1egscLCneeyWSF4afbx8l5AjcXcBYFv
OGEc7AdC0FgO43MkgVP7/nMPpXANmh4UH2xj1aB13ZZdJ+SY1cxIhu+Gv90VT6Ce
8Yt5wS42uPwhbYOH/8DIJU/PCCJtN4pXBoWWL0ghaeXCQwPXjNjyX1jRSMjp3DxO
RUONUBNc5LIbvHGKLbyXJncLPKtVQdtvV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Kzt5Lp+uG/0=

B.3.12. S/MIME Encrypted and Signed Reply Over a Simple Message, Injected Headers With hcp_strong (+ Legacy Display)

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a text/plain message. It uses the Injected Headers header protection scheme with the hcp_strong Header Confidentiality Policy with a "Legacy Display" part.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 8320 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 5148 bytes
  ⇩ (unwraps to)
  └─╴text/plain 433 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID: <b10dcc75-cf43-5fd7-9e48-f932a9d68fb5@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 10:19:02 -0500

MIIX/AYJKoZIhvcNAQcDoIIX7TCCF+kCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVEYxETAPBgNVBAsTCExBTVBTIFdHMTEwLwYDVQQDEyhTYW1wbGUgTEFN
UFMgUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5AhMPLSW9ETmXSs5CVIeh7j00
Boq0MA0GCSqGSIb3DQEBAQUABIIBAD5nNEm/J8y7qGhLtIw7nHjytOrzwTbBx2QT
XXEGBmbboWYY6+bU9BfRhTEYQxHi1YGHsapCuE3M5mYKD6oNkwvwtY7+xfMpEnNo
Y3fJNkE7Ij2NvD5VfNBK1rBI2G7neFsIqCcsrl/lSowE9g840dXTCGTtb80tt+zS
ZqNnWlnFUiI5W2djcr1SsF7T1NzgzL9ZuLRT/BUM7qxx7+SOyO2DTEi4Ro9uZxAB
3L3vdgbEkz8Nk4BrCWQCyxVxG9Ce+y+CF0OxQunN9j96AWMpO3aGYcLKLjvaQIaj
750ZVireCFRBj1aNTARwQX8HevsPUcqgThmY53jwmGhXENS7e6kwggGEAgEAMGww
VTENMAsGA1UEChMESUV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iZVgOxX1C2nKWZTtWP1pmpsP6C/
1JMB0IDku1T0I7BmbvzgbXh9gV+efi2AGMRI7a+pOANbkagR3mgZVNFBWM3U4CeN
zu1BdIUX8xDeXzr98/EbgrSfh29fbvPwSDQepAaLQtSSzBhNjVwgXJzPQ/qNSkDH

B.3.13. S/MIME Encrypted and Signed Over a Complex Message, Wrapped Message With hcp_minimal

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a multipart/alternative message with an inline image/png attachment. It uses the Wrapped Message header protection scheme with the hcp_minimal Header Confidentiality Policy.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 10140 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 6498 bytes
  ⇩ (unwraps to)
  └┬╴message/rfc822 inline 2179 bytes
   └┬╴multipart/mixed 2069 bytes
    ├┬╴multipart/alternative 1134 bytes
    │├─╴text/plain 376 bytes
    │└─╴text/html 474 bytes
    └─╴image/png inline 232 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID:
 <smime-enc-signed-complex-wrapped-minimal@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 12:08:02 -0500
User-Agent: Sample MUA Version 1.0

MIIdPAYJKoZIhvcNAQcDoIIdLTCCHSkCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVEYxETAPBgNVBAsTCExBTVBTIFdHMTEwLwYDVQQDEyhTYW1wbGUgTEFN
UFMgUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5AhMPLSW9ETmXSs5CVIeh7j00
Boq0MA0GCSqGSIb3DQEBAQUABIIBAIuaE+cBpt9AcnXx6qncG6nyAEoj2Jr2tlEg
4jEUwcOJEh0i0GiMGHaWfTGN4rM2ne9cGoySa1Y7MxzBQgfgLlZHu7dDRyEwyG2s
WL18YbokxItPoisVYRMZxzD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G3uMMcSeFAnQcKXUpA
bvenXs8VUayxRAmK49amOEycVr0elgEAGEQhpgtAI3PBV0UrU41u/Eou2KvU1rN4

B.3.14. S/MIME Encrypted and Signed Over a Complex Message, Injected Headers With hcp_minimal

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a multipart/alternative message with an inline image/png attachment. It uses the Injected Headers header protection scheme with the hcp_minimal Header Confidentiality Policy.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 10075 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 6452 bytes
  ⇩ (unwraps to)
  └┬╴multipart/mixed 2089 bytes
   ├┬╴multipart/alternative 1138 bytes
   │├─╴text/plain 388 bytes
   │└─╴text/html 483 bytes
   └─╴image/png inline 236 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID:
 <smime-enc-signed-complex-injected-minimal@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 12:09:02 -0500
User-Agent: Sample MUA Version 1.0

MIIdDAYJKoZIhvcNAQcDoIIc/TCCHPkCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVEYxETAPBgNVBAsTCExBTVBTIFdHMTEwLwYDVQQDEyhTYW1wbGUgTEFN
UFMgUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5AhMPLSW9ETmXSs5CVIeh7j00
Boq0MA0GCSqGSIb3DQEBAQUABIIBAB57QrmTl/GQLc07IWXC25Bnpmm4lzxx+XIw
vvKGm8tibDE/tWyebPw6eitc51Lyd4p7nqIAbeZZm8+OhfYrVOyLbVWfTWH19VoI
gjDEyb9wPGVFUWgvk0Jnun37uL6XTWkZ7CsHrcdiqv0ustaT60L/ppk5gYyVvno5
fKm4QosRnXyUuojnVd7tXmF5CTaAoSR+Awh2u0S9By3io6Kpkg6R36Ojqpy07IZp
bm3e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JBxzstEsUGZ9qC/BZ1LFS
titWQNI2nPlQVWmNyfZc/eXzB3b54EBaqYYEqalscpJYUA/J/tXWJjdQPHvMDTLw
fxRUSKTbGEwmNCDhFiPCl5WMSZ6v8e4cs0WxSaN838NnUO19a+KYAPICcTSKpzqT
NnC6A8hwHB8tDCXoSvnciPO8AGB1Yfj8cv5h7eJeDzLfPYIkyy62pwOoxDxkzd6/
AZpvP0qRnQokLMq9+faeGYtZtKk+hsaVfRQl+xuKr9bV2DdP1GDHzM5Ivw/ym2jy
JMOebXRt+qGSgX9NsD3NXfQRaLrZMK6cduq4JMfSTxPHap0tRKP/kCLm7KqA+Cqf
Iz4nWNuj8cKMrbmV9LKUxscd80eNr+WPHJ8vm0i19BmnFPyHne35oq/yAb6xq0vd
n6B5jMrKl3CNWLRfgnoOMppxHmFRAYOQvNQ/XUfMw0+P7cTL3h/qBkISh2qRjXCj
+wyZ8E0MOxH2PPsJA+QWNQhETcentaf1rqWReqe5pSzsUFOm91w5/MVdkyOSy7qS
USPw6wmNHccv0v/cbRexBurfR3AELLKRBIrHl+tt7gYJfxlkmQBaZkSO/dvAppJe
+GUX0zCIawhYkb4RBr9KVFR0CyYxl9GoOMyCsDYawiOxBmEkeqGqqHvCajznmlXN
HK3TjIqBBZ6eDyCcie0BrVT6Tj+QawZGFrj4kvqhF4CtEemUEkAESIMzHhNuw5Ru
u9iL8ceL776IJGQt6Vry4spuw92GFIh58pXENajt+k30ayVuqrQHPXwRGU8SDkD6
n9Z/lH5qTX15a4GUzR26zySORSMKlIui/+cCXV7GTLKszC4zwiEJWcUYaRREiUDL
vJL2BmA9Z/zzygyLOAQSuwmi3q1erYYvdSk9iJaUTRBH8e/LLr6Goaxilw/x2bp0

B.3.15. S/MIME Encrypted and Signed Over a Complex Message, Injected Headers With hcp_minimal (+ Legacy Display)

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a multipart/alternative message with an inline image/png attachment. It uses the Injected Headers header protection scheme with the hcp_minimal Header Confidentiality Policy with a "Legacy Display" part.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 10685 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 6898 bytes
  ⇩ (unwraps to)
  └┬╴multipart/mixed 2407 bytes
   ├┬╴multipart/alternative 1433 bytes
   │├─╴text/plain 486 bytes
   │└─╴text/html 638 bytes
   └─╴image/png inline 236 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID:
 <smime-enc-signed-complex-injected-minimal-legacy@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 12:10:02 -0500
User-Agent: Sample MUA Version 1.0

MIIezAYJKoZIhvcNAQcDoIIevTCCHrkCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVEYxETAPBgNVBAsTCExBTVBTIFdHMTEwLwYDVQQDEyhTYW1wbGUgTEFN
UFMgUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5AhMPLSW9ETmXSs5CVIeh7j00
Boq0MA0GCSqGSIb3DQEBAQUABIIBAEDMBmdw6OGVL+A2zroRd2nlCAfmPdggwbM/
A5C43gzgkveuqW/q0WAh8Fd9kx8eIk3t7zel8FCgEDVGD0TpypUN6JUhKNGP01Mn
tfvyNC4Oy9aoY7/OROc3fYJBlDRmtF3xppT1VcpxpQimuqGt387LkYDhaHp3mcqI
rNFRw0TeIyMhJZgUxk6sRnzA9Tx6HPmqwHiBJ4gGOdfbGy+E26fLwQlrS49zl0Sa
jQ5ZmQt+/FYMU/VeRJL59H2tHzkzIMeVW2lPWovhsxf8dzNAlWnkc37Ab3SuXszt
2VYDjFDngy5eQj2YSi7dnTmoy1enw98v6ZTqT9DSvXmjrIk3flcwggGEAgEAMGww
VTENMAsGA1UEChMESUVURjERMA8GA1UECxMITEFNUFMgV0cxMTAvBgNVBAMTKFNh
bXBsZSBMQ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12iUkjw4bn8ice2ASDCwXeajBYD9HXaPghRePVOkglx6qSrrJEnm0
JhoM+r3QGtA/0eZ1WBYg+9Zus2ThLbHBNwXxN3kcDHzLX9PVPikw9LWVNUXA/aZZ
loIVzEP3b7vQdG9DrD2Rm898QXa1Cr3C0ImzSucPWjKRf4+Qo8AVgiK9uA1lzAUG
GMV0+JL6pxHIi14YLVNHk2jGA1zUYF570Mtxfcnxf91H1zAj5JmZPzX7eQQWDsgl
ndDc8AyQFVniyWQs29gosjcJmzhvc+HyjJbm8FRcvfkfnoZBHNLEtWYJydbw8TVt
8rTrETA4hRZbhyCSKaV6Ng==

B.3.16. S/MIME Encrypted and Signed Over a Complex Message, Wrapped Message With hcp_strong

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a multipart/alternative message with an inline image/png attachment. It uses the Wrapped Message header protection scheme with the hcp_strong Header Confidentiality Policy.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 10055 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 6424 bytes
  ⇩ (unwraps to)
  └┬╴message/rfc822 inline 2124 bytes
   └┬╴multipart/mixed 2014 bytes
    ├┬╴multipart/alternative 1130 bytes
    │├─╴text/plain 374 bytes
    │└─╴text/html 472 bytes
    └─╴image/png inline 232 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID: <95b9bb39-c028-5ff4-99b1-f179cb5d7585@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 12:11:02 -0500

MIIc/AYJKoZIhvcNAQcDoIIc7TCCHOkCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVEYxETAPBgNVBAsTCExBTVBTIFdHMTEwLwYDVQQDEyhTYW1wbGUgTEFN
UFMgUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5AhMPLSW9ETmXSs5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rt9LxVME+x99PMwE5oLIF
2bPGBDZddHL5r/F+HS5kLU/TnjjMVKGXrXAkfYUQewJJF6m3Y4Jsg34650c06yXp
y3CXJjZSZg7v+c6+seRiqv7XPcdAV0lNPvCwxxLaCARCbZC+dziB4c+VJpU2wjMS
PVi0w9wUP3EXppoCyfQ51CwK2Wf0yFqIzgI/LOS5HO8=

B.3.17. S/MIME Encrypted and Signed Over a Complex Message, Injected Headers With hcp_strong

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a multipart/alternative message with an inline image/png attachment. It uses the Injected Headers header protection scheme with the hcp_strong Header Confidentiality Policy.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 9970 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 6374 bytes
  ⇩ (unwraps to)
  └┬╴multipart/mixed 2033 bytes
   ├┬╴multipart/alternative 1134 bytes
   │├─╴text/plain 386 bytes
   │└─╴text/html 481 bytes
   └─╴image/png inline 236 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID: <23abef5f-8781-5c95-a46c-61e3a4464d58@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 12:12:02 -0500

MIIcvAYJKoZIhvcNAQcDoIIcrTCCHKkCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVEYxETAPBgNVBAsTCExBTVBTIFdHMTEwLwYDVQQDEyhTYW1wbGUgTEFN
UFMgUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5AhMPLSW9ETmXSs5CVIeh7j00
Boq0MA0GCSqGSIb3DQEBAQUABIIBAFQqpxusiPMblOO5o8S+BiVOMPjePl6cLAV/
/o2hyG2MhxJrAsTcI8SLp/TLlCACigQ3DBj6Vahc8jyZU7QaoecOjnOtB0ijndOG
z4Nn/z/WhynKcJueqOfzXzDIcLcoh5w9N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ex Message, Injected Headers With hcp_strong (+ Legacy Display)

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a multipart/alternative message with an inline image/png attachment. It uses the Injected Headers header protection scheme with the hcp_strong Header Confidentiality Policy with a "Legacy Display" part.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 10555 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 6804 bytes
  ⇩ (unwraps to)
  └┬╴multipart/mixed 2340 bytes
   ├┬╴multipart/alternative 1427 bytes
   │├─╴text/plain 483 bytes
   │└─╴text/html 635 bytes
   └─╴image/png inline 236 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID: <9cfcaae2-9fec-5aca-9a29-c98da35b262d@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 12:13:02 -0500

MIIebAYJKoZIhvcNAQcDoIIeXTCCHlkCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVEYxETAPBgNVBAsTCExBTVBTIFdHMTEwLwYDVQQDEyhTYW1wbGUgTEFN
UFMgUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5AhMPLSW9ETmXSs5CVIeh7j00
Boq0MA0GCSqGSIb3DQEBAQUABIIBAANVV/KZ8/6l/dyLCA6PNX0Ba2t81pslb+dm
uREfMpnsJ6fXSDJ2DcDbgF1Dx3ca5+W+e9rT9rwkAar/NrVYrbJm7KO7U0SNf43e
eBiGugsdMdUBjaC3sMZdT9cuymMiPMCaGoXfK+kGIH/5yuvlwVaL3bDXDa09qv8r
Pv/Q/mOWNH2cDX+ypjK1SIAitX5TYT7HmdxxhSSg45nEamkYdQ3NNEI9ESjDJUSl
FPaKK9wHvS3Ep8t8jKc2vz/LTnGNkDvF8tZgbbnUtaCbmZ/eW8qwz0UsJ9Xpdhr0
ntQMVAJaymvF+1eWQALoeOI9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xASGhoRDEv9rF011IFMM9pNAHdAFOBYefpkSimUHgva6LUD1pZ
eeLc4tve46nzVdRwUtTFsjBwvERuVoPxF6w1TNc0xqChaTOkgXMWHScuPhRX1A0j
Qd2PiEgWeDxGlB7flhkE32JXdEq8cDPHAXldppPPop+v+FM4p6K1x2CML61RVc1z
FsJfVOxYMWz6l2yNvNHxu82AwlkPSmVLuUxzXgF/f904dYRRJ8gQ/KJeSyq3xcq/
dNwRwYAmn0Cry65WGa5CMFmh1qJfZuOlosVo0zIV8NcTOzH8Vhej3DPIq2yRI0QJ
XYC5eefXA6Un1Z2lcUb2xw==

B.3.19. S/MIME Encrypted and Signed Reply Over a Complex Message, Wrapped Message With hcp_minimal

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a multipart/alternative message with an inline image/png attachment. It uses the Wrapped Message header protection scheme with the hcp_minimal Header Confidentiality Policy.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 10750 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 6940 bytes
  ⇩ (unwraps to)
  └┬╴message/rfc822 inline 2501 bytes
   └┬╴multipart/mixed 2391 bytes
    ├┬╴multipart/alternative 1146 bytes
    │├─╴text/plain 382 bytes
    │└─╴text/html 480 bytes
    └─╴image/png inline 232 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID:
 <smime-enc-signed-complex-wrapped-minimal-reply@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 12:14:02 -0500
User-Agent: Sample MUA Version 1.0
In-Reply-To:
 <smime-enc-signed-complex-wrapped-minimal@lhp.example>
References:
 <smime-enc-signed-complex-wrapped-minimal@lhp.example>

MIIe/AYJKoZIhvcNAQcDoIIe7TCCHukCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVEYxETAPBgNVBAsTCExBTVBT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dBG2m5Oh3R7hWLsAxmrczSs8NTcFh9mGZBZivQymEzqFgjBxkJ
3mC8T9ZXStIPxawdnOnnXxTlF6w0+qalLkPFnTR5htmM8YZmtF03oXyPDqHYKpdJ
VEU1xGw+t/IzhUb2Ou2kXaMDb7MX17XWu0T+y2DQ4gWPkSkoHG1WfX07Bsx3Q+j2
4OXm+q9iPiNha2pQciuIPE+8E22hXcLFZTmC2BwSnXy+HLYBSkAn6aFYrklcDUg/
HDxDZMsgaQ6JwnJAMSXQj40INJm4nMBcshsyDbsyemxliBrhmgs1ZPQezGJeFJqL
wCektSR5thTOT3dSJrKkr4ZNKCobNdjUrtR/vAFz3jRfdrsQVh0lF8KyIQK9uiNT
bYu/Cd+r04mw+qj7OAev7d75Jujz0uwhpA6Mf+f0yXfIPaI6A6/X+j8Csm0HqIhI
JIO6euBiKqw295Ob2JcjmBcAHkQ7x8kvxDK3Cie+0xkTkUFDh3y89AsJK3rdjQmD
95clDlSO+vXq6beORSMiIljy82ZIwwkiyvb8KBbKD4dfbDvwV3ayJ8hfhC715MUB
mbXVwpSoD79wY/FmypKgxg6EWfk3NQbg0j6nSvFTu6dF5x/IeceHrF4WTRKcM4Sm
LqbXAJEo0cw4LXpOOnDbxzRHkdtnZ/Wty/KmDq6waBWLBj/4a7Y8ayy+GB/JyHKt
m4OYZopodsVef5fog7+NOfMV5qM2f6UUdWdJm+8UvoDnSRpSCF/bW2EuWxSNkD8v
YRlxuHywxOpVsXmdj2+DIJ8YUslk7MgixQqt2uZ8637qJobuzeLrK0+PfL86r/ld
IVSgpNX+yZiD/iw9Zw+2BmBdZGuDY3ylDk8QkJTRdltXucxpdv1V17vEO1oWGGa2
nG3eedzd2VORsORNDTaL8A==

B.3.20. S/MIME Encrypted and Signed Reply Over a Complex Message, Injected Headers With hcp_minimal

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a multipart/alternative message with an inline image/png attachment. It uses the Injected Headers header protection scheme with the hcp_minimal Header Confidentiality Policy.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 10705 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 6906 bytes
  ⇩ (unwraps to)
  └┬╴multipart/mixed 2415 bytes
   ├┬╴multipart/alternative 1150 bytes
   │├─╴text/plain 394 bytes
   │└─╴text/html 489 bytes
   └─╴image/png inline 236 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID:
 <smime-enc-signed-complex-injected-minimal-reply@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 12:15:02 -0500
User-Agent: Sample MUA Version 1.0
In-Reply-To:
 <smime-enc-signed-complex-injected-minimal@lhp.example>
References:
 <smime-enc-signed-complex-injected-minimal@lhp.example>

MIIe3AYJKoZIhvcNAQcDoIIezTCCHskCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVEYxETAPBgNVBAsTCExBTVBTIFdHMTEwLwYDVQQDEyhTYW1wbGUgTEFN
UFMgUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5AhMPLSW9ETmXSs5CVIeh7j00
Boq0MA0GCSqGSIb3DQEBAQUABIIBAILUNliUOep3GEgwzcfC+q665xik3d8KXOpq
9LojsRJWWg/gJuYusWnGk8TFwbCPKIxtgdQY0YV98kITbRKmGjvUgWqDdhllgURo
ZWF6Nlt8BCx0lfsodEdJww1tePP55XQ9ykPLRdotOWQWmwRxGyft9xfv892MfPG2
n3W0p/dA+E2eNS31B5P7v+dE1L/gm1/KkFm5BfydV0pgSMih7RLhLoDn1Ln5JJaz
0ZucSU6tFcWV8VrbSwUFIZU7KXH6ZtLQhQ18/y9EAVhegSwxnf9yBnF0sdTJu9VW
3mWBJO9vBdF0FsZgWenUREm/tgf5rCY9qYIHToQR9kA7ogBEyTgwggGEAgEAMGww
VTENMAsGA1UEChMESUVURjERMA8GA1UECxMITE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qd5DNGEnMkjqXcn0WnC0wV4fskHK3bSQX4XYv8+/qS
fPTTjpINbWSgh0L8666EAQWGmnAHDTbHExodrkjPMluCwjFFt6w2LLGIJwWmsZ1O
wVUjJ/bTpJcBF3WKgjla+w+lQtdeqgZfco/Hzv7g2H+pM+hj4tV427lIz1WUlbLE
qlCQX6YFrJXOic+tVb/0q/ZjNOUGOJybKvAzgpVClNGBCSJ6lA+2cW5rYOJjMi9q
MZrSB3CqXxa/L5EA85M9XZiTOYOigCEDT2MYFghWvvD0Y+OOn5SpDF/lo04NQm2w
Gk0bh/iPoufWQRZXAP1lW+OnSx1+0uqvE/to96pr2+qvKllgP9M1AaSQT1RR5FKR
Y6Gh0Wpm4fBianRMk+Em8Y/Yg8vRUsl4LUrukAgFdBg=

B.3.21. S/MIME Encrypted and Signed Reply Over a Complex Message, Injected Headers With hcp_minimal (+ Legacy Display)

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a multipart/alternative message with an inline image/png attachment. It uses the Injected Headers header protection scheme with the hcp_minimal Header Confidentiality Policy with a "Legacy Display" part.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 11310 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 7360 bytes
  ⇩ (unwraps to)
  └┬╴multipart/mixed 2740 bytes
   ├┬╴multipart/alternative 1437 bytes
   │├─╴text/plain 488 bytes
   │└─╴text/html 640 bytes
   └─╴image/png inline 236 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID:
 <smime-enc-signed-complex-injected-minimal-lgc-rpl@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 12:16:02 -0500
User-Agent: Sample MUA Version 1.0
In-Reply-To:
 <smime-enc-signed-complex-injected-minimal-legacy@lhp.example>
References:
 <smime-enc-signed-complex-injected-minimal-legacy@lhp.example>

MIIg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xunLQ4ezyJWELY5OcSwHc3HNqJhPOJ9AVUaH9fRzSfEKFjnXKfVilh/HE
/YxZwDsvTQk7dohB2uUdwxtLW+P69+BQY9TlwScEmbhb1KjlD0uAFPgJxqKGeQmr
0S0+jW/9ikXMiJiQGBlsdXxvfVqLKh0V89IZgdV4E9qLSjiLr8mK5/SXcKwFk8mL
mTeiQ8n1FgjoPpJF/ErtXwQFVrl4Vj9ZK0FSkP0ktkc7uYxPFlrOxfhg/Fh2jzLe
a/4J4rSA8STzNkjrTLJS9tdccLEjFzxbuYajRgC3jezNGTiUuF2w7mfr+xFHaFIh
VTu1mB5pSrqHrGsiO1pWwy7Qx3wY5cKyd4uAVRB+pCRSbrf7yXJNVqgz075q4d/v
uTQusxVBy1t7vg/4Dyki5495Ij711b/plJ/uT3j1itYQpZMf+N+3PqaAouvddOfe
7FY4FgnxH0x7pZJ5Lr0BuE2K7jGx0hJkBLfPadTJzJqsx2ITfEcGKF758NPgrIsF
dO5AkhYQuuKKkKByB5dUoE6GQDFjPHAZwBTjM1ZdF2Ik8UCULjvi23AwaHiyCDI3

B.3.22. S/MIME Encrypted and Signed Reply Over a Complex Message, Wrapped Message With hcp_strong

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a multipart/alternative message with an inline image/png attachment. It uses the Wrapped Message header protection scheme with the hcp_strong Header Confidentiality Policy.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 10335 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 6638 bytes
  ⇩ (unwraps to)
  └┬╴message/rfc822 inline 2281 bytes
   └┬╴multipart/mixed 2171 bytes
    ├┬╴multipart/alternative 1142 bytes
    │├─╴text/plain 380 bytes
    │└─╴text/html 478 bytes
    └─╴image/png inline 232 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID: <38a0b7ba-76e0-5351-93e9-f44877e20e6e@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 12:17:02 -0500

MIIdzAYJKoZIhvcNAQcDoIIdvTCCHbkCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVEYxETAPBgNVBAsTCExBTVBTIFdHMTEwLwYDVQQDEyhTYW1wbGUgTEFN
UFMgUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5AhMPLSW9ETmXSs5CVIeh7j00
Boq0MA0GCSqGSIb3DQEBAQUABIIBAFOfPlMfdbtve+sg23pKOFKN0tdXyAAibQl7
06aJ8EfqJw/1qnKR+vouBvhLZPvStfTgPvpx5bSHX6CmhkbjuyImRGx/pPu8BUKu
bVYN79CFqNtkuGTr03uWHXwP+pTe+qbZ3hEyeDPOW/XUTLQS2RfxZVBn3w+BAWjt
9AG7pIW3zqWTE2jIBduB0mBM4ZvpjXIAbJbqS4hNWoswpyWMGXQEfsw3wHTQDZIN
TZGd49AP48+4ePq1jHJ78TSI/7NHsY4B4GzW4QmAK4823eI8yCqeAjmFbJE26u7t
8s2n2NlpST2wZkdcyuplVbXAkivPGzj7ZuT3BwblGKkGwiUZLlswggGEAgEAMGww
VTENMAsGA1UEChMESUVURjERMA8GA1UECxMITEFNUFMgV0cxMTAvBgNVBAMTKFNh
bXBsZSBMQU1QUyBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkCEzB8R0APhiY6
HGLS64MvlsDXhpQwDQYJKoZIhvcNAQEBBQAEggEAgN0ndrn1+mHy2eSL0gny1ekG
cbS6M60Y+5Pd+sHJONQKhgD5pViAxKTYuzGfwhfADKwUsY2pInLy79rQwOhTYHIP
yb3kTKI/btj79GGBe9IFXXNqF1GnYDTwJ8/laXPxFg4g2G5ji8CLr/AA8N4P4Gql
6kB/Jrr/HrZMpzQAFaf4ECVKvmSZxMYfZvPWRA+HWI84VHodOXcuAK80SO6jHCkx
SN8DPoZecsIBrzjsMnOHaTyChFlv7tayk/bU2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8rIUCfAJkaY0T
mhYWc9sxpYP6ihb7fTcXNf729Xrizak+gL9ZhWC6f+aJ5iZcwgukNvRxNtMqHDAQ
jSiqZ9mQRt0eZ6QgXGDsMqFmIEaxMdRb+9paucCRcjp0EBmUi2g+HLJTQZEV23TI
liMXfiKZkHU65yjNvxS/UGjCpcwkR7HY27qDLR1r7X4FOaq5YivyjQoQi3cj/VE0
btuIXxIJfP6bd+LKGIy2/IcCBFQ9/f2y2r5fCDM9vutr4c2cSYGdnWWRvTar+GlI
fAJc2W9/vUsYIccvz3fBsvKqLbZF4agSNeFIwhPg3ZwRfUcI+KZQ7+c0UMoM3Lhb
n7fXheqhMsjwXogSSDIbrancgcbuWof1cjJ8Kfydeu0/TP/9sSU9kZAb28erEjkv
JF+fhlMD4HQFNYyfTVOFvkPOkJ7wvGlwva8cGlF/U0x8DVzII4q7dMpH+PFN1z0I
5B3n7Ph4Pk6fnn6OPKXA5yygPEpR+wzAb6kH0gPzEBYoLy8WEsBPyPC8Us27LDpl
jQq8X+clAfsln+ysq6zg2dlTVG4vSRaIcuAe7xPEoA0BOH2g+OlozpKeY5m89RTf
RQ1yCf8GEJrftKo1/SrBCHXSaI4jy0SLcPEVH6Nc/VdBfw+N/fH0gjhr6RtUqync
hu2JESlmyBLMquHAiDpXvRru6exMTi/3u4foNb0lgQQDGKMk3Q1DR1a8FqVUhxH+

B.3.23. S/MIME Encrypted and Signed Reply Over a Complex Message, Injected Headers With hcp_strong

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a multipart/alternative message with an inline image/png attachment. It uses the Injected Headers header protection scheme with the hcp_strong Header Confidentiality Policy.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 10270 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 6596 bytes
  ⇩ (unwraps to)
  └┬╴multipart/mixed 2192 bytes
   ├┬╴multipart/alternative 1146 bytes
   │├─╴text/plain 392 bytes
   │└─╴text/html 487 bytes
   └─╴image/png inline 236 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID: <c6774fdb-3ef5-5293-ab2d-eca8b66b4bbf@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 12:18:02 -0500

MIIdnAYJKoZIhvcNAQcDoIIdjTCCHYkCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVEYxETAPBgNVBAsTCExBTVBTIFdHMTEwLwYDVQQDEyhTYW1wbGUgTEFN
UFMgUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5AhMPLSW9ETmXSs5CVIeh7j00
Boq0MA0GCSqGSIb3DQEBAQUABIIBAFdjhuUM6D0oOdfBDloQyHpg8YcEtkENHO3M
7lcghFNbqCrX7ESQXM/Vbax60wWn49kEszHQcJR8/2W2u/uDDOC0pnssCvybqnVx
Zg1E1XA/CQPYxUJJq4U+GBp6zbpSZ7PgQ6lCwmlYxISGoWk21AWhnuxv5SF1+APb
oBQsj/9lUoJpIe7ETyYJsexm/GfQZQM8X/cFVoeOxnK8rib+Ymu7Jd/tDbiHO9hm
kQfnekM77mp7f8QaTGJdri2I2d4gE3xllOOqc+KJpyhXsmz0oloFP2mTKTZjty+g
v4m+ugwvngkYmvn2/PZ8EK7PIF4TMP8r1prH9Q3fZDqcfK0e3ccwggGEAgEAMGww
VTENMAsGA1UEChMESUVURjERMA8GA1UECxMITEFNUFMgV0cxMTAvBgNVBAMTKFNh
bXBsZSBMQU1QUyBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkCEzB8R0APhiY6
HGLS64MvlsDXhpQwDQYJKoZIhvcNAQEBBQAEggEAUmdISlcmDEbLMO0QOq3KUB6v
fpPpQ2v8FOT+hUnb8nVPpP0UXv6xp4ZzAH47ksbs3YhUTP9fc2ve6H+SLkGPX6L6
R1KfOYD8h0JH+vB2BZIcSdiiXpHtGecY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iTlmCrwKs5hfKm/WOQ
2qjS0R3RQ3zIoPi4hrmdt4W0/B0vVDYXx2PwGxHc4Kv9e+/7DMJq3OpNUo6DEwRc
FN6fmNaZf5Wm/0YvP0WPfwfRSNRjIirrd0w7mf/XrgP/uXYdjztwI4imexORztZQ
YU2Pf5DSkgaNztCIGR3WvJ+rYHY54ZX+lrZdB34f+bsK0SL9aDGK+kQ6EHQSSgD2
yaBPAEvVoiUwj5zBcA8XwC/i3taj9B5pgtJETQF2BUGOCgKCySokQyfFngjbZoy3
7STNWaALwNIQYw4vl10FYMQ2oCgY+J/7n2sxu6lhD/Au0ZR+1yiHpG2kpVBeF3/q
mMN+2dK5cyVBeE0q7i81h6SoT07zLAdv9gum0s6YpBFWVsMADxJ4i2Qid4TSQLuh
TH/Sq9VqqTULUY/QmLpBKzzTPH7InJgHfO/6cLffS0sfRzFHkNOoZoIolsKYV/Hl
vvLWer5EC6yFbieF8GYtURASqJuSFIBzv2Bbdg+tOIIWSV24F9Nsg2CkCw2iGVji
CGPRNVk/A+dAh6pMlGF4ql0XkOwkxMcVS0FXh4QmiuUU54nepISuElYyoHUBsAgg
EKO8mfh52p+QZZWX5zASNgct1dtfHxpdw69fmCdm+MArEkjI0EHmB0LgMKav7S2f
D3+5t17G+cmKTl2MEtaMnlkK55BVWUTdIeElzl7FNDp5FDj5/FMuzv4CHbYcMZrq
HCRSh2WbxAwNF1Ev1vAqEULYpo72e3nhpeC6UmnGe+Nm9Hh/vQFR8DlNv8jvaSmE

B.3.24. S/MIME Encrypted and Signed Reply Over a Complex Message, Injected Headers With hcp_strong (+ Legacy Display)

This is an encrypted and signed S/MIME message using PKCS#7 envelopedData around signedData. The payload is a multipart/alternative message with an inline image/png attachment. It uses the Injected Headers header protection scheme with the hcp_strong Header Confidentiality Policy with a "Legacy Display" part.

It has the following structure:

└─╴application/pkcs7-mime [smime.p7m] 10900 bytes
 ↧ (decrypts to)
 └─╴application/pkcs7-mime [smime.p7m] 7062 bytes
  ⇩ (unwraps to)
  └┬╴multipart/mixed 2527 bytes
   ├┬╴multipart/alternative 1451 bytes
   │├─╴text/plain 495 bytes
   │└─╴text/html 647 bytes
   └─╴image/png inline 236 bytes

Its contents are:

Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
Subject: [...]
Message-ID: <acced3c9-111b-5a4f-bd80-34558da32b4d@lhp.example>
From: Alice <alice@smime.example>
To: Bob <bob@smime.example>
Date: Sat, 20 Feb 2021 12:19:02 -0500

MIIfbAYJKoZIhvcNAQcDoIIfXTCCH1kCAQAxggMQMIIBhAIBADBsMFUxDTALBgNV
BAoTBElFVEYxETAPBgNVBAsTCExBTVBTIFdHMTEwLwYDVQQDEyhTYW1wbGUgTEFN
UFMgUlNBIENlcnRpZmljYXRpb24gQXV0aG9yaXR5AhMPLSW9ETmXSs5CVIeh7j00
Boq0MA0GCSqGSIb3DQEBAQUABIIBABtrEf4hqhQG6EnxJ/QUroVp2vxG6nHs1jw4
I1D4yiCdn2uFh006fmcCpbEyTJc1TbQxJxkCnP1WS6OisMCR+wcM2qYq/CKaLYr2
sEV0SzYtRGNr8/oha+oCLUexy+Qw5QW8Q7hOveTYBSX8ov2mVk+KSkeJ3Gl8u7JQ
gxzIOcfSlh5m2gbe5/bFNn9jZlOYF2U4HeWNrCZQicwhzk98UKF2fi4NXNJUJ4UU
K34J0MPs8UP3Qj4OluQlL72Op3jzKsA6hVAkpg8hgktHT4v2CtImqOwaHORNeJpA
3grzcOUzt7u2BjsaKVfkplTkC5Y3e9u58gywZ0suJ3R3e5/+9mcwggGEAgEAMGww
VTENMAsGA1UEChMESUVURjERMA8GA1UECxMITEFNUFMgV0cxMTAvBgNVBAMTKFNh
bXBsZSBMQU1QUyBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkCEzB8R0APhiY6
HGLS64MvlsDXhpQwDQYJKoZIhvcNAQEBBQAEggEAfv6IBVu4GdTGYCZBFB6tLRxK
hR3IzawNB1R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6k+GwEgKbi5BzfgcFJfk90xZYHZN0Pcgw/ARUa1HC+CmjTNx1OI9gae8yrrN
EPvLpggUSxJXAseyUS7YNsYyR1zh7/y5v1e5Q2YcBMADWOCuoYnyH7pl1/iod/Pr
RLjFVSCELqxZoRwuefMSgYrID17mns2Aiir+LfXR9SI3MLZzP9nf8rI1lC2zdS4O
IRiWTJbN9LTRdt77i6NzclSzRU0rPC4e2d1ctl+XATKjYTS5XyJaEmGoFhR3dU39
eG1A4PCkw7GWl9bKhv+iov5gEursK952jLeL0XUTtJ9Y8lsto9W8EwMydoyGGJWH
CJ1Rg+X3JCMxJP01zXxOjbQ7RoTn2txsNw6eoE7b3Mr5DN5C5EIut98WVx4UexT/
Kr6mBc5TlZGo4OGnXxxGbW1OxiCXzUbZwGAFg+wmu+c=

Appendix C. Composition Examples

This section offers step-by-step examples of message composition.

C.1. New message composition

A typical MUA composition interface offers the user a place to indicate the message recipients, the subject, and the body. Consider a composition window filled out by the user like so:

Composing New Message Send To: Alice <alice@example.net> Subject: Handling the Jones contract Please review and approve or decline by Thursday, it's critical! Thanks, Bob -- Bob Gonzalez ACME, Inc.
Figure 1: Example Message Composition Interface

When Bob clicks "Send", his MUA generates values for Message-ID, From, and Date Header Fields, and converts the message body into the appropriate format.

C.1.1. Unprotected message

The resulting message would look something like this if it was sent without cryptographic protections:

Date: Wed, 11 Jan 2023 16:08:43 -0500
From: Bob <bob@example.net>
To: Alice <alice@example.net>
Subject: Handling the Jones contract
Message-ID: <20230111T210843Z.1234@lhp.example>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0

Please review and approve or decline by Thursday, it's critical!

Thanks,
Bob

--
Bob Gonzalez
ACME, Inc.

C.1.2. Encrypted with hcp_minimal and Legacy Display

Now consider the message to be generated if it is to be cryptographically signed and encrypted, using HCP hcp_minimal, and the legacy variable is set.

For each Header Field, Bob's MUA passes its name and value through hcp_minimal. This returns the same value for every Header Field, except that:

hcp_minimal("Subject", "Handling the Jones contract") yields "[...]".

C.1.2.1. Cryptographic Payload

The Cryptographic Payload that will be signed and then encrypted is very similar to the unprotected message in Appendix C.1.1. Note the addition of:

  • The hp="cipher" parameter for the Content-Type

  • The appropriate HP-Outer Header Field for Subject

  • The hp-legacy-display="1" parameter for the Content-Type

  • The Legacy Display Element (the simple pseudo-header and its trailing newline) in the Main Body Part.

Date: Wed, 11 Jan 2023 16:08:43 -0500
From: Bob <bob@example.net>
To: Alice <alice@example.net>
Subject: Handling the Jones contract
Message-ID: <20230111T210843Z.1234@lhp.example>
Content-Type: text/plain; charset="us-ascii"; hp-legacy-display="1";
 hp="cipher"
MIME-Version: 1.0
HP-Outer: Date: Wed, 11 Jan 2023 16:08:43 -0500
HP-Outer: From: Bob <bob@example.net>
HP-Outer: To: Alice <alice@example.net>
HP-Outer: Subject: [...]
HP-Outer: Message-ID: <20230111T210843Z.1234@lhp.example>

Subject: Handling the Jones contract

Please review and approve or decline by Thursday, it's critical!

Thanks,
Bob

--
Bob Gonzalez
ACME, Inc.
C.1.2.2. External Header Section

The Cryptographic Payload from Appendix C.1.2.1 is then wrapped in the appropriate Cryptographic Layers. For this example, using S/MIME, it is wrapped in an application/pkcs7-mime; smime-type="signed-data" layer, which is in turn wrapped in an application/pkcs7-mime; smime-type="enveloped-data" layer.

Then an external Header Section is applied to the outer MIME object, which looks like this:

Date: Wed, 11 Jan 2023 16:08:43 -0500
From: Bob <bob@example.net>
To: Alice <alice@example.net>
Subject: [...]
Message-ID: <20230111T210843Z.1234@lhp.example>
Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
MIME-Version: 1.0

Note that the Subject Header Field has been obscured appropriately by hcp_minimal. The output of the CMS enveloping operation is base64-encoded and forms the body of the message.

C.2. Composing a Reply

Next we consider a typical MUA reply interface, where we see Alice replying to Bob's message from Appendix C.1.

When Alice clicks "Reply" to Bob's signed-and-encrypted message with Header Protection, she might see something like this:

Replying to Bob ("Handling the Jones Contract") Send To: Bob <bob@example.net> Subject: Re: Handling the Jones contract On Wed, 11 Jan 2023 16:08:43 -0500, Bob wrote: > Please review and approve or decline by Thursday, > it's critical! > > Thanks, > Bob > > -- > Bob Gonzalez > ACME, Inc. -- Alice Jenkins ACME, Inc.
Figure 2: Example Message Reply Interface (unedited)

Note that because Alice's MUA is aware of Header Protection, it knows what the correct Subject header is, even though it was obscured. It also knows to avoid including the Legacy Display Element in the quoted/attributed text that it includes in the draft reply.

Once Alice has edited the reply message, it might look something like this:

Replying to Bob ("Handling the Jones Contract") Send To: Bob <bob@example.net> Subject: Re: Handling the Jones contract On Wed, 11 Jan 2023 16:08:43 -0500, Bob wrote: > Please review and approve or decline by Thursday, > it's critical! I'll get right on it, Bob! Regards, Alice -- Alice Jenkins ACME, Inc.
Figure 3: Example Message Reply Interface (edited)

When Alice clicks "Send", the MUA generates values for Message-ID, From, and Date Header Fields, populates the In-Reply-To, and References Header Fields, and also converts the reply body into the appropriate format.

C.2.1. Unprotected message

The resulting message would look something like this if it were to be sent without any cryptographic protections:

Date: Wed, 11 Jan 2023 16:48:22 -0500
From: Alice <alice@example.net>
To: Bob <bob@example.net>
Subject: Re: Handling the Jones contract
Message-ID: <20230111T214822Z.5678@lhp.example>
In-Reply-To: <20230111T210843Z.1234@lhp.example>
References: <20230111T210843Z.1234@lhp.example>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0

On Wed, 11 Jan 2023 16:08:43 -0500, Bob wrote:

> Please review and approve or decline by Thursday,
> it's critical!

I'll get right on it, Bob!

Regards,
Alice

--
Alice Jenkins
ACME, Inc.

Of course, this would leak not only the contents of Alice's message, but also the contents of Bob's initial message, as well as the Subject Header Field! So Alice's MUA won't do that; it is going to create a signed-and-encrypted message to submit to the network.

C.2.2. Encrypted with hcp_no_confidentiality and Legacy Display

This example assumes that Alice's MUA uses hcp_no_confidentiality, not hcp_minimal. That is, by default, it does not obscure or remove any Header Fields, even when encrypting.

However, it follows the guidance in Section 2.7.8.1, and will make use of the HP-Outer field in the Cryptographic Payload of Bob's original message (Appendix C.1.2.1) to determine what to obscure.

When crafting the Cryptographic Payload, its baseline HCP (hcp_no_confidentiality) leaves each field untouched. To uphold the confidentiality of the sender's values when replying, the MUA executes the following steps (for brevity only Subject and Message-ID/In-Reply-To are shown):

  • Extract the referenced header fields (see Section 2.5.4):

    • refouter contains:

      • Date: Wed, 11 Jan 2023 16:08:43 -0500

      • From: Bob <bob@example.net>

      • To: Alice <alice@example.net>

      • Subject: [...]

      • Message-ID: <20230111T210843Z.1234@lhp.example>

    • refprotected contains:

      • Date: Wed, 11 Jan 2023 16:08:43 -0500

      • From: Bob <bob@example.net>

      • To: Alice <alice@example.net>

      • Subject: Handling the Jones contract

      • Message-ID: <20230111T210843Z.1234@lhp.example>

  • Apply the response function:

    • respond(refouter) contains:

      • From: Alice <alice@example.net>

      • To: Bob <bob@example.net>

      • Subject: Re: [...]

      • In-Reply-To: <20230111T210843Z.1234@lhp.example>

      • References: <20230111T210843Z.1234@lhp.example>

    • respond(refprotected) contains:

      • From: Alice <alice@example.net>

      • To: Bob <bob@example.net>

      • Subject: Re: Handling the Jones contract

      • In-Reply-To: <20230111T210843Z.1234@lhp.example>

      • References: <20230111T210843Z.1234@lhp.example>

  • Compute the ephemeral response_hcp (see Section 2.5.5):

    • Note that all headers except Subject are the same.

    • confmap contains only ("Subject", "Re: Handling the Jones contract") -> "Re: [...]"

Thus all Header Fields that were signed are passed through untouched. The reply's Subject is obscured as Subject: Re: [...] if and only if the user does not edit the subject line from that initially proposed by the MUA's reply interface. If the user edits the subject line, e.g., to Subject: Re: Handling the Jones contract ASAP, the response_hcp will not obscure it, and instead pass it through in the clear.

For stronger header confidentiality, the replying MUA should use a reasonable HCP (not hcp_no_confidentiality). Also recall that the local HCP is applied first, and that response_hcp is only applied to what is left unchanged by the local HCP.

C.2.2.1. Cryptographic Payload

Consequently, the Cryptographic Payload for Alice's reply looks like this:

Date: Wed, 11 Jan 2023 16:48:22 -0500
From: Alice <alice@example.net>
To: Bob <bob@example.net>
Subject: Re: Handling the Jones contract
Message-ID: <20230111T214822Z.5678@lhp.example>
In-Reply-To: <20230111T210843Z.1234@lhp.example>
References: <20230111T210843Z.1234@lhp.example>
Content-Type: text/plain; charset="us-ascii"; hp-legacy-display="1";
 hp="cipher"
MIME-Version: 1.0
HP-Outer: Date: Wed, 11 Jan 2023 16:48:22 -0500
HP-Outer: From: Alice <alice@example.net>
HP-Outer: To: Bob <bob@example.net>
HP-Outer: Subject: Re: [...]
HP-Outer: Message-ID: <20230111T214822Z.5678@lhp.example>
HP-Outer: In-Reply-To: <20230111T210843Z.1234@lhp.example>
HP-Outer: References: <20230111T210843Z.1234@lhp.example>

Subject: Re: Handling the Jones contract

On Wed, 11 Jan 2023 16:08:43 -0500, Bob wrote:

> Please review and approve or decline by Thursday,
> it's critical!

I'll get right on it, Bob!

Regards,
Alice

--
Alice Jenkins
ACME, Inc.

Note the following features:

  • the hp="cipher" parameter to Content-Type

  • the appropriate HP-Outer Header Field for Subject,

  • the hp-legacy-display="1" parameter for the Content-Type

  • the Legacy Display Element (the simple pseudo-header and its trailing newline) in the Main Body Part.

C.2.2.2. External Header Section

The Cryptographic Payload from Appendix C.2.2.1 is then wrapped in the appropriate Cryptographic Layers. For this example, using S/MIME, it is wrapped in an application/pkcs7-mime; smime-type="signed-data" layer, which is in turn wrapped in an application/pkcs7-mime; smime-type="enveloped-data" layer.

Then an external Header Section is applied to the outer MIME object, which looks like this:

Date: Wed, 11 Jan 2023 16:48:22 -0500
From: Alice <alice@example.net>
To: Bob <bob@example.net>
Subject: Re: [...]
Message-ID: <20230111T214822Z.5678@lhp.example>
In-Reply-To: <20230111T210843Z.1234@lhp.example>
References: <20230111T210843Z.1234@lhp.example>
Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-mime; name="smime.p7m";
 smime-type="enveloped-data"
MIME-Version: 1.0

Note that the Subject Header Field has been obscured appropriately even though hcp_no_confidentiality would not have touched it by default. The output of the CMS enveloping operation is base64-encoded and forms the body of the message.

Appendix D. Rendering Examples

This section offers example Cryptographic Payloads (the content within the Cryptographic Envelope) that contain Legacy Display Elements.

D.1. Example text/plain Cryptographic Payload with Legacy Display Elements

Here is a simple one-part Cryptographic Payload (Header Section and body) of a message that includes Legacy Display Elements:

Date: Fri, 21 Jan 2022 20:40:48 -0500
From: Alice <alice@example.net>
To: Bob <bob@example.net>
Subject: Dinner plans
Message-ID: <text-plain-legacy-display@lhp.example>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; hp-legacy-display="1";
 hp="cipher"
HP-Outer: Date: Fri, 21 Jan 2022 20:40:48 -0500
HP-Outer: From: Alice <alice@example.net>
HP-Outer: To: Bob <bob@example.net>
HP-Outer: Subject: [...]
HP-Outer: Message-ID: <text-plain-legacy-display@lhp.example>

Subject: Dinner plans

Let's meet at Rama's Roti Shop at 8pm and go to the park
from there.

A compatible MUA will recognize the hp-legacy-display="1" parameter and render the body of the message as:

Let's meet at Rama's Roti Shop at 8pm and go to the park
from there.

A legacy decryption-capable MUA that is unaware of this mechanism will ignore the hp-legacy-display="1" parameter and instead render the body including the Legacy Display Elements:

Subject: Dinner plans

Let's meet at Rama's Roti Shop at 8pm and go to the park
from there.

D.2. Example text/html Cryptographic Payload with Legacy Display Elements

Here is a modern one-part Cryptographic Payload (Header Section and body) of a message that includes Legacy Display Elements:

Date: Fri, 21 Jan 2022 20:40:48 -0500
From: Alice <alice@example.net>
To: Bob <bob@example.net>
Subject: Dinner plans
Message-ID: <text-html-legacy-display@lhp.example>
MIME-Version: 1.0
Content-Type: text/html; charset="us-ascii"; hp-legacy-display="1";
 hp="cipher"
HP-Outer: Date: Fri, 21 Jan 2022 20:40:48 -0500
HP-Outer: From: Alice <alice@example.net>
HP-Outer: To: Bob <bob@example.net>
HP-Outer: Subject: [...]
HP-Outer: Message-ID: <text-html-legacy-display@lhp.example>

<html><head><title></title></head><body>
<div class="header-protection-legacy-display">
<pre>Subject: Dinner plans</pre>
</div>
<p>
Let's meet at Rama's Roti Shop at 8pm and go to the park
from there.
</p>
</body>
</html>

A compatible MUA will recognize the hp-legacy-display="1" parameter and mask out the Legacy Display div, rendering the body of the message as a simple paragraph:

Let's meet at Rama's Roti Shop at 8pm and go to the park
from there.

A legacy decryption-capable MUA that is unaware of this mechanism will ignore the hp-legacy-display="1" parameter and instead render the body including the Legacy Display Elements:

Subject: Dinner plans

Let's meet at Rama's Roti Shop at 8pm and go to the park
from there.

Appendix E. Other Header Protection Schemes

Other Header Protection schemes have been proposed in the past. However, those typically have drawbacks such as sparse implementation, known problems with legacy interoperability (in particular with rendering), lack of clear signalling of sender intent, and/or incomplete cryptographic protections. This section lists such schemes known at the time of the publication of this document out of historical interest.

E.1. Original RFC 8551 Header Protection

S/MIME [RFC8551] (as well as its predecessors [RFC5751] and [RFC3851]) defined a form of cryptographic Header Protection that is similar to the "Wrapped Message" scheme specified in this document. In fact, the scheme originally defined in S/MIME is a subset of the "Wrapped Message" scheme specified in this document. The differences between the original and the updated scheme are outlined in Section 2.2.

E.2. Pretty Easy Privacy (pEp)

The pEp (pretty Easy privacy) [I-D.pep-general] project specifies two different MIME schemes that include Header Protection for Signed-and-Encrypted e-mail messages in [I-D.pep-email]: One scheme -- referred as pEp Email Format 1 (PEF-1) -- is generated towards MUAs not known to be pEp-capable, while the other scheme -- referred as PEF-2 -- is used between MUAs discovered to be compatible with pEp. Signed-only messages are not recommended in pEp.

E.3. "draft-autocrypt" Protected Headers

[I-D.autocrypt-lamps-protected-headers] describes a scheme similar to the "Injected Headers" scheme specified in this document. However, instead of adding Legacy Display Elements to existing MIME parts (cf. Section 2.5.6.1), "draft-autocrypt" injects a new MIME element "Legacy Display Part", thus modifying the MIME structure of the Cryptographic Payload.

Appendix F. Document Changelog

[[ RFC Editor: This section is to be removed before publication ]]

Authors' Addresses

Daniel Kahn Gillmor
American Civil Liberties Union
125 Broad St.
New York, NY, 10004
United States of America
Bernie Hoeneisen
pEp Project
Oberer Graben 4
CH- 8400 Winterthur
Switzerland
Alexey Melnikov
Isode Ltd
14 Castle Mews
Hampton, Middlesex
TW12 2NP
United Kingdom