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

    Class Reader

    Implements

    Index

    Constructors

    • Parameters

      • reader: unknown

      Returns Reader

    Methods

    • Returns string | undefined

    • Returns Manifest | undefined

    • Get the internal handle for use with Neon bindings

      Returns unknown

    • Returns true if the the reader was created from an embedded manifest

      Returns boolean

    • Get the JSON representation of the manifest

      Returns ManifestStore

    • Get the remote url of the manifest if this reader obtained the manifest remotely

      Returns string

    • Parameters

      • asset: SourceAsset
      • OptionalsettingsOrContext: Context | C2paSettings | null

        A Context, or (@deprecated) a raw C2paSettings string/object. Passing a raw C2paSettings value is deprecated and will be removed in a future version. null is treated the same as undefined.

      Returns Promise<Reader | null>

    • Parameters

      • manifestData: Buffer
      • asset: SourceAsset
      • OptionalsettingsOrContext: Context | C2paSettings | null

        A Context, or (@deprecated) a raw C2paSettings string/object. Passing a raw C2paSettings value is deprecated and will be removed in a future version. null is treated the same as undefined.

      Returns Promise<Reader>