- Pass
product_versionthrough toclaim_generator_info.versionin CBOR claim when provided by callers. - SDK test suite: updated claim builder tests to reflect the parameterized
API contract for
spec_versionandproduct_version.
embed_metadata()accepts new optional parametersspec_versionandproduct_version. Callers (e.g. the enterprise API) pass C2PA policy constants rather than the SDK hardcoding them. When omitted,claim_generator_infoincludes only thenamefield.- C2PA actions now use the spec-required
"action"key instead of"label". The SDK normalizes incoming actions that use the legacy"label"key for backward compatibility. - The auto-generated watermark action changed from the deprecated
c2pa.watermarkedtoc2pa.watermarked.bound(C2PA spec 2.4). build_claim_cbor()acceptsspec_versionandproduct_versionas optional keyword arguments. Removed hardcoded_PRODUCT_NAME,_PRODUCT_VERSION, and_SPEC_VERSIONconstants.
- C2PA spec 2.4 rubric conformance:
specVersionnow appears inclaim_generator_infowhenspec_versionis provided, satisfying themandatory_spec_versionrubric trait. - C2PA spec 2.4 rubric conformance:
no_deprecated_actionstrait now passes becausec2pa.watermarkedis replaced byc2pa.watermarked.bound.
- Hard binding HTML-stripping fallback for text verification.
- C2PA A.7 soft-binding verification support.
- Spec-correct
c2pa.soft-bindingassertion label.
- COSE ECDSA raw R||S format for cross-verifier compatibility.
- CBOR tag 18 unwrapping in COSE_Sign1 parsing.
- Detached-payload COSE_Sign1 x5chain extraction.