<?xml version="1.0" encoding="UTF-8"?>

<!-- generated by https://github.com/cabo/kramdown-rfc2629 version 1.3.8 -->
<!DOCTYPE rfc SYSTEM "rfc2629-xhtml.ent">

<rfc xmlns:xi="http://www.w3.org/2001/XInclude" ipr="trust200902" docName="draft-ietf-lamps-rfc7030est-clarify-10" number="8951" updates="7030" obsoletes="" submissionType="IETF" category="std" consensus="true" xml:lang="en" tocInclude="true" sortRefs="true" symRefs="true" version="3">

  <!-- xml2rfc v2v3 conversion 2.47.0 -->
  <front>
    <title abbrev="Clarification of EST">Clarification of Enrollment over
    Secure Transport (EST): Transfer Encodings and ASN.1</title> 
    <seriesInfo name="RFC" value="8951"/>
    <author initials="M." surname="Richardson" fullname="Michael Richardson">
      <organization>Sandelman Software Works</organization>
      <address>
        <email>mcr+ietf@sandelman.ca</email>
      </address>
    </author>
    <author initials="T." surname="Werner" fullname="Thomas Werner">
      <organization>Siemens</organization>
      <address>
        <email>thomas-werner@siemens.com</email>
      </address>
    </author>
    <author initials="W." surname="Pan" fullname="Wei Pan">
      <organization>Huawei Technologies</organization>
      <address>
        <email>william.panwei@huawei.com</email>
      </address>
    </author>
    <date month="November" year="2020"/>
    <area>Internet</area>
    <workgroup>LAMPS Working Group</workgroup>


    <abstract>
      <t>This document updates RFC 7030: Enrollment over Secure Transport
      to resolve some errata that were reported and that have proven to
      cause interoperability issues when RFC 7030 was extended.</t>
      <t>This document deprecates the specification of
      "Content-Transfer-Encoding" headers for Enrollment over Secure Transport
      (EST) endpoints. This document
      fixes some syntactical errors in ASN.1 that were present.</t> 
    </abstract>
  </front>
  <middle>
    <section anchor="introduction" numbered="true" toc="default">
      <name>Introduction</name>
      <t>Enrollment over Secure Transport (EST) is defined in <xref
      target="RFC7030" format="default"/>. The EST specification defines a
      number of HTTP endpoints for certificate enrollment and management. The
      details of the transaction were defined in terms of MIME headers, as
      defined in <xref target="RFC2045" format="default"/>, rather than in
      terms of the HTTP protocol, as defined in <xref target="RFC7230"
      format="default"/> and <xref target="RFC7231" format="default"/>.</t> 
      <t><xref target="RFC2616" format="default"/> and later <xref
      target="RFC7231" sectionFormat="of" section="A.5"/> have text
      specifically deprecating Content-Transfer-Encoding. However, <xref
      target="RFC7030" format="default"/> incorrectly uses this header.</t> 

      <t>Any updates to <xref target="RFC7030" format="default"/> to bring it
      in line with HTTP processing risk changing the on-wire protocol in a way
      that is not backwards compatible. However, reports from implementers
      suggest that many implementations do not send the
      Content-Transfer-Encoding, and many of them ignore it. The consequence
      is that simply deprecating the header would remain compatible with
      current implementations.</t> 
      <t><xref target="I-D.ietf-anima-bootstrapping-keyinfra"
      format="default"/> extends <xref target="RFC7030" format="default"/>,
      adding new functionality. Interop testing of the protocol has
      revealed that unusual processing called out in <xref target="RFC7030"
      format="default"/> causes confusion.</t> 
      <t>EST is currently specified as part of <xref target="IEC62351"
      format="default"/> and is widely used in government, utilities, and
      financial markets today.</t> 
      <t>This document, therefore, revises <xref target="RFC7030"
      format="default"/> to reflect the field reality, deprecating the
      extraneous field.</t> 
      <t>This document deals with errata numbers <xref target="errata4384"
      format="default"/>, <xref target="errata5107" format="default"/>, <xref
      target="errata5108" format="default"/>, and <xref target="errata5904"
      format="default"/>.</t> 
      <t>This document deals with <xref target="errata5107" format="default"/>
      and <xref target="errata5904" format="default"/> in <xref
      target="estendpoint" format="default"/>. <xref target="errata5108"
      format="default"/> is dealt with in <xref target="error"
      format="default"/>.  <xref target="errata4384" format="default"/> is
      closed by correcting the ASN.1 Module in <xref target="csrasn1"
      format="default"/>.</t> 
    </section>
    <section anchor="terminology" numbered="true" toc="default">
      <name>Terminology</name>
        <t>
    The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>",
    "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL 
    NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>",
    "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>", 
    "<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are to be interpreted as
    described in BCP&nbsp;14 <xref target="RFC2119"/> <xref target="RFC8174"/> 
    when, and only when, they appear in all capitals, as shown here.
        </t>
    </section>
    <section anchor="estendpoint" numbered="true" toc="default">
      <name>Changes to EST Endpoint Processing</name>
      <t>Sections <xref target="RFC7030" sectionFormat="bare"
      section="4.1.3"/> (CA Certificates Response, /cacerts), <xref
      target="RFC7030" sectionFormat="bare" section="4.3.1"/> and <xref
      target="RFC7030" sectionFormat="bare" section="4.3.2"/> (Full CMC,
      /fullcmc), <xref target="RFC7030" sectionFormat="bare" section="4.4.2"/>
      (Server-Side Key Generation, /serverkeygen), and <xref target="RFC7030"
      sectionFormat="bare" section="4.5.2"/> (CSR Attributes, /csrattrs) of
      <xref target="RFC7030" format="default"/>
      specify the use of base64 encoding with a Content-Transfer-Encoding for
      requests and responses.</t> 
      <t>This document updates <xref target="RFC7030" format="default"/> to
      require the POST request and payload response of all endpoints using
      base64 encoding, as specified in  <xref target="RFC4648"
      sectionFormat="of" section="4"/>. In both cases, the Distinguished
      Encoding Rules (DER) <xref target="X.690" format="default"/> are used to
      produce the input for the base64 encoding routine. This format is to
      be used regardless of any Content-Transfer-Encoding header, and any
      value in such a header <bcp14>MUST</bcp14> be ignored.</t>  
      <section anchor="whitespace-processing" numbered="true" toc="default">
        <name>White Space Processing</name>
        <t>Note that "base64" as used in the HTTP <xref target="RFC2616"
	format="default"/> does not permit CRLF, while the "base64" used in
	MIME <xref target="RFC2045" format="default"/> does. This
	specification clarifies that despite what <xref target="RFC2616"
	format="default"/> says, white space including CR, LF, spaces (ASCII
	32), and tabs (ASCII 9) <bcp14>SHOULD</bcp14> be tolerated by
	receivers. Senders are not required to insert any kind of white space.</t>
      </section>
      <section anchor="changes-sections-4-of-rfc7030" numbered="true" toc="default">
        <name>Changes to Section 4 of RFC 7030</name>
        <section anchor="sect-413" numbered="true" toc="default">
          <name>Section 4.1.3</name>
          <t>Replace:</t>

