VC API
Overview
The VC API provides a collection of HTTP request methods that involves Verifiable Credentials (VCs). This API allows a credential issuer to register a new VC with the vc_register
operation or revoke an exisiting VC the vc_revoke
operation. When a credential holder presents a VC to a credential verifier, the verifier could then obtain the VC's verification key with a GET request.
In the same way as the DID API, HTTP requests to a IDIN server must be in the JSON format with two attributes "message"
and "signature"
. One distinction to the DID API is the GET method for a VC's verification key that requires no request body.
Types of Requests
The table below summarizes all VC-related HTTP requests to the IDIN server.
Request Method | Description | HTTP Method |
Register a new VC. | POST | |
Revoke a VC. | DELETE | |
Get a verification key of a VC. | GET |
Last updated