JSON Web Algorithms (JWA)
draft-ietf-jose-json-web-algorithms-01

The information below is for an old version of the document
Document Type Active Internet-Draft (jose WG)
Last updated 2012-03-12
Stream IETF
Intended RFC status (None)
Formats pdf 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 Algorithms (JWA)
                 draft-ietf-jose-json-web-algorithms-01

Abstract

   The JSON Web Algorithms (JWA) specification enumerates cryptographic
   algorithms and identifiers to be used with the JSON Web Signature
   (JWS) and JSON Web Encryption (JWE) specifications.

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

Jones                  Expires September 13, 2012               [Page 1]
Internet-Draft          JSON Web Algorithms (JWA)             March 2012

   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 . . . . . . . . . . . . . . . . . . . . . . . . .  3
   2.  Terminology  . . . . . . . . . . . . . . . . . . . . . . . . .  3
   3.  Cryptographic Algorithms for JWS . . . . . . . . . . . . . . .  3
     3.1.  Creating a JWS with HMAC SHA-256, HMAC SHA-384, or
           HMAC SHA-512 . . . . . . . . . . . . . . . . . . . . . . .  4
     3.2.  Creating a JWS with RSA SHA-256, RSA SHA-384, or RSA
           SHA-512  . . . . . . . . . . . . . . . . . . . . . . . . .  5
     3.3.  Creating a JWS with ECDSA P-256 SHA-256, ECDSA P-384
           SHA-384, or ECDSA P-521 SHA-512  . . . . . . . . . . . . .  6
     3.4.  Creating a Plaintext JWS . . . . . . . . . . . . . . . . .  7
     3.5.  Additional Digital Signature/HMAC Algorithms . . . . . . .  7
   4.  Cryptographic Algorithms for JWE . . . . . . . . . . . . . . .  8
     4.1.  Encrypting a JWE with TBD  . . . . . . . . . . . . . . . .  9
     4.2.  Additional Encryption Algorithms . . . . . . . . . . . . .  9
   5.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . . 10
   6.  Security Considerations  . . . . . . . . . . . . . . . . . . . 10
   7.  Open Issues and Things To Be Done (TBD)  . . . . . . . . . . . 10
   8.  References . . . . . . . . . . . . . . . . . . . . . . . . . . 11
     8.1.  Normative References . . . . . . . . . . . . . . . . . . . 11
     8.2.  Informative References . . . . . . . . . . . . . . . . . . 12
   Appendix A.  Digital Signature/HMAC Algorithm Identifier
                Cross-Reference . . . . . . . . . . . . . . . . . . . 13
   Appendix B.  Encryption Algorithm Identifier Cross-Reference . . . 15
   Appendix C.  Acknowledgements  . . . . . . . . . . . . . . . . . . 19
   Appendix D.  Document History  . . . . . . . . . . . . . . . . . . 19
   Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 19

Jones                  Expires September 13, 2012               [Page 2]
Internet-Draft          JSON Web Algorithms (JWA)             March 2012

1.  Introduction

   The JSON Web Algorithms (JWA) specification enumerates cryptographic
   algorithms and identifiers to be used with the JSON Web Signature
   (JWS) [JWS] and JSON Web Encryption (JWE) [JWE] specifications.
   Enumerating the algorithms and identifiers for them in this
   specification, rather than in the JWS and JWE specifications, is
   intended to allow them to remain unchanged in the face of changes in
   the set of required, recommended, optional, and deprecated algorithms
   over time.  This specification also describes the semantics and
   operations that are specific to these algorithms and algorithm
Show full document text