<blockquote>
A successful response <bcp14>MUST</bcp14> be a certs-only CMC Simple PKI Response,
as defined in <xref target="RFC5272" format="default"/>, containing the certificates described in the
following paragraph.  The HTTP content-type of
"application/pkcs7-mime" is used.  The Simple PKI Response is sent
with a Content-Transfer-Encoding of "base64" <xref target="RFC2045"
format="default"/>. 
</blockquote>
          <t>with:</t>
<blockquote>
A successful response <bcp14>MUST</bcp14> be a certs-only CMC Simple PKI Response,
as defined in <xref target="RFC5272" format="default"/>, containing the certificates described in the
following paragraph.  The HTTP content-type of
"application/pkcs7-mime" is used.  The CMC Simple PKI Response is
encoded in base64 <xref target="RFC4648" format="default"/>.
</blockquote>
        </section>
        <section anchor="sect-431" numbered="true" toc="default">
          <name>Section 4.3.1</name>
          <t>Replace:</t>

<blockquote>
If the HTTP POST to /fullcmc is not a valid Full PKI Request, the
server <bcp14>MUST</bcp14> reject the message.  The HTTP content-type used is
"application/pkcs7-mime" with an smime-type parameter "CMC-request",
as specified in <xref target="RFC5273" format="default"/>.  The body of the message is the binary
value of the encoding of the PKI Request with a
Content-Transfer-Encoding of "base64" <xref target="RFC2045" format="default"/>.
</blockquote>
          <t>with:</t>
