@contentauth/c2pa-js
    Preparing search index...
    interface TrustSettings {
        allowedList?: string | string[];
        trustAnchors?: string | string[];
        trustConfig?: string | string[];
        userAnchors?: string | string[];
        verifyTrustList?: boolean;
    }
    Index

    Properties

    allowedList?: string | string[]

    End-entity certificates.

    Possible values are: the text content of a end-entity cert file, a URL to fetch a end-entity cert file from, or an array of URLs that will be fetched and concatenated.

    trustAnchors?: string | string[]

    "System" trust anchors. Any asset validated off of this trust list will have a "signingCredential.trusted" result with an explanation noting the trust source is a "System" anchor.

    Possible values are: the text content of a .pem file, a URL to fetch a .pem file from, or an array of URLs that will be fetched and concatenated.

    trustConfig?: string | string[]

    Trust store

    Possible values are: the text content of a .cfg file, a URL to fetch a .cfg file from, or an array of URLs that will be fetched and concatenated.

    userAnchors?: string | string[]

    "User" trust anchors. Any asset validated off of this trust list will have a "signingCredential.trusted" result with an explanation noting the trust source is a "User" anchor.

    Possible values are: the text content of a .pem file, a URL to fetch a .pem file from, or an array of URLs that will be fetched and concatenated.

    verifyTrustList?: boolean

    Enable CAWG trust validation. The default value is "true."

    Only has an effect when set on cawgTrust — mirrors c2pa-rs's Trust struct, which is shared by both the trust and cawg_trust settings sections and carries this field on both.