Skip to main content

JOSE Direct Compact Serialization
draft-hallambaker-joseunencoded-00

The information below is for an old version of the document.
Document Type
This is an older version of an Internet-Draft whose latest revision state is "Expired".
Author Phillip Hallam-Baker
Last updated 2015-03-24
RFC stream (None)
Formats
Additional resources
Stream Stream state (No stream defined)
Consensus boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date (None)
Responsible AD (None)
Send notices to (None)
draft-hallambaker-joseunencoded-00
Internet Engineering Task Force (IETF)              Phillip Hallam-Baker
INTERNET-DRAFT                                         Comodo Group Inc.
Intended Status: Standards Track                          March 24, 2015
Expires: September 25, 2015

                   JOSE Direct Compact Serialization
                   draft-hallambaker-joseunencoded-00

Abstract

   An alternative serialization for JOSE signatures is presented in 
   which the headers, signature and payload are encoded directly, 
   without Base64 encoding. Use of this format requires the use of a 
   binary transport that does not

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."

Copyright Notice

   Copyright (c) 2015 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.

Hallam-Baker               September 25, 2015                   [Page 1]


Internet-Draft        JOSE Unencoded Serialization            March 2015

Table of Contents

   1.  Definitions  . . . . . . . . . . . . . . . . . . . . . . . . .  3
      1.1.  Requirements Language . . . . . . . . . . . . . . . . . .  3
   2.  Serialization  . . . . . . . . . . . . . . . . . . . . . . . .  3
   3.  Acknowledgements . . . . . . . . . . . . . . . . . . . . . . .  3
   4.  Security Considerations  . . . . . . . . . . . . . . . . . . .  3
   5.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . .  3
   6.  References . . . . . . . . . . . . . . . . . . . . . . . . . .  4
      6.1.  Normative References  . . . . . . . . . . . . . . . . . .  4
   Author's Address . . . . . . . . . . . . . . . . . . . . . . . . .  5

Hallam-Baker               September 25, 2015                   [Page 2]


Internet-Draft        JOSE Unencoded Serialization            March 2015

1. Definitions

1.1. Requirements Language

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", 
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this 
   document are to be interpreted as described in RFC 2119 [RFC2119].

2. Serialization

   In the JWS Direct Serialization, no JWS Unprotected Header is used. 
   In this case, the JOSE Header and the JWS Protected Header are the 
   same.

   In the JWS Direct Serialization, a JWS is represented as the 
   concatenation:

   UTF8(JWS Protected Header)) || '.' || (JWS Payload) || '.' ||

   (JWS Signature)

   The calculation of the signature is performed over the octet sequence
   that corresponds to the concatenation:

   UTF8(JWS Protected Header)) || '.' || (JWS Payload) || '.'

3. Acknowledgements

   Mike Jones provided advice on an early version of this proposal.

4. Security Considerations

   The security considerations presented in [draft-ietf-jose-json-web-
   signature] apply.

Hallam-Baker               September 25, 2015                   [Page 3]


Internet-Draft        JOSE Unencoded Serialization            March 2015

5. IANA Considerations

   o  Type name: application

   o  Subtype name: jose+jsonu

   o  Required parameters: n/a

   o  Optional parameters: n/a

   o  Encoding considerations: 8bit; application/jose+jsonu values are

   represented as a JSON Object; UTF-8 encoding SHOULD be employed

   for the JSON object.

   o  Security considerations: See the Security Considerations section

   of [[!draft-ietf-jose-json-web-signature]

   o  Interoperability considerations: n/a

   o  Published specification: [!draft-ietf-jose-json-web-signature]

   o  Applications that use this media type: TBD

   o  Fragment identifier considerations: n/a

   o  Additional information: Magic number(s): n/a, File extension(s):

   n/a, Macintosh file type code(s): n/a

   o  Person & email address to contact for further information: Michael

   B. Jones, mbj@microsoft.com

   o  Intended usage: COMMON

   o  Restrictions on usage: none

   o  Author: Phillip Hallam-Baker (phill@hallambaker.com)

   o  Change Controller: IESG

   o  Provisional registration?  No

Hallam-Baker               September 25, 2015                   [Page 4]


Internet-Draft        JOSE Unencoded Serialization            March 2015

6. References

6.1. Normative References

   [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate 
              Requirement Levels", BCP 14, RFC 2119, March 1997.

   [draft-ietf-jose-json-web-signature]  , "[Reference Not Found!]".

Author's Address

   Phillip Hallam-Baker
   Comodo Group Inc.

   philliph@comodo.com

Hallam-Baker               September 25, 2015                   [Page 5]