Visual RFC.
ALL RFCs / RFC 7517
Read the RFC ↗
RFC 7517 / MECHANISMS

Use and operations constrain keys

03

A key intended for signing should not automatically be used for unrelated operations.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

DIAGRAM§ 4.2 ↗
RFC 7517 · § 4.2EXAMPLE
3 / 3
Use and operations constrain keysA key intended for signing should not automatically be used for unrelated operations. Current state: Wrong operation.Use and operations constrain keysuse: sigkey_ops: [verify]verifydecryptwrong operation
03
Wrong operation

Reject using this key to decrypt merely because it is available.

Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
KEY POINT

use identifies intended public-key use, such as sig or enc.

  • use identifies intended public-key use, such as sig or enc.
  • key_ops identifies permitted operations such as verify or decrypt.
  • If use and key_ops both appear, their values must be consistent.
DETAILS

The illustration is schematic. Example values are illustrative; profiles and later security guidance can add requirements.

Read the RFC section ↗

Diagrams simplify the RFC. Read the linked sections for complete requirements.

Privacy
All chapters in this RFC
  1. A key has typed members
  2. Choose from a JWK Set
  3. Use and operations constrain keys
  4. Public and private are different
  5. Protect a stored key object

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