Concise Binary Object Representation (CBOR) Tags and Techniques for Object Identifiers, Enumerations, Binary Entities, Regular Expressions, and Sets
draft-bormann-cbor-tags-oid-04

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Authors Carsten Bormann  , Sean Leonard 
Last updated 2016-07-08
Replaced by draft-ietf-cbor-tags-oid
Stream (None)
Intended RFC status (None)
Formats pdf htmlized (tools) htmlized bibtex
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                                         C. Bormann
Internet-Draft                                   Universitaet Bremen TZI
Updates: 7049 (if approved)                                   S. Leonard
Intended status: Standards Track                           Penango, Inc.
Expires: January 9, 2017                                   July 08, 2016

  Concise Binary Object Representation (CBOR) Tags and Techniques for
Object Identifiers, Enumerations, Binary Entities, Regular Expressions,
                                and Sets
                     draft-bormann-cbor-tags-oid-04

Abstract

   The Concise Binary Object Representation (CBOR, RFC 7049) is a data
   format whose design goals include the possibility of extremely small
   code size, fairly small message size, and extensibility without the
   need for version negotiation.

   Useful tags and techniques have emerged since the publication of RFC
   7049; the present document makes use of CBOR's built-in major types
   to define and refine several useful constructs, without changing the
   wire protocol.  This document adds object identifiers (OIDs) to CBOR
   with CBOR tags <<O>> and <<R>> [values TBD].  It is intended as the
   reference document for the IANA registration of the CBOR tags so
   defined.  Useful techniques for enumerations and sets are presented
   (without new tags).  As the documentation for MIME entities (tag 36)
   and regular expressions (tag 35) RFC 7049 left much out, this
   document provides more comprehensive specifications.

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 9, 2017.

Bormann & Leonard        Expires January 9, 2017                [Page 1]
Internet-Draft          CBOR Tags and Techniques               July 2016

Copyright Notice

   Copyright (c) 2016 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
   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.  Object Identifiers  . . . . . . . . . . . . . . . . . . . . .   4
   3.  Examples  . . . . . . . . . . . . . . . . . . . . . . . . . .   6
   4.  Discussion  . . . . . . . . . . . . . . . . . . . . . . . . .   8
   5.  Diagnostic Notation . . . . . . . . . . . . . . . . . . . . .   8
   6.  A New Arc for Concise OIDs  . . . . . . . . . . . . . . . . .   9
   7.  Enumerations in CBOR  . . . . . . . . . . . . . . . . . . . .  10
   8.  Tag Factoring and Tag Stacking with OID Arrays and Maps . . .  13
   9.  Applications and Examples of OIDs . . . . . . . . . . . . . .  17
   10. Binary Internet Messages and MIME Entities  . . . . . . . . .  20
   11. Applications and Examples of Messages and Entities  . . . . .  23
   12. X.690 Series Tags . . . . . . . . . . . . . . . . . . . . . .  23
   13. Regular Expression Clarification  . . . . . . . . . . . . . .  24
   14. Set and Multiset Technique  . . . . . . . . . . . . . . . . .  25
   15. Fruits Basket Example . . . . . . . . . . . . . . . . . . . .  25
   16. IANA Considerations . . . . . . . . . . . . . . . . . . . . .  26
   17. Security Considerations . . . . . . . . . . . . . . . . . . .  27
   18. References  . . . . . . . . . . . . . . . . . . . . . . . . .  28
   Appendix A.  Changes from -03 to -04  . . . . . . . . . . . . . .  30
   Appendix B.  Changes from -02 to -03  . . . . . . . . . . . . . .  31
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  31

1.  Introduction

   The Concise Binary Object Representation (CBOR, [RFC7049]) provides
   for the interchange of structured data without a requirement for a
   pre-agreed schema.  RFC 7049 defines a basic set of data types, as
   well as a tagging mechanism that enables extending the set of data
   types supported via an IANA registry.
Show full document text