createC2pa(config) | Creates a c2pa object that can be used to read c2pa metadata from an image. |
createL2Manifest(manifest) | Creates a manifest representation suitable for use with c2pa-wc. |
generateVerifyUrl(assetUrl) | Generates a URL that pre-loads the assetUrl into the Content Authenticity Verify site for deeper inspection by users. |
selectEditsAndActivity(manifest, locale, iconVariant) | Gets a list of categorized actions, derived from the provided manifest's c2pa.action assertion and a dictionary assertion, if available. If a dictionary is incuded, this function will initiate an HTTP request to fetch the dictionary data. |
selectProducer(manifest) | Gets the producer of this manifest, derived from its stds.schema-org.CreativeWork assertion, if available |
selectSocialAccounts(manifest) | Gets any social accounts associated with the producer of this manifest, derived from its stds.schema-org.CreativeWork assertion, if available |