@contentauth/c2pa-js
    Preparing search index...

    A CAWG credential holder: something able to produce a signature over a SignerPayload on behalf of a credential (e.g. a verified identity, or an enterprise x509 certificate). Analogous to Signer, but for a cawg.identity assertion rather than the manifest's own claim signature.

    sign, like Signer.sign, always runs on the main thread: it never crosses into the worker directly. See Builder.sign/ Builder.signAndGetManifestBytes for how it's wired up via reverse-RPC.

    interface CredentialHolder {
        reserveSize: number;
        sign: (payload: SignerPayload) => Promise<Uint8Array<ArrayBuffer>>;
        sigType: string;
    }
    Index

    Properties

    reserveSize: number
    sign: (payload: SignerPayload) => Promise<Uint8Array<ArrayBuffer>>
    sigType: string