Concise Binary Object Representation (CBOR) Tags for ASN.1 Object Identifiers
draft-bormann-cbor-tags-oid-02
Network Working Group C. Bormann
Internet-Draft Universitaet Bremen TZI
Intended status: Standards Track S. Leonard
Expires: July 9, 2016 Penango, Inc.
January 06, 2016
Concise Binary Object Representation (CBOR) Tags for
ASN.1 Object Identifiers
draft-bormann-cbor-tags-oid-02
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 CBOR
tags <<O>> and <<R>> [values TBD] for ASN.1 object identifiers. It
is intended as the reference document for the IANA registration of
the CBOR tags so defined.
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 9, 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
Bormann & Leonard Expires July 9, 2016 [Page 1]
Internet-Draft CBOR Tags for ASN.1 OIDs January 2016
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. ASN.1 Object Identifiers . . . . . . . . . . . . . . . . . . 3
3. Examples . . . . . . . . . . . . . . . . . . . . . . . . . . 4
4. Discussion . . . . . . . . . . . . . . . . . . . . . . . . . 6
5. Diagnostic Notation . . . . . . . . . . . . . . . . . . . . . 7
6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 7
7. Security Considerations . . . . . . . . . . . . . . . . . . . 8
8. References . . . . . . . . . . . . . . . . . . . . . . . . . 9
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 11
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.
Many IETF protocols carry ASN.1 object identifiers, originally
defined in 1988 [CCITT.X208.1988] and most recently in 2008 [X.680].
The ASN.1 Basic Encoding Rules (BER, [X.690]) specify the binary
encodings of both ASN.1 object identifiers and relative object
identifiers. The contents of these encodings can be carried in a
CBOR byte string.
This document defines two CBOR tags that cover the two kinds of ASN.1
object identifiers encoded in this way. It is intended as the
reference document for the IANA registration of the tags so defined.
1.1. Terminology
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
"OPTIONAL" in this document are to be interpreted as described in RFC
2119 [RFC2119].
The terminology of RFC 7049 applies; in particular the term "byte" is
used in its now customary sense as a synonym for "octet".
Bormann & Leonard Expires July 9, 2016 [Page 2]
Internet-Draft CBOR Tags for ASN.1 OIDs January 2016
2. ASN.1 Object Identifiers
The International Object Identifier tree [X.660] is a hierarchically
managed space of identifiers, each of which is uniquely represented
as a sequence of unsigned integers ("sub-identifiers") [X.680].
While these sequences can easily be represented in CBOR arrays of
Show full document text