Text Encodings of PKIX and CMS Structures
draft-josefsson-pkix-textual-05

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Authors Simon Josefsson  , Sean Leonard 
Last updated 2014-07-03
Stream (None)
Intended RFC status (None)
Formats pdf htmlized (tools) htmlized bibtex
Reviews
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                       S. Josefsson
Internet-Draft                                                    SJD AB
Intended status: Standards Track                              S. Leonard
Expires: January 4, 2015                                   Penango, Inc.
                                                            July 3, 2014

               Text Encodings of PKIX and CMS Structures
                    draft-josefsson-pkix-textual-05

Abstract

   This document describes and discusses the text encodings of Public-
   Key Infrastructure using X.509 (PKIX) Certificates, PKIX Certificate
   Revocation Lists (CRLs), PKCS #10 Certification Request Syntax, PKCS
   #7 structures, Cryptographic Message Syntax (CMS), PKCS #8 Private-
   Key Information Syntax, and Attribute Certificates.  The text
   encodings are well-known, are implemented by several applications and
   libraries, and are widely deployed.  This document is intended to
   articulate the de-facto rules that existing implementations operate
   by, and to give recommendations that will promote interoperability
   going forward.

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 http://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 January 4, 2015.

Copyright Notice

   Copyright (c) 2014 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of

Josefsson & Leonard      Expires January 4, 2015                [Page 1]
Internet-Draft                pkix-textual                     July 2014

   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  General Considerations  . . . . . . . . . . . . . . . . . . .   3
   3.  ABNF  . . . . . . . . . . . . . . . . . . . . . . . . . . . .   4
   4.  Text Encoding of PKIX Certificates  . . . . . . . . . . . . .   6
     4.1.  Encoding  . . . . . . . . . . . . . . . . . . . . . . . .   6
     4.2.  Explanatory Text  . . . . . . . . . . . . . . . . . . . .   6
     4.3.  File Extension  . . . . . . . . . . . . . . . . . . . . .   7
   5.  Text Encoding of PKIX CRLs  . . . . . . . . . . . . . . . . .   7
   6.  Text Encoding of PKCS #10 Certification Request Syntax  . . .   8
   7.  Text Encoding of PKCS #7 Cryptographic Message Syntax . . . .   9
   8.  Text Encoding of Cryptographic Message Syntax . . . . . . . .   9
   9.  Text Encoding of PKCS #8 Private Key Info, and One Asymmetric
       Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  10
   10. Text Encoding of PKCS #8 Encrypted Private Key Info . . . . .  10
   11. Text Encoding of Attribute Certificates . . . . . . . . . . .  10
   12. Security Considerations . . . . . . . . . . . . . . . . . . .  11
   13. IANA Considerations . . . . . . . . . . . . . . . . . . . . .  11
   14. Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  11
   15. References  . . . . . . . . . . . . . . . . . . . . . . . . .  12
     15.1.  Normative References . . . . . . . . . . . . . . . . . .  12
     15.2.  Informative References . . . . . . . . . . . . . . . . .  12
   Appendix A.  Non-Conforming Examples  . . . . . . . . . . . . . .  13
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  14

1.  Introduction

   Several security-related standards used on the Internet define data
   formats that are normally encoded using Distinguished Encoding Rules
   (DER) [CCITT.X690.2002], which is a binary data format.  This
   document is about text encodings of some of these formats:

   1.  Internet X.509 Public Key Infrastructure Certificate and
       Certificate Revocation List (CRL) Profile [RFC5280], for both
       Certificates and Certificate Revocation Lists (CRLs).

   2.  PKCS #10: Certification Request Syntax [RFC2986].

   3.  PKCS #7: Cryptographic Message Syntax [RFC2315].
Show full document text