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