JOSE Working Group M. Jones
Internet-Draft Microsoft
Intended status: Standards Track May 28, 2013
Expires: November 29, 2013
JSON Web Key (JWK)
draft-ietf-jose-json-web-key-11
Abstract
A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data
structure that represents a cryptographic key. This specification
also defines a JSON Web Key Set (JWK Set) JSON data structure for
representing a set of JWKs. Cryptographic algorithms and identifiers
for use with this specification are described in the separate JSON
Web Algorithms (JWA) 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 November 29, 2013.
Copyright Notice
Copyright (c) 2013 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
Jones Expires November 29, 2013 [Page 1]
Internet-Draft JWK May 2013
described in the Simplified BSD License.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1. Notational Conventions . . . . . . . . . . . . . . . . . . 3
2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 3
3. JSON Web Key (JWK) Format . . . . . . . . . . . . . . . . . . 4
3.1. "kty" (Key Type) Parameter . . . . . . . . . . . . . . . . 4
3.2. "use" (Key Use) Parameter . . . . . . . . . . . . . . . . 5
3.3. "alg" (Algorithm) Parameter . . . . . . . . . . . . . . . 5
3.4. "kid" (Key ID) Parameter . . . . . . . . . . . . . . . . . 5
3.5. "x5u" (X.509 URL) Header Parameter . . . . . . . . . . . . 5
3.6. "x5t" (X.509 Certificate Thumbprint) Header Parameter . . 6
3.7. "x5c" (X.509 Certificate Chain) Parameter . . . . . . . . 6
4. JSON Web Key Set (JWK Set) Format . . . . . . . . . . . . . . 6
4.1. "keys" (JSON Web Key Set) Parameter . . . . . . . . . . . 6
5. String Comparison Rules . . . . . . . . . . . . . . . . . . . 6
6. Encrypted JWK and Encrypted JWK Set Formats . . . . . . . . . 7
7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 7
7.1. JSON Web Key Parameters Registry . . . . . . . . . . . . . 8
7.1.1. Registration Template . . . . . . . . . . . . . . . . 8
7.1.2. Initial Registry Contents . . . . . . . . . . . . . . 8
7.2. JSON Web Key Set Parameters Registry . . . . . . . . . . . 9
7.2.1. Registration Template . . . . . . . . . . . . . . . . 9
7.2.2. Initial Registry Contents . . . . . . . . . . . . . . 10
7.3. JSON Web Signature and Encryption Type Values
Registration . . . . . . . . . . . . . . . . . . . . . . . 10
7.3.1. Registry Contents . . . . . . . . . . . . . . . . . . 10
7.4. Media Type Registration . . . . . . . . . . . . . . . . . 10
7.4.1. Registry Contents . . . . . . . . . . . . . . . . . . 10
8. Security Considerations . . . . . . . . . . . . . . . . . . . 11
9. References . . . . . . . . . . . . . . . . . . . . . . . . . . 12
9.1. Normative References . . . . . . . . . . . . . . . . . . . 12
9.2. Informative References . . . . . . . . . . . . . . . . . . 13
Appendix A. Example JSON Web Key Sets . . . . . . . . . . . . . . 14
A.1. Example Public Keys . . . . . . . . . . . . . . . . . . . 14
A.2. Example Private Keys . . . . . . . . . . . . . . . . . . . 15