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

Document Type Active Internet-Draft (individual)
Last updated 2017-03-13
Stream (None)
Intended RFC status (None)
Formats plain text pdf html 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: September 14, 2017                               March 13, 2017

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

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 binary UUIDs (tag 37),
   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 September 14, 2017.

Bormann & Leonard      Expires September 14, 2017               [Page 1]
Internet-Draft          CBOR Tags and Techniques              March 2017

Copyright Notice

   Copyright (c) 2017 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.  Tag Factoring and Tag Stacking with OID Arrays and Maps . . .  10
   8.  Applications and Examples of OIDs . . . . . . . . . . . . . .  13
   9.  Universally Unique Identifiers in CBOR  . . . . . . . . . . .  16
   10. Enumerations in CBOR  . . . . . . . . . . . . . . . . . . . .  18
   11. Binary Internet Messages and MIME Entities  . . . . . . . . .  22
   12. Applications and Examples of Messages and Entities  . . . . .  25
   13. X.690 Series Tags . . . . . . . . . . . . . . . . . . . . . .  25
   14. Regular Expression Clarification  . . . . . . . . . . . . . .  26
   15. Set and Multiset Technique  . . . . . . . . . . . . . . . . .  26
   16. Fruits Basket Example . . . . . . . . . . . . . . . . . . . .  27
   17. IANA Considerations . . . . . . . . . . . . . . . . . . . . .  28
   18. Security Considerations . . . . . . . . . . . . . . . . . . .  29
   19. References  . . . . . . . . . . . . . . . . . . . . . . . . .  30
   Appendix A.  Changes from -05 to -06  . . . . . . . . . . . . . .  32
   Appendix B.  Changes from -04 to -05  . . . . . . . . . . . . . .  32
   Appendix C.  Changes from -03 to -04  . . . . . . . . . . . . . .  32
   Appendix D.  Changes from -02 to -03  . . . . . . . . . . . . . .  33
Show full document text