@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?
optionalallowedList:string
Defined in: types.d.ts:387
Allowed list of certificates (PEM format or base64-encoded certificate hashes)
trustAnchors?
optionaltrustAnchors:string
Defined in: types.d.ts:383
Trust anchors for validation (PEM format or base64-encoded certificate hashes)
trustConfig?
optionaltrustConfig:string
Defined in: types.d.ts:385
Trust configuration file path
userAnchors?
optionaluserAnchors: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