Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 1.78 KB

File metadata and controls

19 lines (10 loc) · 1.78 KB

Verify

VCDM verification

VCDM verification is usually done in context of a presentation request as documented with the presentations endpoint. You probably do not want to call the verify endpoint directly.

This route allows manual verification of issued/received credentials and presentations. Verification will check that the JSON-LD document's cryptographic proof is correct and that it has not been revoked. It will return a verification status with a boolean verified result.

A verifier upon receiving a verifiable presentation verifies the validity of each credential in the presentation. This includes checking the correctness of the data model of the credential, the authenticity by verifying the issuer's signature and revocation status if the credential is revocable. It then checks whether the presentation contains the signature from the holder on the presentation, including the given challenge.

Parameters

NameInTypeRequiredDescription
bodybodyVerifiableCredential or VerifiablePresentationtrueProvide as the body a verifiable credential or verifiable presentation JSON-LD document.

{% openapi-operation spec="dock-labs-api" path="/verify" method="post" %} OpenAPI dock-labs-api {% endopenapi-operation %}