Validate a Verifiable Credential
Validates the verifiable credential. This means that the signature, the format, the validity (expiration and revocation status) and the issuer are valid.
Request Body — REQUIRED W3C Verifiable Credential | |||||
---|---|---|---|---|---|
@context string[] — REQUIREDThe @context property ensures that two systems operating on the same DID document are using mutually agreed terminology. It can be one or more URIs. | |||||
id string — REQUIREDCredential identifier. | |||||
type string[] — REQUIREDThis array contains the type and subtypes of credential. | |||||
issuanceDate date-time — REQUIREDDate and time at which the information associated with the verifiable credential/presentation becomes valid. | |||||
issuer string — REQUIREDIssuer of the verifiable credential. | |||||
credentialSubject object — REQUIREDA thing about which claims are made
| |||||
proof object — REQUIREDCryptographic proofs that can be used to detect tampering and verify the authorship of a credential or presentation. An embedded proof is a mechanism where the proof is included in the data, such as a Linked Data Signature.
|
Responses | ||||||
---|---|---|---|---|---|---|
204 No Response (Valid credential) | ||||||
400 Bad Request
| ||||||
401 Unauthorized
| ||||||
403 Forbidden
| ||||||
500 Internal Server Error
|