Enumeration: C2paStatusCode
Defined in: C2paStatusCode.ts:13
Standard C2PA validation status codes for manifest integrity checks, as defined in the C2PA specification chapters 15 and 18.
See
Enumeration Members
ASSERTION_ACTION_INGREDIENT_MISMATCH
ASSERTION_ACTION_INGREDIENT_MISMATCH: "assertion.action.ingredientMismatch";Defined in: C2paStatusCode.ts:27
An action requiring an ingredient reference does not have one (§18.15.4.7)
ASSERTION_BMFFHASH_MALFORMED
ASSERTION_BMFFHASH_MALFORMED: "assertion.bmffHash.malformed";Defined in: C2paStatusCode.ts:43
BMFF hash assertion or Merkle structure is malformed (§15.2.2.3)
ASSERTION_BMFFHASH_MISMATCH
ASSERTION_BMFFHASH_MISMATCH: "assertion.bmffHash.mismatch";Defined in: C2paStatusCode.ts:45
BMFF content hash does not match the committed value (§15.2.2.3)
ASSERTION_CBOR_INVALID
ASSERTION_CBOR_INVALID: "assertion.cbor.invalid";Defined in: C2paStatusCode.ts:23
An assertion box holds CBOR that does not decode (§15.10.3.1)
ASSERTION_HASHEDURI_MISMATCH
ASSERTION_HASHEDURI_MISMATCH: "assertion.hashedURI.mismatch";Defined in: C2paStatusCode.ts:15
Assertion hash does not match the hashed URI in the claim (§15.10.3.1)
ASSERTION_JSON_INVALID
ASSERTION_JSON_INVALID: "assertion.json.invalid";Defined in: C2paStatusCode.ts:25
An assertion box holds JSON that is not UTF-8 or does not parse (§15.10.3.1)
ASSERTION_MISSING
ASSERTION_MISSING: "assertion.missing";Defined in: C2paStatusCode.ts:17
The assertion store has no box for a claim reference, or more than one box for its label (§8.4.1, §15.10.3.1)
ASSERTION_MULTIPLE_HARD_BINDINGS
ASSERTION_MULTIPLE_HARD_BINDINGS: "assertion.multipleHardBindings";Defined in: C2paStatusCode.ts:19
The manifest has more than one hard binding assertion (§9.1, §15.10.1.2)
ASSERTION_UNDECLARED
ASSERTION_UNDECLARED: "assertion.undeclared";Defined in: C2paStatusCode.ts:21
The assertion store holds an assertion that the claim does not reference (§15.10.3.1)
CLAIM_CBOR_INVALID
CLAIM_CBOR_INVALID: "claim.cbor.invalid";Defined in: C2paStatusCode.ts:35
The claim box holds CBOR that does not decode (§15.6.2)
CLAIM_HARD_BINDINGS_MISSING
CLAIM_HARD_BINDINGS_MISSING: "claim.hardBindings.missing";Defined in: C2paStatusCode.ts:41
The manifest has no hard binding assertion (§15.10.1.2)
CLAIM_MALFORMED
CLAIM_MALFORMED: "claim.malformed";Defined in: C2paStatusCode.ts:37
The claim box holds CBOR that is not a map (§15.6.2). The library does not check the fields of the claim.
CLAIM_MISSING
CLAIM_MISSING: "claim.missing";Defined in: C2paStatusCode.ts:33
The manifest has no claim box (§15.6.1)
CLAIM_MULTIPLE
CLAIM_MULTIPLE: "claim.multiple";Defined in: C2paStatusCode.ts:39
The manifest has more than one claim box (§15.6.1)
CLAIM_SIGNATURE_MISMATCH
CLAIM_SIGNATURE_MISMATCH: "claimSignature.mismatch";Defined in: C2paStatusCode.ts:29
Claim signature verification failed, or the signature carries no certificate (§15.7)
CLAIM_SIGNATURE_MISSING
CLAIM_SIGNATURE_MISSING: "claimSignature.missing";Defined in: C2paStatusCode.ts:31
The manifest has no c2pa.signature box, or the claim signature URI does not resolve to it, for example because it names another manifest (§15.7)