JOSE Working Group M. Jones
Internet-Draft Microsoft
Intended status: Standards Track December 27, 2012
Expires: June 30, 2013
JSON Private and Symmetric Key
draft-jones-jose-json-private-and-symmetric-key-00
Abstract
The JSON Private Key specification extends the JSON Web Key (JWK) and
JSON Web Algorithms (JWA) specifications to define JavaScript Object
Notation (JSON) representations of private keys and symmetric keys.
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
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.
Jones Expires June 30, 2013 [Page 1]
Internet-Draft JSON Private and Symmetric Key December 2012
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1. Notational Conventions . . . . . . . . . . . . . . . . . . 3
2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 3
3. JWK Parameters for Private Keys . . . . . . . . . . . . . . . 3
3.1. JWK Parameters for Elliptic Curve Private Keys . . . . . . 3
3.1.1. "d" (ECC Private Key) Parameter . . . . . . . . . . . 3
3.2. JWK Parameters for RSA Private Keys . . . . . . . . . . . 3
3.2.1. "d" (Private Exponent) Parameter . . . . . . . . . . . 4
3.2.2. "p" (First Prime Factor) Parameter . . . . . . . . . . 4
3.2.3. "q" (Second Prime Factor) Parameter . . . . . . . . . 4
3.2.4. "dp" (First Factor CRT Exponent) Parameter . . . . . . 4
3.2.5. "dq" (Second Factor CRT Exponent) Parameter . . . . . 4
3.2.6. "qi" (First CRT Coefficient) Parameter . . . . . . . . 4
3.2.7. "oth" (Other Primes Info) Parameter . . . . . . . . . 4
3.2.7.1. "r" (Prime Factor) . . . . . . . . . . . . . . . . 5
3.2.7.2. "d" (Factor CRT Exponent) . . . . . . . . . . . . 5
3.2.7.3. "t" (Factor CRT Coefficient) . . . . . . . . . . . 5
4. JWK Parameters for Symmetric Keys . . . . . . . . . . . . . . 5
4.1. "k" (Key Value) Parameter . . . . . . . . . . . . . . . . 5
5. Example Private Keys . . . . . . . . . . . . . . . . . . . . . 5
6. Example Symmetric Keys . . . . . . . . . . . . . . . . . . . . 7
7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 7
7.1. JSON Web Key Types Registration . . . . . . . . . . . . . 7
7.1.1. Registry Contents . . . . . . . . . . . . . . . . . . 7
7.2. JSON Web Key Parameters Registration . . . . . . . . . . . 7
7.2.1. Registry Contents . . . . . . . . . . . . . . . . . . 7
8. Security Considerations . . . . . . . . . . . . . . . . . . . 8
9. Normative References . . . . . . . . . . . . . . . . . . . . . 9
Appendix A. Acknowledgements . . . . . . . . . . . . . . . . . . 9
Appendix B. Document History . . . . . . . . . . . . . . . . . . 9
Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 10
Jones Expires June 30, 2013 [Page 2]
Internet-Draft JSON Private and Symmetric Key December 2012
1. Introduction
The JSON Private Key specification extends the JSON Web Key (JWK)