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

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-09-15
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: March 19, 2015                                    Penango, Inc.
                                                      September 15, 2014

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

Abstract

   This document describes and discusses the text encodings of the
   Public-Key Infrastructure X.509 (PKIX), Public-Key Cryptography
   Standards (PKCS), and Cryptographic Message Syntax (CMS), 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 March 19, 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 19, 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.  Text Encoding of Certificates . . . . . . . . . . . . . . . .   7
     5.1.  Encoding  . . . . . . . . . . . . . . . . . . . . . . . .   7
     5.2.  Explanatory Text  . . . . . . . . . . . . . . . . . . . .   8
     5.3.  File Extension  . . . . . . . . . . . . . . . . . . . . .   9
   6.  Text Encoding of Certificate Revocation Lists . . . . . . . .   9
   7.  Text Encoding of PKCS #10 Certification Request Syntax  . . .  10
   8.  Text Encoding of PKCS #7 Cryptographic Message Syntax . . . .  11
   9.  Text Encoding of Cryptographic Message Syntax . . . . . . . .  11
   10. Text Encoding of PKCS #8 Private Key Info, and One Asymmetric
       Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  12
   11. Text Encoding of PKCS #8 Encrypted Private Key Info . . . . .  12
   12. Text Encoding of Attribute Certificates . . . . . . . . . . .  12
   13. Text Encoding of Subject Public Key Info  . . . . . . . . . .  13
   14. Security Considerations . . . . . . . . . . . . . . . . . . .  13
   15. IANA Considerations . . . . . . . . . . . . . . . . . . . . .  14
   16. Acknowledgements  . . . . . . . . . . . . . . . . . . . . . .  14
   17. References  . . . . . . . . . . . . . . . . . . . . . . . . .  14
     17.1.  Normative References . . . . . . . . . . . . . . . . . .  14
     17.2.  Informative References . . . . . . . . . . . . . . . . .  15
   Appendix A.  Non-Conforming Examples  . . . . . . . . . . . . . .  15
   Appendix B.  DER Expectations . . . . . . . . . . . . . . . . . .  17
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  18

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 text
   encodings of these 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