@contentauth/c2pa-js
    Preparing search index...
    • Load settings from a URL, retrying on network errors and retryable HTTP responses (see fetchWithRetryRaw). Unlike resolveTrustSettings's trust-anchor fetch, this does not enforce a response-size cap or validate the content — it's meant for loading an app's own trusted configuration file, not untrusted resources embedded in a manifest.

      Parameters

      • url: string

        The URL to fetch the settings from

      • Optionaloptions: FetchWithRetryOptions

        Options for configuring the retry policy.

      Returns Promise<string>

      Settings as a string