JSON Web Signature (JWS)
draft-ietf-jose-json-web-signature-08

The information below is for an old version of the document
Document Type Active Internet-Draft (jose WG)
Last updated 2012-12-28
Replaces draft-jones-json-web-signature
Stream IETF
Intended RFC status (None)
Formats plain text pdf html bibtex
Stream WG state WG Document (wg milestone: Jan 2014 - WGLC JSON object int... )
Document shepherd None
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
JOSE Working Group                                              M. Jones
Internet-Draft                                                 Microsoft
Intended status: Standards Track                              J. Bradley
Expires: June 30, 2013                                     Ping Identity
                                                             N. Sakimura
                                                                     NRI
                                                       December 27, 2012

                        JSON Web Signature (JWS)
                 draft-ietf-jose-json-web-signature-08

Abstract

   JSON Web Signature (JWS) is a means of representing content secured
   with digital signatures or Message Authentication Codes (MACs) using
   JavaScript Object Notation (JSON) data structures.  Cryptographic
   algorithms and identifiers for use with this specification are
   described in the separate JSON Web Algorithms (JWA) specification.
   Related encryption capabilities are described in the separate JSON
   Web Encryption (JWE) specification.

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 June 30, 2013.

Copyright Notice

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

Jones, et al.             Expires June 30, 2013                 [Page 1]
Internet-Draft          JSON Web Signature (JWS)           December 2012

   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 . . . . . . . . . . . . . . . . . . . . . . . . .  4
     1.1.  Notational Conventions . . . . . . . . . . . . . . . . . .  4
   2.  Terminology  . . . . . . . . . . . . . . . . . . . . . . . . .  4
   3.  JSON Web Signature (JWS) Overview  . . . . . . . . . . . . . .  5
     3.1.  Example JWS  . . . . . . . . . . . . . . . . . . . . . . .  6
   4.  JWS Header . . . . . . . . . . . . . . . . . . . . . . . . . .  7
     4.1.  Reserved Header Parameter Names  . . . . . . . . . . . . .  7
       4.1.1.  "alg" (Algorithm) Header Parameter . . . . . . . . . .  7
       4.1.2.  "jku" (JWK Set URL) Header Parameter . . . . . . . . .  8
       4.1.3.  "jwk" (JSON Web Key) Header Parameter  . . . . . . . .  8
       4.1.4.  "x5u" (X.509 URL) Header Parameter . . . . . . . . . .  8
       4.1.5.  "x5t" (X.509 Certificate Thumbprint) Header
               Parameter  . . . . . . . . . . . . . . . . . . . . . .  8
       4.1.6.  "x5c" (X.509 Certificate Chain) Header Parameter . . .  9
       4.1.7.  "kid" (Key ID) Header Parameter  . . . . . . . . . . .  9
       4.1.8.  "typ" (Type) Header Parameter  . . . . . . . . . . . .  9
       4.1.9.  "cty" (Content Type) Header Parameter  . . . . . . . . 10
     4.2.  Public Header Parameter Names  . . . . . . . . . . . . . . 10
     4.3.  Private Header Parameter Names . . . . . . . . . . . . . . 10
   5.  Producing and Consuming JWSs . . . . . . . . . . . . . . . . . 10
     5.1.  Message Signing or MACing  . . . . . . . . . . . . . . . . 10
     5.2.  Message Signature or MAC Validation  . . . . . . . . . . . 11
     5.3.  String Comparison Rules  . . . . . . . . . . . . . . . . . 12
   6.  Securing JWSs with Cryptographic Algorithms  . . . . . . . . . 13
   7.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . . 13
     7.1.  JSON Web Signature and Encryption Header Parameters
           Registry . . . . . . . . . . . . . . . . . . . . . . . . . 13
       7.1.1.  Registration Template  . . . . . . . . . . . . . . . . 14
       7.1.2.  Initial Registry Contents  . . . . . . . . . . . . . . 14
     7.2.  JSON Web Signature and Encryption Type Values Registry . . 15
       7.2.1.  Registration Template  . . . . . . . . . . . . . . . . 16
       7.2.2.  Initial Registry Contents  . . . . . . . . . . . . . . 16
     7.3.  Media Type Registration  . . . . . . . . . . . . . . . . . 16
Show full document text