@contentauth/c2pa-node


@contentauth/c2pa-node / TrustConfig

Interface: TrustConfig

Defined in: types.d.ts:399

Configuration for trust settings in C2PA. Controls certificate trust validation and trust anchor management.

Properties

allowedList?

optional allowedList: string

Defined in: types.d.ts:409

Allowed list of certificates (PEM format or base64-encoded certificate hashes)


trustAnchors?

optional trustAnchors: string

Defined in: types.d.ts:405

Trust anchors for validation (PEM format or base64-encoded certificate hashes)


trustConfig?

optional trustConfig: string

Defined in: types.d.ts:407

Trust configuration file path


userAnchors?

optional userAnchors: string

Defined in: types.d.ts:403

User-provided trust anchors (PEM format or base64-encoded certificate hashes)


verifyTrustList

verifyTrustList: boolean

Defined in: types.d.ts:401

Whether to verify against the trust list