Skip to main content

vc_service.proto

path agntcy/identity/node/v1alpha1/vc_service.proto

package agntcy.identity.node.v1alpha1


Messages

GetVcWellKnownRequest

Requests the well-known VCs for an Id

NameTypeDescription
idstringThe identifier.

GetVcWellKnownResponse

Returns the well-known VCs for an Id

NameTypeDescription
vcsrepeated agntcy.identity.core.v1alpha1.EnvelopedCredentialThe list of VCs for the specified Id

PublishRequest

Request to publish an issued Verifiable Credential

NameTypeDescription
vcagntcy.identity.core.v1alpha1.EnvelopedCredentialThe Verifiable Credential to publish
proofoptional agntcy.identity.core.v1alpha1.ProofOptional Proof of ownership of the Issuer's ResolverMetadata This should be provided when the Issuer is provided by an external IdP Example: a signed JWT

SearchRequest

Request to search for VCs based on the specified criteria

NameTypeDescription
idstringID is the identifier.
schemaagntcy.identity.core.v1alpha1.CredentialSchemaSchema is the schema of the credential contained in the VC
contentstringThe credential content representation in JSON-LD format

SearchResponse

Returns the VCs that match the search criteria

NameTypeDescription
vcsrepeated agntcy.identity.core.v1alpha1.EnvelopedCredentialThe list of VCs that match the search criteria

VerifyRequest

Request to verify an existing Verifiable Credential

NameTypeDescription
vcagntcy.identity.core.v1alpha1.EnvelopedCredentialThe Verifiable Credential to verify

Services

VcService

VC is the service that provides VC operations.

Publish

MethodPublish
RequestPublishRequest
ResponseEmpty
DescriptionPublish an issued Verifiable Credential

Verify

MethodVerify
RequestVerifyRequest
ResponseEmpty
DescriptionVerify an existing Verifiable Credential

GetWellKnown

MethodGetWellKnown
RequestGetVcWellKnownRequest
ResponseGetVcWellKnownResponse
DescriptionReturns the well-known Verifiable Credentials for the specified Id
MethodSearch
RequestSearchRequest
ResponseSearchResponse
DescriptionSearch for Verifiable Credentials based on the specified criteria