Textual Encodings of PKIX, PKCS, and CMS Structures
draft-josefsson-pkix-textual-07

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-11-03 (latest revision 2014-09-24)
Stream Internent Engineering Task Force (IETF)
Formats pdf htmlized (tools) htmlized bibtex
Reviews
Stream WG state Submitted to IESG for Publication
Document shepherd Yoav Nir
Shepherd write-up Show (last changed 2014-10-30)
IESG IESG state In Last Call
Consensus Boilerplate Unknown
Telechat date
Responsible AD Kathleen Moriarty
Send notices to simon@josefsson.org, draft-josefsson-pkix-textual.all@tools.ietf.org, ynir.ietf@gmail.com, dev+ietf@seantek.com
IANA IANA review state IANA - Review Needed
Network Working Group                                       S. Josefsson
Internet-Draft                                                    SJD AB
Intended status: Standards Track                              S. Leonard
Expires: March 28, 2015                                    Penango, Inc.
                                                      September 24, 2014

          Textual Encodings of PKIX, PKCS, and CMS Structures
                    draft-josefsson-pkix-textual-07

Abstract

   This document describes and discusses the textual encodings of the
   Public-Key Infrastructure X.509 (PKIX), Public-Key Cryptography
   Standards (PKCS), and Cryptographic Message Syntax (CMS).  The
   textual 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.

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 March 28, 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
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect

Josefsson & Leonard      Expires March 28, 2015                 [Page 1]
Internet-Draft                pkix-textual                September 2014

   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  . . . . . . . . . . . . . . . . . . .   4
   3.  ABNF  . . . . . . . . . . . . . . . . . . . . . . . . . . . .   5
   4.  Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . .   6
   5.  Textual Encoding of Certificates  . . . . . . . . . . . . . .   7
     5.1.  Encoding  . . . . . . . . . . . . . . . . . . . . . . . .   7
     5.2.  Explanatory Text  . . . . . . . . . . . . . . . . . . . .   8
     5.3.  File Extension  . . . . . . . . . . . . . . . . . . . . .   8
   6.  Textual Encoding of Certificate Revocation Lists  . . . . . .   8
   7.  Textual Encoding of PKCS #10 Certification Request Syntax . .   9
   8.  Textual Encoding of PKCS #7 Cryptographic Message Syntax  . .  10
   9.  Textual Encoding of Cryptographic Message Syntax  . . . . . .  10
   10. Textual Encoding of PKCS #8 Private Key Info, and One
       Asymmetric Key  . . . . . . . . . . . . . . . . . . . . . . .  11
   11. Textual Encoding of PKCS #8 Encrypted Private Key Info  . . .  11
   12. Textual Encoding of Attribute Certificates  . . . . . . . . .  11
   13. Textual Encoding of Subject Public Key Info . . . . . . . . .  12
   14. Security Considerations . . . . . . . . . . . . . . . . . . .  12
   15. IANA Considerations . . . . . . . . . . . . . . . . . . . . .  13
   16. Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  13
   17. References  . . . . . . . . . . . . . . . . . . . . . . . . .  13
     17.1.  Normative References . . . . . . . . . . . . . . . . . .  13
     17.2.  Informative References . . . . . . . . . . . . . . . . .  14
   Appendix A.  Non-Conforming Examples  . . . . . . . . . . . . . .  14
   Appendix B.  DER Expectations . . . . . . . . . . . . . . . . . .  16
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  17

1.  Introduction

   Several security-related standards used on the Internet define ASN.1
   data formats that are normally encoded using the Basic Encoding Rules
   (BER) or Distinguished Encoding Rules (DER) [X.690], which are
   binary, octet-oriented encodings.  This document is about the textual
   encodings of the following formats:

   1.  Certificates, Certificate Revocation Lists (CRLs), and Subject
       Public Key Info structures in the Internet X.509 Public Key
       Infrastructure Certificate and Certificate Revocation List (CRL)
Show full document text