CBOR Encoded Message Syntax
draft-ietf-cose-msg-01

The information below is for an old version of the document
Document Type Active Internet-Draft (cose WG)
Last updated 2015-07-05
Replaces draft-schaad-cose-msg
Stream IETF
Intended RFC status Proposed Standard
Formats plain text pdf html bibtex
Stream WG state WG Document
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
COSE Working Group                                             J. Schaad
Internet-Draft                                            August Cellars
Intended status: Informational                              July 5, 2015
Expires: January 6, 2016

                      CBOR Encoded Message Syntax
                         draft-ietf-cose-msg-01

Abstract

   Concise Binary Object Representation (CBOR) is data format designed
   for small code size and small message size.  There is a need for the
   ability to have the basic security services defined for this data
   format.  This document specifies how to do signatures, message
   authentication codes and encryption using this data format.

Contributing to this document

   The source for this draft is being maintained in GitHub.  Suggested
   changes should be submitted as pull requests at [1].  Instructions
   are on that page as well.  Editorial changes can be managed in
   GitHub, but any substantial issues need to be discussed on the COSE
   mailing list.

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 6, 2016.

Copyright Notice

   Copyright (c) 2015 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

Schaad                   Expires January 6, 2016                [Page 1]
Internet-Draft         CBOR Encoded Message Syntax             July 2015

   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  . . . . . . . . . . . . . . . . . . . . . . . .   3
     1.1.  Design changes from JOSE  . . . . . . . . . . . . . . . .   4
     1.2.  Requirements Terminology  . . . . . . . . . . . . . . . .   4
     1.3.  CBOR Grammar  . . . . . . . . . . . . . . . . . . . . . .   4
     1.4.  CBOR Related Terminology  . . . . . . . . . . . . . . . .   5
     1.5.  Mandatory to Implement Algorithms . . . . . . . . . . . .   5
   2.  The COSE_MSG structure  . . . . . . . . . . . . . . . . . . .   6
   3.  Header Parameters . . . . . . . . . . . . . . . . . . . . . .   9
     3.1.  COSE Headers  . . . . . . . . . . . . . . . . . . . . . .  10
   4.  Signing Structure . . . . . . . . . . . . . . . . . . . . . .  13
   5.  Encryption object . . . . . . . . . . . . . . . . . . . . . .  16
     5.1.  Key Management Methods  . . . . . . . . . . . . . . . . .  17
     5.2.  Encryption Algorithm for AEAD algorithms  . . . . . . . .  17
     5.3.  Encryption algorithm for AE algorithms  . . . . . . . . .  18
   6.  MAC objects . . . . . . . . . . . . . . . . . . . . . . . . .  19
   7.  Key Structure . . . . . . . . . . . . . . . . . . . . . . . .  21
     7.1.  COSE Key Map Labels . . . . . . . . . . . . . . . . . . .  21
   8.  CBOR Encoder Restrictions . . . . . . . . . . . . . . . . . .  24
   9.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .  24
     9.1.  CBOR Tag assignment . . . . . . . . . . . . . . . . . . .  24
     9.2.  COSE Object Labels Registry . . . . . . . . . . . . . . .  25
     9.3.  COSE Header Label Table . . . . . . . . . . . . . . . . .  25
     9.4.  COSE Header Algorithm Label Table . . . . . . . . . . . .  26
     9.5.  COSE Algorithm Registry . . . . . . . . . . . . . . . . .  26
     9.6.  COSE Key Map Registry . . . . . . . . . . . . . . . . . .  27
     9.7.  COSE Key Parameter Registry . . . . . . . . . . . . . . .  28
     9.8.  Media Type Registration . . . . . . . . . . . . . . . . .  28
       9.8.1.  COSE Security Message . . . . . . . . . . . . . . . .  28
       9.8.2.  COSE Key media type . . . . . . . . . . . . . . . . .  30
   10. Security Considerations . . . . . . . . . . . . . . . . . . .  32
   11. References  . . . . . . . . . . . . . . . . . . . . . . . . .  32
     11.1.  Normative References . . . . . . . . . . . . . . . . . .  32
Show full document text