<blockquote>
If the HTTP POST to /fullcmc is not a valid Full PKI Request, the
server <bcp14>MUST</bcp14> reject the message.  The HTTP content-type used is
"application/pkcs7-mime" with an smime-type parameter "CMC-request",
as specified in <xref target="RFC5273" format="default"/>.  The body of the message is encoded
in base64 <xref target="RFC4648" format="default"/>.
</blockquote>
        </section>
        <section anchor="sect-432" numbered="true" toc="default">
          <name>Section 4.3.2</name>
          <t>Replace:</t>
<blockquote>
The body of the message is the binary value of the encoding of the
PKI Response with a Content-Transfer-Encoding of "base64" <xref
target="RFC2045" format="default"/>.
</blockquote>
          <t>with:</t>
<blockquote>
The body of the message is the base64 <xref target="RFC4648" format="default"/> encoding of the
PKI Response.
</blockquote>
        </section>
        <section anchor="sect-442" numbered="true" toc="default">
          <name>Section 4.4.2</name>
          <t>Replace:</t>
<blockquote>
An "application/pkcs8"
part consists of the base64-encoded DER-encoded <xref target="X.690" format="default"/>
PrivateKeyInfo with a Content-Transfer-Encoding of "base64"
<xref target="RFC2045" format="default"/>.
</blockquote>
          <t>with:</t>
<blockquote>
An "application/pkcs8" part consists of the base64-encoded,
DER-encoded <xref target="X.690" format="default"/> PrivateKeyInfo.
</blockquote>
          <t>Replace:</t>
<blockquote>
In all three additional encryption cases, the EnvelopedData is
returned in the response as an "application/pkcs7-mime" part with an
smime-type parameter of "server-generated-key" and a Content-
Transfer-Encoding of "base64".
</blockquote>
          <t>with:</t>
<blockquote>
In all three additional encryption cases, the EnvelopedData is
returned in the response as an "application/pkcs7-mime" part
with an smime-type parameter of "server-generated-key". It is
base64 encoded <xref target="RFC4648" format="default"/>.
</blockquote>
        </section>
        <section anchor="sect-452" numbered="true" toc="default">
          <name>Section 4.5.2</name>
          <t>This section is updated in its entirety in <xref target="csrasn1" format="default"/>.</t>
        </section>
      </section>
    </section>
    <section anchor="csrasn1" numbered="true" toc="default">
      <name>Clarification of ASN.1 for Certificate Attribute Set</name>
      <t><xref target="RFC7030" sectionFormat="of" section="4.5.2"/> is to be
      replaced with the following text:</t>
<blockquote>
      <t>4.5.2 CSR Attributes Response</t>
      <t>If locally configured policy for an authenticated EST client indicates
a CSR Attributes Response is to be provided, the server response <bcp14>MUST</bcp14>
include an HTTP 200 response code.  An HTTP response code of 204 or 404
indicates that a CSR Attributes Response is not available.  Regardless
of the response code, the EST server and CA <bcp14>MAY</bcp14> reject any subsequent
enrollment requests for any reason, e.g., incomplete CSR attributes in
the request.</t>
      <t>Responses to attribute request messages <bcp14>MUST</bcp14> be encoded as the
