Skip to main content

jwk.proto

path agntcy/identity/core/v1alpha1/jwk.proto

package agntcy.identity.core.v1alpha1


Messages

Jwk

JWK represents: - a JSON Web Key (JWK) with the respective fields specific to RSA algorithms. - a Quantum JSON Web Key (QJWK) with the respective fields specific to AKP algorithms.

NameTypeDescription
algoptional stringALG represents the algorithm intended for use with the key. Example algorithms for Post-Quantum ML-DSA family: "ML-DSA-44", "ML-DSA-65", "ML-DSA-87". Some example algorithms are "RS256", "RS384", "RS512" for RSA algorithms.
ktyoptional stringKTY represents the key type parameter. It specifies the family of quantum algorithms used with the key, such as "AKP" for post quantum algorithms or "RSA" for non quantum algorithms.
useoptional stringUse represents the intended use of the key. Some example values are "enc" and "sig".
kidoptional stringKID represents the key ID. It is used to match a specific key.
puboptional stringThe public key for the AKP kty.
privoptional stringThe private key for the AKP kty.
seedoptional stringSeed used to derive keys for ML-DSA alg.
eoptional stringThe exponent for the RSA public key.
noptional stringThe modulus for the RSA public key.
doptional stringThe private exponent for the RSA kty.
poptional stringThe first prime factor for the RSA private key.
qoptional stringThe second prime factor for the RSA private key.
dpoptional stringThe first factor CRT exponent for the RSA private key.
dqoptional stringThe second factor CRT exponent for the RSA private key.
qioptional stringThe first CRT coefficient for the RSA private key.

Jwks

JWKS represents a set of JSON Web Keys (JWKs).

NameTypeDescription
keysrepeated JwkKeys represents the list of JSON Web Keys.