verify_vc
Verify the cryptographic signature of a Verifiable Credential and confirm its validity window. Determines if the credential is authentic and currently valid.
Instructions
Verify the issuer signature and validity window of a Verifiable Credential.
Resolves the issuer's public key from its DID document in the DID registry
(so ANY issuer registered via get_did can be verified, not just this server),
rebuilds the exact bytes that were signed (the VC with 'proof' reset to ""),
checks the Ed25519 signature in proof.proofValue, then the validity window.
This confirms the credential is AUTHENTIC for its claimed issuer; it does NOT
assess whether that issuer is trusted or authorized (a separate concern).
Returns {"valid": bool, "issuer": ..., "subjectId": ..., "reason": ...}.
A credential is valid only if the signature checks out AND the current time
is within its validFrom/validUntil window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vc | Yes |