content-type of "application/csrattrs" and are to be "base64" <xref target="RFC4648" format="default"/>
encoded.  The syntax for application/csrattrs body is as follows:</t>

      <sourcecode type="asn.1"><![CDATA[
CsrAttrs ::= SEQUENCE SIZE (0..MAX) OF AttrOrOID

AttrOrOID ::= CHOICE {
  oid        OBJECT IDENTIFIER,
  attribute  Attribute {{AttrSet}} }

AttrSet ATTRIBUTE ::= { ... }
]]></sourcecode>
      <t>An EST server includes zero or more OIDs or attributes <xref
      target="RFC2986" format="default"/> that it requests the client to use
      in the certification request.  The client <bcp14>MUST</bcp14> ignore any
      OID or attribute it does not recognize.  When the server encodes CSR
      attributes as an empty SEQUENCE, it means that the server has no
      specific additional information it desires in a client certification
      request (this is functionally equivalent to an HTTP response code of 204
      or 404).</t> 
      <t>If the CA requires a particular cryptographic algorithm or use of a particular
signature scheme (e.g., certification of a public key based on a
certain elliptic curve or signing using a certain hash algorithm), it
<bcp14>MUST</bcp14> provide that information in the CSR Attribute Response.  If an
EST server requires the linking of identity and POP information (see
Section 3.5), it <bcp14>MUST</bcp14> include the challengePassword OID in the CSR
Attributes Response.</t>
      <t>The structure of the CSR Attributes Response <bcp14>SHOULD</bcp14>, to the greatest
extent possible, reflect the structure of the CSR it is requesting.
Requests to use a particular signature scheme (e.g., using a
particular hash function) are represented as an OID to be reflected
in the SignatureAlgorithm of the CSR.  Requests to use a particular
cryptographic algorithm (e.g., certification of a public key based on a certain
elliptic curve) are represented as an attribute, to be reflected as
the AlgorithmIdentifier of the SubjectPublicKeyInfo, with a type
indicating the algorithm and the values indicating the particular
parameters specific to the algorithm.  Requests for descriptive
information from the client are made by an attribute, to be
represented as Attributes of the CSR, with a type indicating the
<xref target="RFC2985" format="default"/> extensionRequest and the values indicating the particular
attributes desired to be included in the resulting certificate's
extensions.</t>
      <t>The sequence is Distinguished Encoding Rules (DER) encoded <xref
      target="X.690" format="default"/> and then base64 encoded (<xref
      target="RFC4648" sectionFormat="of" section="4"/>).  The resulting text
      forms the application/csrattr body, without headers.</t> 

   <t>For example, if a CA requests that a client a) submit a certification 
   request containing the challengePassword (indicating that linking of
   identity and POP information is requested; see Section <xref target="RFC7030"
   section="3.5" sectionFormat="bare"/>), b) submit an 
   extensionRequest with the Media Access Control (MAC) address
   <xref target="RFC2307" format="default"/> of the client, and c) use the secp384r1 elliptic curve
   to sign using the SHA384 hash function, then it takes the
   following: </t>

      <artwork>
      OID:        challengePassword (1.2.840.113549.1.9.7)

      Attribute:  type = extensionRequest (1.2.840.113549.1.9.14)
                  value = macAddress (1.3.6.1.1.1.1.22)

      Attribute:  type = id-ecPublicKey (1.2.840.10045.2.1)
                  value = secp384r1 (1.3.132.0.34)

      OID:        ecdsaWithSHA384 (1.2.840.10045.4.3.3)
      </artwork>

      <t>and encodes them into an ASN.1 SEQUENCE to produce:</t>
      <artwork>
 30 41 06 09 2a 86 48 86 f7 0d 01 09 07 30 12 06 07 2a 86 48 ce 3d
 02 01 31 07 06 05 2b 81 04 00 22 30 16 06 09 2a 86 48 86 f7 0d 01
 09 0e 31 09 06 07 2b 06 01 01 01 01 16 06 08 2a 86 48 ce 3d 04 03
 03
      </artwork>
      <t>and then base64 encodes the resulting ASN.1 SEQUENCE to produce:</t>
      <artwork>
 MEEGCSqGSIb3DQEJBzASBgcqhkjOPQIBMQcGBSuBBAAiMBYGCSqGSIb3DQEJDjEJ
 BgcrBgEBAQEWBggqhkjOPQQDAw==
      </artwork>
    </blockquote>
    </section>
    <section anchor="error" numbered="true" toc="default">
      <name>Clarification of Error Messages for Certificate Enrollment Operations</name>
      <t><xref target="errata5108" format="default"/> clarifies what format
      the error messages are to be in. Previously, a client might be confused
      into believing that an error returned with type text/plain was not
      intended to be an error.</t> 
      <section
	  anchor="updating-section-423-simple-enroll-and-re-enroll-response"
	  numbered="true" toc="default"> 
        <name>Updating Section 4.2.3: Simple Enroll and Re-enroll Response</name>
        <t>Replace:</t>
