Text Encodings of Some Security Related Structures
draft-josefsson-pkix-textual-00

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Author Simon Josefsson 
Last updated 2012-01-27
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: Informational                          January 27, 2012
Expires: July 30, 2012

           Text Encodings of Some Security Related Structures
                    draft-josefsson-pkix-textual-00

Abstract

   This document describe and discuss the text encodings of Public-Key
   Infrastructure using X.509 (PKIX) Certificates, PKIX Certificate
   Revocation Lists (CRLs), PKCS #10 Certificate Request Syntax, PKCS #7
   structures, and Attribute Certificates.  The text encodings are well-
   known, implemented by several applications and libraries, and is
   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 July 30, 2012.

Copyright Notice

   Copyright (c) 2012 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
   to this document.  Code Components extracted from this document must

Josefsson                 Expires July 30, 2012                 [Page 1]
Internet-Draft       Security-Related Text Encodings        January 2012

   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 . . . . . . . . . . . . . . . . . . . . . . . . .  3
   2.  General Considerations . . . . . . . . . . . . . . . . . . . .  3
   3.  Text Encoding of PKIX Certificate  . . . . . . . . . . . . . .  4
   4.  Text Encoding of PKIX CRLs . . . . . . . . . . . . . . . . . .  5
   5.  Text Encoding of PKCS #10 Certification Request Syntax . . . .  5
   6.  Text Encoding of PKCS #7 Cryptographic Message Syntax  . . . .  6
   7.  Text Encoding of Attribute Certificates  . . . . . . . . . . .  6
   8.  Non-comforming Examples  . . . . . . . . . . . . . . . . . . .  7
   9.  Security Considerations  . . . . . . . . . . . . . . . . . . .  8
   10. IANA Considerations  . . . . . . . . . . . . . . . . . . . . .  9
   11. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . .  9
   12. References . . . . . . . . . . . . . . . . . . . . . . . . . .  9
     12.1.  Normative References  . . . . . . . . . . . . . . . . . .  9
     12.2.  Informative References  . . . . . . . . . . . . . . . . . 10
   Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 10

Josefsson                 Expires July 30, 2012                 [Page 2]
Internet-Draft       Security-Related Text Encodings        January 2012

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.  In
   particular, we describe text encodings for the following 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].
   4.  An Internet Attribute Certificate Profile for Authorization
       [RFC5755].

   One motivation for a text encoding is that a binary data format has
   the disadvantage that it cannot be interchanged in textual
   transports, such as e-mail or text documents.  One advantage with
   text encodings is that they are easy to modify without special-
   purpose tools; for example, using a text editor you may concatenate
   several certificates to form a certificate chain.

   The exact history of the text encodings are unknown to the author of
Show full document text