@contentauth/c2pa-node


@contentauth/c2pa-node / TrustConfig

Interface: TrustConfig

Defined in: types.d.ts:377

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

Properties

allowedList?

optional allowedList: string

Defined in: types.d.ts:387

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


trustAnchors?

optional trustAnchors: string

Defined in: types.d.ts:383

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


trustConfig?

optional trustConfig: string

Defined in: types.d.ts:385

Trust configuration file path


userAnchors?

optional userAnchors: string

Defined in: types.d.ts:381

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


verifyTrustList

verifyTrustList: boolean

Defined in: types.d.ts:379

Whether to verify against the trust list