C2paVerificationSettings interface

Configures C2PA (Content Provenance and Authenticity) verification of CMAF or MoQ input segments. When set on an input, every incoming init segment and media segment is validated against the C2PA Live Video continuity chain (spec §19.3); outcomes are surfaced via the onC2paSegmentVerified callback on the input node.

Verification is reporting-only and fail-open: media continues to flow even when a segment fails to validate.

Signature:

export interface C2paVerificationSettings

Properties

Property Type Description

scheme?

C2paScheme

(Optional) Must match the scheme used by the upstream signer. Defaults to "segmentManifestBox" (§19.3) for backwards compatibility. See C2paSigningSettings.scheme for the per-scheme contract.

trustAnchorsPath?

string

(Optional) Optional path to a PEM-encoded bundle of trusted root certificates. If omitted, the c2pa-rs default trust list is used. Set this when verifying content signed against a self-signed / private trust root, such as in dev/CI environments using the bundled sample certs.