JSON Web Key (JWK)
draft-ietf-jose-json-web-key-01

The information below is for an old version of the document
Document Type Active Internet-Draft (jose WG)
Author Michael Jones 
Last updated 2012-03-12
Replaces draft-jones-json-web-key
Stream IETF
Intended RFC status (None)
Formats pdf htmlized (tools) htmlized bibtex
Reviews
Stream WG state WG Document
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                          March 12, 2012
Expires: September 13, 2012

                           JSON Web Key (JWK)
                    draft-ietf-jose-json-web-key-01

Abstract

   A JSON Web Key (JWK) is a JSON data structure that represents a set
   of public keys.

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

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 September 13, 2012.

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
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must

Jones                  Expires September 13, 2012               [Page 1]
Internet-Draft                     JWK                        March 2012

   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
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . 3
   3.  JSON Web Key (JWK) Overview . . . . . . . . . . . . . . . . . . 3
     3.1.  Example JWK . . . . . . . . . . . . . . . . . . . . . . . . 3
   4.  JWK Format  . . . . . . . . . . . . . . . . . . . . . . . . . . 4
     4.1.  JWK Container Object Format . . . . . . . . . . . . . . . . 4
     4.2.  JWK Key Object Format . . . . . . . . . . . . . . . . . . . 5
       4.2.1.  JWK Key Object Members for Elliptic Curve Keys  . . . . 5
       4.2.2.  JWK Key Object Members for RSA Keys . . . . . . . . . . 6
   5.  Base64url encoding as used by JWKs  . . . . . . . . . . . . . . 7
   6.  IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 7
   7.  Security Considerations . . . . . . . . . . . . . . . . . . . . 7
   8.  Open Issues and Things To Be Done (TBD) . . . . . . . . . . . . 7
   9.  References  . . . . . . . . . . . . . . . . . . . . . . . . . . 7
     9.1.  Normative References  . . . . . . . . . . . . . . . . . . . 7
     9.2.  Informative References  . . . . . . . . . . . . . . . . . . 8
   Appendix A.  Acknowledgements . . . . . . . . . . . . . . . . . . . 8
   Appendix B.  Document History . . . . . . . . . . . . . . . . . . . 8
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . . . 8

Jones                  Expires September 13, 2012               [Page 2]
Internet-Draft                     JWK                        March 2012

1.  Introduction

   A JSON Web Key (JWK) is a JSON data structure that represents a set
   of public keys as a JSON object [RFC4627].  The JWK format is used to
   represent bare keys; representing certificate chains is an explicit
   non-goal of this specification.  JSON Web Keys are referenced in JSON
   Web Signature (JWS) [JWS] using the "jku" (JSON Key URL) header
   parameter and in JSON Web Encryption (JWE) [JWE] using the "jku"
   (JSON Key URL) and "epk" (Ephemeral Public Key) header parameters.

2.  Terminology

   JSON Web Key (JWK)  A JSON data structure that represents a set of
      public keys.  A JWK consists of a single JWK Container Object that
      contains an array of JWK Key Objects.

   JWK Container Object  A JSON object that contains an array of JWK Key
      Objects as a member.

   JWK Key Object  A JSON object that represents a single public key.

   Base64url Encoding  For the purposes of this specification, this term
      always refers to the URL- and filename-safe Base64 encoding
      described in RFC 4648 [RFC4648], Section 5, with the (non URL-
      safe) '=' padding characters omitted, as permitted by Section 3.2.
Show full document text