<blockquote>
    If the content-type is not set, the response data <bcp14>MUST</bcp14> be a
    plaintext human-readable error message containing explanatory
    information describing why the request was rejected (for
    example, indicating that CSR attributes are incomplete).
</blockquote>
        <t>with:</t>
<blockquote>
    If the content-type is not set, the response data <bcp14>MUST</bcp14> be a
    plaintext human-readable error message containing explanatory
    information describing why the request was rejected (for
    example, indicating that CSR attributes are incomplete).
    Servers <bcp14>MAY</bcp14> use the "text/plain" content-type <xref target="RFC2046"/>
    for human-readable errors.
</blockquote>
      </section>
      <section anchor="updating-section-442-server-side-key-generation-response" numbered="true" toc="default">
        <name>Updating Section 4.4.2: Server-Side Key Generation Response</name>
        <t>Replace:</t>
<blockquote>
    If the content-type is not set, the response data <bcp14>MUST</bcp14> be a
    plaintext human-readable error message.
</blockquote>
        <t>with:</t>
<blockquote>
    If the content-type is not set, the response data <bcp14>MUST</bcp14> be a
    plaintext human-readable error message.
    Servers <bcp14>MAY</bcp14> use the "text/plain" content-type <xref
    target="RFC2046" format="default"/>
    for human-readable errors.
</blockquote>
      </section>
    </section>
    <section anchor="privacy-considerations" numbered="true" toc="default">
      <name>Privacy Considerations</name>
      <t>This document does not disclose any additional identities that either
      an active or passive observer would see with <xref target="RFC7030"
      format="default"/>.</t> 
    </section>
    <section anchor="security-considerations" numbered="true" toc="default">
      <name>Security Considerations</name>
      <t>This document clarifies an existing security mechanism.
It does not create any new protocol mechanisms.</t>
      <t>All security considerations from <xref target="RFC7030" format="default"/> also apply to the clarifications described in this document.</t>
    </section>
    <section anchor="iana-considerations" numbered="true" toc="default">
      <name>IANA Considerations</name>

      <t>The ASN.1 module in <xref target="asn1-module" format="default"/> of
      this document makes use of object identifiers (OIDs).</t> 
      <t>IANA has registered an OID for id-mod-est-2019 (1.3.6.1.5.5.7.0.98)
      in the "SMI Security for PKIX Module Identifier" registry for the ASN.1 module.</t>
      <t>The OID for the Asymmetric Decryption Key Identifier (1.2.840.113549.1.9.16.2.54)
      was previously defined in <xref target="RFC7030" format="default"/>.
      IANA has updated the Reference column for the Asymmetric
      Decryption Key Identifier attribute to also include a reference to this document.</t>
    </section>
  </middle>
  <back>

