Skip to main content

RFC 7518 - JSON Web Algorithms (JWA)

Publication Date: May 2015
Status: Standards Track
Author: M. Jones (Microsoft)


Abstract

This specification registers cryptographic algorithms and identifiers to be used with the JSON Web Signature (JWS), JSON Web Encryption (JWE), and JSON Web Key (JWK) specifications. It defines several IANA registries for these identifiers.


Table of Contents

Appendices


JOSE Specification Series

  • RFC 7515 - JSON Web Signature (JWS)
  • RFC 7516 - JSON Web Encryption (JWE)
  • RFC 7517 - JSON Web Key (JWK)
  • RFC 7518 - JSON Web Algorithms (JWA) ← This Document
  • RFC 7519 - JSON Web Token (JWT)

Core Algorithm Overview

Digital Signature and MAC Algorithms

  • HS256, HS384, HS512 - HMAC with SHA-2
  • RS256, RS384, RS512 - RSASSA-PKCS1-v1_5
  • ES256, ES384, ES512 - ECDSA
  • PS256, PS384, PS512 - RSASSA-PSS
  • none - No integrity protection (not recommended)

Key Management Algorithms

  • RSA1_5, RSA-OAEP, RSA-OAEP-256 - RSA Key Encryption
  • A128KW, A192KW, A256KW - AES Key Wrap
  • dir - Direct use of shared symmetric key
  • ECDH-ES, ECDH-ES+A128KW, ECDH-ES+A192KW, ECDH-ES+A256KW - ECDH Key Agreement
  • A128GCMKW, A192GCMKW, A256GCMKW - AES GCM Key Encryption
  • PBES2-HS256+A128KW, PBES2-HS384+A192KW, PBES2-HS512+A256KW - Password-Based Key Encryption

Content Encryption Algorithms

  • A128CBC-HS256, A192CBC-HS384, A256CBC-HS512 - AES CBC with HMAC SHA-2
  • A128GCM, A192GCM, A256GCM - AES GCM