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
Name | Type | Description |
---|---|---|
id | string | The identifier. |
GetVcWellKnownResponse
Returns the well-known VCs for an Id
Name | Type | Description |
---|---|---|
vcs | repeated agntcy.identity.core.v1alpha1.EnvelopedCredential | The list of VCs for the specified Id |
PublishRequest
Request to publish an issued Verifiable Credential
Name | Type | Description |
---|---|---|
vc | agntcy.identity.core.v1alpha1.EnvelopedCredential | The Verifiable Credential to publish |
proof | optional agntcy.identity.core.v1alpha1.Proof | Optional 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
Name | Type | Description |
---|---|---|
id | string | ID is the identifier. |
schema | agntcy.identity.core.v1alpha1.CredentialSchema | Schema is the schema of the credential contained in the VC |
content | string | The credential content representation in JSON-LD format |
SearchResponse
Returns the VCs that match the search criteria
Name | Type | Description |
---|---|---|
vcs | repeated agntcy.identity.core.v1alpha1.EnvelopedCredential | The list of VCs that match the search criteria |
VerifyRequest
Request to verify an existing Verifiable Credential
Name | Type | Description |
---|---|---|
vc | agntcy.identity.core.v1alpha1.EnvelopedCredential | The Verifiable Credential to verify |
Services
VcService
VC is the service that provides VC operations.
Publish
Method | Publish |
---|---|
Request | PublishRequest |
Response | Empty |
Description | Publish an issued Verifiable Credential |
Verify
Method | Verify |
---|---|
Request | VerifyRequest |
Response | Empty |
Description | Verify an existing Verifiable Credential |
GetWellKnown
Method | GetWellKnown |
---|---|
Request | GetVcWellKnownRequest |
Response | GetVcWellKnownResponse |
Description | Returns the well-known Verifiable Credentials for the specified Id |
Search
Method | Search |
---|---|
Request | SearchRequest |
Response | SearchResponse |
Description | Search for Verifiable Credentials based on the specified criteria |