<displayreference target="I-D.ietf-anima-bootstrapping-keyinfra" to="BRSKI"/>

    <references>
      <name>References</name>
      <references>
        <name>Normative References</name>
        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml"/>
        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.2045.xml"/>
        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.2986.xml"/>
        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.4648.xml"/>
        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.6268.xml"/>
        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.7030.xml"/>
	<xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.2046.xml"/>

        <reference anchor="X.680" target="https://www.itu.int/rec/T-REC-X.680-201508-I/en">
          <front>
            <title>Information technology -- Abstract Syntax Notation One
	    (ASN.1): Specification of basic notation</title>
            <seriesInfo name="ITU-T Recommendation X.680," value="ISO/IEC 8824-1:2015"/>
            <author>
              <organization>ITU-T</organization>
            </author>
            <date month="August" year="2015"/>
          </front>
        </reference>

        <reference anchor="X.681" target="https://www.itu.int/rec/T-REC-X.681">
          <front>
            <title>Information Technology - Abstract Syntax Notation One (ASN.1): Information object specification</title>
            <seriesInfo name="ITU-T Recommendation X.681," value="ISO/IEC 8824-2:2015"/>
            <author>
              <organization>ITU-T</organization>
            </author>
            <date month="August" year="2015"/>
          </front>
        </reference>

        <reference anchor="X.682" target="https://www.itu.int/rec/T-REC-X.682">
          <front>
            <title>Information Technology - Abstract Syntax Notation One (ASN.1): Constraint specification</title>
            <seriesInfo name="ITU-T Recommendation X.682," value="ISO/IEC 8824-3:2015"/>
            <author>
              <organization>ITU-T</organization>
            </author>
            <date month ="August" year="2015"/>
          </front>
        </reference>

        <reference anchor="X.683" target="https://www.itu.int/rec/T-REC-X.683">
          <front>
            <title>Information Technology - Abstract Syntax Notation One (ASN.1): Parameterization of ASN.1 specifications</title>
            <seriesInfo name="ITU-T Recommendation X.683," value="ISO/IEC 8824-4:2015"/>
            <author>
              <organization>ITU-T</organization>
            </author>
            <date month="August" year="2015"/>
          </front> 
        </reference>

        <reference anchor="X.690" target="https://www.itu.int/rec/T-REC-X.690">
          <front>
            <title>Information Technology - ASN.1 encoding rules: Specification of Basic Encoding Rules (BER), Canonical Encoding Rules (CER) and Distinguished Encoding Rules (DER)</title>
            <seriesInfo name="ITU-T Recommendation X.690," value="ISO/IEC 8825-1:2015"/>
            <author>
              <organization>ITU-T</organization>
            </author>
            <date month="August" year="2015"/>
          </front>
        </reference>

        <reference anchor="IEC62351">
          <front>
            <title>Power systems management and associated information exchange - Data and communications security - Part 9: Cyber security key management for power system equipment</title>
            <seriesInfo name="ISO/IEC" value="62351-9:2017"/>
            <author>
              <organization>International Electrotechnical Commission</organization>
            </author>
            <date month="May" year="2017"/>
          </front>
        </reference>

        <reference anchor="errata4384" quote-title="false"
		   target="https://www.rfc-editor.org/errata/eid4384"> 
          <front>
            <title>Erratum ID 4384</title>
            <author>
              <organization>RFC Errata</organization>
            </author>
          </front>
	  <refcontent>RFC 7030</refcontent>
        </reference>

        <reference anchor="errata5107" quote-title="false"
		   target="https://www.rfc-editor.org/errata/eid5107"> 
          <front>
            <title>Erratum ID 5107</title>
            <author>
              <organization>RFC Errata</organization>
            </author>
          </front>
	  <refcontent>RFC 7030</refcontent>
        </reference>

        <reference anchor="errata5108" quote-title="false"
		   target="https://www.rfc-editor.org/errata/eid5108">  
          <front>
            <title>Erratum ID 5108</title>
            <author>
              <organization>RFC Errata</organization>
            </author>
          </front>
	  <refcontent>RFC 7030</refcontent>
        </reference>

        <reference anchor="errata5904" quote-title="false"
		   target="https://www.rfc-editor.org/errata/eid5904"> 
          <front>
            <title>Erratum ID 5904</title>
            <author>
              <organization>RFC Errata</organization>
            </author>
          </front>
	  <refcontent>RFC 7030</refcontent>
        </reference>
        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.5272.xml"/>
        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.5273.xml"/>
        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml"/>
        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.5912.xml"/>
      </references>

      <references>
        <name>Informative References</name>

