oauth2.dev

enc

IESG

Registry Context

`enc` is the JWK `use` value for encryption. It is also used when designating keys used for key wrapping or public keys used for key agreement.

Technical Summary

RFC 7517 Section 4.2 defines `enc` as the encryption value of the case-sensitive JWK `use` parameter. The `use` member is optional unless the application requires it. When a use designation is desired, `enc` is used for keys that wrap other keys and for public keys used in key agreement operations.

When Used

When designating a JWK for encryption, key wrapping, or public-key agreement.

Normative Requirements

JWK producer

MAY
1
  1. RFC 7517 - Section 4.2

    Use values other than `sig` and `enc` for the JWK `use` member..

    Other values MAY be used.

OPTIONAL
1
  1. RFC 7517 - Section 4.2

    Omit the `use` member..

    Condition: Unless the application requires its presence.

    Use of the "use" member is OPTIONAL, unless the application requires its presence.

Validation Guidance

info

Recognize `enc` as the JWK `use` value defined for encryption.

info

Do not require the `use` member unless the application requires its presence.

error

Compare and process `use` values case-sensitively.

info

Recognize `enc` as the use designation for a key used to wrap another key and for a public key used in key agreement operations.

info

Allow for JWK `use` values other than `sig` and `enc`.

Reference

Details

Entry Id
enc
Use Member Value
enc
Use Description
Encryption
Change Controller
IESG
Reference
RFC7517 - Section 4.2