Robust XML Encoding Rules (RXER) for Abstract Syntax Notation One (ASN.1)
RFC 4910

 
Document Type RFC - Experimental (July 2007; No errata)
Was draft-legg-xed-rxer (individual in app area)
Last updated 2013-03-02
Stream IETF
Formats plain text pdf html
Stream WG state (None)
Consensus Unknown
Document shepherd No shepherd assigned
IESG IESG state RFC 4910 (Experimental)
Telechat date
Responsible AD Ted Hardie
Send notices to steven.legg@eb2bcom.com
Network Working Group                                            S. Legg
Request for Comments: 4910                                       eB2Bcom
Category: Experimental                                         D. Prager
                                                               July 2007

                  Robust XML Encoding Rules (RXER) for
                  Abstract Syntax Notation One (ASN.1)

Status of This Memo

   This memo defines an Experimental Protocol for the Internet
   community.  It does not specify an Internet standard of any kind.
   Discussion and suggestions for improvement are requested.
   Distribution of this memo is unlimited.

Copyright Notice

   Copyright (C) The IETF Trust (2007).

Abstract

   This document defines a set of Abstract Syntax Notation One (ASN.1)
   encoding rules, called the Robust XML Encoding Rules or RXER, that
   produce an Extensible Markup Language (XML) representation for values
   of any given ASN.1 data type.  Rules for producing a canonical RXER
   encoding are also defined.

Legg & Prager                 Experimental                      [Page 1]
RFC 4910               Robust XML Encoding Rules               July 2007

Table of Contents

   1. Introduction ....................................................3
   2. Conventions .....................................................4
   3. Definitions .....................................................5
   4. Additional Basic Types ..........................................6
      4.1. The Markup Type ............................................6
           4.1.1. Self-Containment ....................................9
           4.1.2. Normalization for Canonical Encoding Rules .........12
      4.2. The AnyURI Type ...........................................13
      4.3. The NCName Type ...........................................14
      4.4. The Name Type .............................................14
      4.5. The QName Type ............................................14
   5. Expanded Names for ASN.1 Types .................................15
   6. Encoding Rules .................................................17
      6.1. Identifiers ...............................................19
      6.2. Component Encodings .......................................20
           6.2.1. Referenced Components ..............................20
           6.2.2. Element Components .................................20
                  6.2.2.1. Namespace Properties for Elements .........22
                  6.2.2.2. Namespace Prefixes for Element Names ......24
           6.2.3. Attribute Components ...............................25
                  6.2.3.1. Namespace Prefixes for Attribute Names ....26
           6.2.4. Unencapsulated Components ..........................26
           6.2.5. Examples ...........................................27
      6.3. Standalone Encodings ......................................28
      6.4. Embedded ASN.1 Values .....................................28
      6.5. Type Referencing Notations ................................32
      6.6. TypeWithConstraint, SEQUENCE OF Type, and SET OF Type .....33
      6.7. Character Data Translations ...............................34
           6.7.1. Restricted Character String Types ..................35
           6.7.2. BIT STRING .........................................36
           6.7.3. BOOLEAN ............................................38
           6.7.4. ENUMERATED .........................................38
           6.7.5. GeneralizedTime ....................................39
           6.7.6. INTEGER ............................................41
           6.7.7. NULL ...............................................42
           6.7.8. ObjectDescriptor ...................................43
           6.7.9. OBJECT IDENTIFIER and RELATIVE-OID .................43
           6.7.10. OCTET STRING ......................................43
           6.7.11. QName .............................................44
                  6.7.11.1. Namespace Prefixes for Qualified Names ...44
           6.7.12. REAL ..............................................45
           6.7.13. UTCTime ...........................................46
           6.7.14. CHOICE as UNION ...................................47
           6.7.15. SEQUENCE OF as LIST ...............................50
      6.8. Combining Types ...........................................50
           6.8.1. CHARACTER STRING ...................................51

Legg & Prager                 Experimental                      [Page 2]
RFC 4910               Robust XML Encoding Rules               July 2007

           6.8.2. CHOICE .............................................51
Show full document text