<!-- [I-D.ietf-anima-bootstrapping-keyinfra-44] in EDIT state as of 11/17/20-->
        <xi:include href="https://datatracker.ietf.org/doc/bibxml3/reference.I-D.ietf-anima-bootstrapping-keyinfra.xml"/>

        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.2616.xml"/>
        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.7230.xml"/>
        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.7231.xml"/>
        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.2985.xml"/>
        <xi:include href="https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.2307.xml"/>
      </references>
    </references>
    <section anchor="asn1-module" numbered="true" toc="default">
      <name>ASN.1 Module</name>
      <t>This annex provides the normative ASN.1 definitions for the
      structures described in this specification using ASN.1 as defined in
      <xref target="X.680" format="default"/>, <xref target="X.681"
      format="default"/>, <xref target="X.682" format="default"/>, and <xref
      target="X.683" format="default"/>.</t> 
      <t>The ASN.1 modules makes imports from the ASN.1 modules in <xref
      target="RFC5912" format="default"/> and <xref target="RFC6268"
      format="default"/>.</t> 
      <t>There is no ASN.1 Module in <xref target="RFC7030"
      format="default"/>.  This module has been created by combining the lines
      that are contained in the document body.</t> 

<sourcecode type="asn.1"><![CDATA[
PKIXEST-2019
     { iso(1) identified-organization(3) dod(6)
       internet(1) security(5) mechanisms(5) pkix(7) 
       id-mod(0) id-mod-est-2019(98) }

DEFINITIONS IMPLICIT TAGS ::=
BEGIN

-- EXPORTS ALL --

IMPORTS

Attribute
FROM CryptographicMessageSyntax-2010  -- [RFC6268]
      { iso(1) member-body(2) us(840) rsadsi(113549)
        pkcs(1) pkcs-9(9) smime(16) modules(0)
         id-mod-cms-2009(58) }

ATTRIBUTE
FROM PKIX-CommonTypes-2009 -- [RFC5912]
    { iso(1) identified-organization(3) dod(6) internet(1) 
      security(5) mechanisms(5) pkix(7) id-mod(0) 
      id-mod-pkixCommon-02(57) } ;


-- CSR Attributes

CsrAttrs ::= SEQUENCE SIZE (0..MAX) OF AttrOrOID

AttrOrOID ::= CHOICE {
   oid        OBJECT IDENTIFIER,
   attribute  Attribute {{AttrSet}} }

AttrSet ATTRIBUTE ::= { ... }


-- Asymmetric Decrypt Key Identifier Attribute

aa-asymmDecryptKeyID ATTRIBUTE ::=
    { TYPE AsymmetricDecryptKeyIdentifier
      IDENTIFIED BY id-aa-asymmDecryptKeyID }

id-aa-asymmDecryptKeyID OBJECT IDENTIFIER ::= { iso(1) 
    member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) 
    smime(16) aa(2) 54 }

AsymmetricDecryptKeyIdentifier ::= OCTET STRING

END
]]></sourcecode>
    </section>
    <section anchor="acknowledgements" numbered="false" toc="default">
      <name>Acknowledgements</name>
      <t>Huawei Technologies supported the efforts of <contact fullname="Wei Pan"/> and <contact fullname="Michael Richardson"/>.</t>
      <t>The ASN.1 Module was assembled by <contact fullname="Russ Housley"/>
      and formatted by <contact fullname="Sean Turner"/>. <contact
      fullname="Russ Housley"/> provided editorial review.</t> 
    </section>
  </back>


</rfc>
