Concise Binary Object Representation (CBOR) Tag for CBOR Templates
draft-bormann-lpwan-cbor-template-01

Document Type Active Internet-Draft (individual)
Last updated 2017-07-16
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
Intended status: Informational                             July 17, 2017
Expires: January 18, 2018

   Concise Binary Object Representation (CBOR) Tag for CBOR Templates
                  draft-bormann-lpwan-cbor-template-01

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.

   The present document makes use of this extensibility to define a CBOR
   tag for a variable within a CBOR data item, which then could be
   filled in by a separate process (e.g., from another CBOR data item).

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 18, 2018.

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

Bormann                 Expires January 18, 2018                [Page 1]
Internet-Draft           CBOR tag for templates                July 2017

   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.  Variable  . . . . . . . . . . . . . . . . . . . . . . . . . .   2
     2.1.  Example . . . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  CDDL typename . . . . . . . . . . . . . . . . . . . . . . . .   3
   4.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   4
   5.  Security Considerations . . . . . . . . . . . . . . . . . . .   4
   6.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   5
     6.1.  Normative References  . . . . . . . . . . . . . . . . . .   5
     6.2.  Informative References  . . . . . . . . . . . . . . . . .   5
   Contributors  . . . . . . . . . . . . . . . . . . . . . . . . . .   5
   Acknowledgements  . . . . . . . . . . . . . . . . . . . . . . . .   5
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .   5

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.

   With the work on static compression for CoAP [RFC7252] and CoAP
   application protocols [I-D.ietf-core-comi] on LPWANs
   [I-D.ietf-lpwan-coap-static-context-hc], there appears to be a need
   for defining CBOR data items that have within them some open
   positions in them that can later be filled in from a separate source
   (such as another CBOR data item).  The anchor points for this
   substitution are called "variables" in this specification.

   This document defines a CBOR tag for a variable in a CBOR data item.
   It is intended as the reference document for the IANA registration of
   the tag defined.

2.  Variable

   A variable is a CBOR data item that typically is included as a part
   of a larger data item (the "CBOR template").  In a process that is
   outside the scope of this specification, the variable is then
   substituted by an actual value in order to yield an instance from the
   template.

Bormann                 Expires January 18, 2018                [Page 2]
Internet-Draft           CBOR tag for templates                July 2017
Show full document text