oauth2.dev

n

IESG

Registry Context

The `n` member contains the RSA public key modulus, represented as a Base64urlUInt-encoded value.

Technical Summary

`n` is the modulus parameter for an RSA public key. It is represented as a Base64urlUInt-encoded value and is one of the members that must be present for RSA public keys.

When Used

Used when representing an RSA public key as a JWK.

Normative Requirements

Unspecified actor

MUST
1
  1. RFC 7518 - Section 6.3.1

    The `n` member must be present..

    Condition: When representing an RSA public key

    The following members MUST be present for RSA public keys.

Validation Guidance

error

Reject an RSA public key JWK that omits `n`.

error

Verify that `n` is a Base64urlUInt-encoded value.

warning

If the cryptographic library prefixes an extra zero-valued octet to the modulus, omit that octet from the base64url-encoded representation.

Reference

Details

Entry Id
n
Parameter Name
n
Parameter Description
Modulus
Used With Kty Value
RSA
Parameter Information Class
Public
Change Controller
IESG
Reference
RFC7518 - Section 6.3.1.1