Skip to main content

id.proto

path agntcy/identity/core/v1alpha1/id.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.

ResolverMetadata

ResolverMetadata represents a set of data describing the ID including mechanisms such as: - cryptographic public keys - used to authenticate itself and prove association with the ID - service - ways of communicating with the node that published the document A ResolverMetadata can be retrieved by resolving an ID.

NameTypeDescription
idoptional stringThe ID The metadata below is related as claims to the ID
verification_methodrepeated VerificationMethodVerificationMethod is a list of cryptographic public keys, which can be used to authenticate or authorize interactions with the entities represented by the ID.
servicerepeated ServiceService is used in ResolverMetadatas to express ways of communicating with the node that published the document.
assertion_methodrepeated stringAssertionMethod is used to specify how the entity represented by the ID is expected to express claims, such as for the purposes of issuing a VCs.

Service

Service is used in ResolverMetadata to express ways of communicating with the node that published the document.

NameTypeDescription
service_endpointrepeated stringServiceEndpoint is a network address, such as an HTTP URL, of the node.

VerificationMethod

VerificationMethod expresses verification methods, such as cryptographic public keys, which can be used to authenticate or authorize interactions with the entities represented by the ID. It is a part of the ResolverMetadata.

NameTypeDescription
idoptional stringA unique id of the verification method.
public_key_jwkoptional JwkThe public key used for the verification method.