Skip to content

Interface: SignInput ​

Defined in: types.ts:21

Properties ​

definition ​

definition: string | Record<string, unknown>

Defined in: types.ts:27

The manifest definition from @sealpixel/c2pa, as an object or as its JSON text.


format ​

format: string

Defined in: types.ts:25

The file's format: image/jpeg, image/png or image/webp.


image ​

image: Uint8Array

Defined in: types.ts:23

The rendered file, as render() returned it.


parent ​

parent: object

Defined in: types.ts:34

The original the log was rendered from, attached as the parentOf ingredient; c2pa-rs adds c2pa.opened for it. Required: a manifest without it would name the rendered file as its own original. The format is sniffed from the bytes when absent.

bytes ​

bytes: Uint8Array

format? ​

optional format?: string

title? ​

optional title?: string


signer ​

signer: Signer

Defined in: types.ts:35


verifyAfterSign? ​

optional verifyAfterSign?: boolean

Defined in: types.ts:37

Validate the manifest after signing, as c2pa-rs does by default. Off where the host validates anyway: it costs a pass over the file.