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

    Interface IdentityAssertionBuilderInterface

    interface IdentityAssertionBuilderInterface {
        addReferencedAssertions(referencedAssertions: string[]): void;
        addRoles(roles: string[]): void;
        builder(): unknown;
    }

    Implemented by

    Index

    Methods

    • Add assertion labels to consider as referenced_assertions. If any of these labels match assertions that are present in the partial claim submitted during signing, they will be added to the referenced_assertions list for this identity assertion.

      Parameters

      • referencedAssertions: string[]

        The list of assertion labels to add

      Returns void

    • Add roles to attach to the named actor for this identity assertion.

      Parameters

      • roles: string[]

        Named actor roles

      Returns void

    • Get the underlying IdentityAssertionBuilder

      Returns unknown