Skip to content

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 ​

C2PA Spec §15.10.3

Enumeration Members ​

ASSERTION_ACTION_INGREDIENT_MISMATCH ​

ts
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 ​

ts
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 ​

ts
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 ​

ts
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 ​

ts
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 ​

ts
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 ​

ts
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 ​

ts
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 ​

ts
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 ​

ts
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 ​

ts
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 ​

ts
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 ​

ts
CLAIM_MISSING: "claim.missing";

Defined in: C2paStatusCode.ts:33

The manifest has no claim box (§15.6.1)


CLAIM_MULTIPLE ​

ts
CLAIM_MULTIPLE: "claim.multiple";

Defined in: C2paStatusCode.ts:39

The manifest has more than one claim box (§15.6.1)


CLAIM_SIGNATURE_MISMATCH ​

ts
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 ​

ts
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)

A Streaming Video Technology Alliance project.