Configure, validate and activate the VICAL
Step 2 of 3 in Configure mdoc VICAL and CWT status.
The body carries the absolute HTTPS url, the signerAnchorIds allowed to verify the VICAL signature,
the issuerAnchorIds it may carry, and optional requiredCertificateProfiles such as
iso18013-5-iaca. Every referenced anchor must be in the same domain and be ACTIVE. Signer anchors
need the MDOC_VICAL_SIGNER admission and issuer anchors need CREDENTIAL_ISSUER. Plain HTTP is refused.
Saving stores a draft MDOC_VICAL revision. Its trust-source id is the provider anchor id. Find the
draft revision with listTrustSourceRevisions, read the source with getTrustSource, and send its
ETag as If-Match when you validate and again when you activate. A stale value returns 412.
Activating the source is not the same as activating the trust domain. Removing the VICAL later leaves the anchor and its admissions intact:
Next
Continue with step 3, Publish CWT status for mdoc.