datatracker.ietf.org
Sign in
Version 5.3.0, 2014-04-12
Report a bug

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

Document type: Active Internet-Draft (jose WG)
Document stream: IETF
Last updated: 2014-04-12 (latest revision 2014-03-31)
Intended RFC status: Proposed Standard
Other versions: plain text, xml, pdf, html

IETF State: Submitted to IESG for Publication Jan 2014
Consensus: Unknown
Document shepherd: Karen O'Donoghue
Shepherd Write-Up: Last changed 2014-04-12

IESG State: Publication Requested
Responsible AD: Kathleen Moriarty
Send notices to: jose-chairs@tools.ietf.org, draft-ietf-jose-json-web-signature@tools.ietf.org

JOSE Working Group                                              M. Jones
Internet-Draft                                                 Microsoft
Intended status: Standards Track                              J. Bradley
Expires: October 2, 2014                                   Ping Identity
                                                             N. Sakimura
                                                                     NRI
                                                          March 31, 2014

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

Abstract

   JSON Web Signature (JWS) represents content secured with digital
   signatures or Message Authentication Codes (MACs) using JavaScript
   Object Notation (JSON) based data structures.  Cryptographic
   algorithms and identifiers for use with this specification are
   described in the separate JSON Web Algorithms (JWA) specification and
   an IANA registry defined by that 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 October 2, 2014.

Copyright Notice

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

Jones, et al.            Expires October 2, 2014                [Page 1]
Internet-Draft          JSON Web Signature (JWS)              March 2014

   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 . . . . . . . . . . . . . . . . . . . . . . . . .  4
     1.1.  Notational Conventions . . . . . . . . . . . . . . . . . .  4
   2.  Terminology  . . . . . . . . . . . . . . . . . . . . . . . . .  5
   3.  JSON Web Signature (JWS) Overview  . . . . . . . . . . . . . .  6
     3.1.  Example JWS  . . . . . . . . . . . . . . . . . . . . . . .  8
   4.  JWS Header . . . . . . . . . . . . . . . . . . . . . . . . . .  9
     4.1.  Registered Header Parameter Names  . . . . . . . . . . . .  9
       4.1.1.  "alg" (Algorithm) Header Parameter . . . . . . . . . . 10
       4.1.2.  "jku" (JWK Set URL) Header Parameter . . . . . . . . . 10
       4.1.3.  "jwk" (JSON Web Key) Header Parameter  . . . . . . . . 10
       4.1.4.  "kid" (Key ID) Header Parameter  . . . . . . . . . . . 10
       4.1.5.  "x5u" (X.509 URL) Header Parameter . . . . . . . . . . 11
       4.1.6.  "x5c" (X.509 Certificate Chain) Header Parameter . . . 11
       4.1.7.  "x5t" (X.509 Certificate SHA-1 Thumbprint) Header
               Parameter  . . . . . . . . . . . . . . . . . . . . . . 11
       4.1.8.  "typ" (Type) Header Parameter  . . . . . . . . . . . . 12
       4.1.9.  "cty" (Content Type) Header Parameter  . . . . . . . . 12
       4.1.10. "crit" (Critical) Header Parameter . . . . . . . . . . 13
     4.2.  Public Header Parameter Names  . . . . . . . . . . . . . . 13
     4.3.  Private Header Parameter Names . . . . . . . . . . . . . . 14
   5.  Producing and Consuming JWSs . . . . . . . . . . . . . . . . . 14
     5.1.  Message Signature or MAC Computation . . . . . . . . . . . 14
     5.2.  Message Signature or MAC Validation  . . . . . . . . . . . 15
     5.3.  String Comparison Rules  . . . . . . . . . . . . . . . . . 16
   6.  Key Identification . . . . . . . . . . . . . . . . . . . . . . 16
   7.  Serializations . . . . . . . . . . . . . . . . . . . . . . . . 17
     7.1.  JWS Compact Serialization  . . . . . . . . . . . . . . . . 17
     7.2.  JWS JSON Serialization . . . . . . . . . . . . . . . . . . 17

[include full document text]