Skip to content

Commit

Permalink
Buffer signer for JPEG
Browse files Browse the repository at this point in the history
  • Loading branch information
tmathern committed Oct 28, 2024
1 parent 87f454b commit 540117b
Show file tree
Hide file tree
Showing 34 changed files with 196 additions and 134 deletions.
22 changes: 11 additions & 11 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ An asset that can either be in memory or on disk

#### Defined in

[bindings.ts:154](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/bindings.ts#L154)
[bindings.ts:154](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/bindings.ts#L154)

___

Expand All @@ -71,7 +71,7 @@ ___

#### Defined in

[lib/manifestBuilder.ts:21](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/lib/manifestBuilder.ts#L21)
[lib/manifestBuilder.ts:21](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/lib/manifestBuilder.ts#L21)

___

Expand All @@ -81,7 +81,7 @@ ___

#### Defined in

[index.ts:28](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/index.ts#L28)
[index.ts:28](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/index.ts#L28)

___

Expand All @@ -99,7 +99,7 @@ ___

#### Defined in

[index.ts:18](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/index.ts#L18)
[index.ts:18](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/index.ts#L18)

___

Expand All @@ -109,7 +109,7 @@ ___

#### Defined in

[lib/hash.ts:17](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/lib/hash.ts#L17)
[lib/hash.ts:17](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/lib/hash.ts#L17)

___

Expand All @@ -119,7 +119,7 @@ ___

#### Defined in

[bindings.ts:353](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/bindings.ts#L353)
[bindings.ts:353](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/bindings.ts#L353)

___

Expand All @@ -135,7 +135,7 @@ ___

#### Defined in

[bindings.ts:225](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/bindings.ts#L225)
[bindings.ts:225](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/bindings.ts#L225)

___

Expand All @@ -161,7 +161,7 @@ ___

#### Defined in

[bindings.ts:201](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/bindings.ts#L201)
[bindings.ts:201](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/bindings.ts#L201)

___

Expand All @@ -171,7 +171,7 @@ ___

#### Defined in

[lib/signer.ts:50](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/lib/signer.ts#L50)
[lib/signer.ts:50](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/lib/signer.ts#L50)

## Functions

Expand All @@ -193,7 +193,7 @@ Creates an instance of the SDK that encompasses a set of global options

#### Defined in

[index.ts:38](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/index.ts#L38)
[index.ts:38](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/index.ts#L38)

___

Expand All @@ -213,4 +213,4 @@ ___

#### Defined in

[lib/signer.ts:64](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/lib/signer.ts#L64)
[lib/signer.ts:64](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/lib/signer.ts#L64)
22 changes: 11 additions & 11 deletions docs/classes/ManifestBuilder.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

#### Defined in

[lib/manifestBuilder.ts:41](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/lib/manifestBuilder.ts#L41)
[lib/manifestBuilder.ts:41](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/lib/manifestBuilder.ts#L41)

## Properties

Expand All @@ -52,7 +52,7 @@

#### Defined in

[lib/manifestBuilder.ts:35](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/lib/manifestBuilder.ts#L35)
[lib/manifestBuilder.ts:35](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/lib/manifestBuilder.ts#L35)

___

Expand All @@ -62,7 +62,7 @@ ___

#### Defined in

[lib/manifestBuilder.ts:39](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/lib/manifestBuilder.ts#L39)
[lib/manifestBuilder.ts:39](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/lib/manifestBuilder.ts#L39)

___

Expand All @@ -72,7 +72,7 @@ ___

#### Defined in

[lib/manifestBuilder.ts:37](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/lib/manifestBuilder.ts#L37)
[lib/manifestBuilder.ts:37](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/lib/manifestBuilder.ts#L37)

___

Expand All @@ -82,7 +82,7 @@ ___

#### Defined in

[lib/manifestBuilder.ts:33](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/lib/manifestBuilder.ts#L33)
[lib/manifestBuilder.ts:33](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/lib/manifestBuilder.ts#L33)

## Accessors

Expand All @@ -96,7 +96,7 @@ ___

#### Defined in

[lib/manifestBuilder.ts:105](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/lib/manifestBuilder.ts#L105)
[lib/manifestBuilder.ts:105](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/lib/manifestBuilder.ts#L105)

___

Expand All @@ -110,7 +110,7 @@ ___

#### Defined in

[lib/manifestBuilder.ts:109](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/lib/manifestBuilder.ts#L109)
[lib/manifestBuilder.ts:109](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/lib/manifestBuilder.ts#L109)

## Methods

Expand All @@ -130,7 +130,7 @@ ___

#### Defined in

[lib/manifestBuilder.ts:72](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/lib/manifestBuilder.ts#L72)
[lib/manifestBuilder.ts:72](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/lib/manifestBuilder.ts#L72)

___

Expand All @@ -150,7 +150,7 @@ ___

#### Defined in

[lib/manifestBuilder.ts:86](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/lib/manifestBuilder.ts#L86)
[lib/manifestBuilder.ts:86](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/lib/manifestBuilder.ts#L86)

___

Expand All @@ -170,7 +170,7 @@ ___

#### Defined in

[lib/manifestBuilder.ts:118](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/lib/manifestBuilder.ts#L118)
[lib/manifestBuilder.ts:118](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/lib/manifestBuilder.ts#L118)

___

Expand All @@ -190,4 +190,4 @@ ___

#### Defined in

[lib/manifestBuilder.ts:95](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/lib/manifestBuilder.ts#L95)
[lib/manifestBuilder.ts:95](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/lib/manifestBuilder.ts#L95)
14 changes: 7 additions & 7 deletions docs/enums/SigningAlgorithm.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#### Defined in

[lib/signer.ts:16](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/lib/signer.ts#L16)
[lib/signer.ts:16](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/lib/signer.ts#L16)

___

Expand All @@ -32,7 +32,7 @@ ___

#### Defined in

[lib/signer.ts:18](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/lib/signer.ts#L18)
[lib/signer.ts:18](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/lib/signer.ts#L18)

___

Expand All @@ -42,7 +42,7 @@ ___

#### Defined in

[lib/signer.ts:20](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/lib/signer.ts#L20)
[lib/signer.ts:20](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/lib/signer.ts#L20)

___

Expand All @@ -52,7 +52,7 @@ ___

#### Defined in

[lib/signer.ts:28](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/lib/signer.ts#L28)
[lib/signer.ts:28](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/lib/signer.ts#L28)

___

Expand All @@ -62,7 +62,7 @@ ___

#### Defined in

[lib/signer.ts:22](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/lib/signer.ts#L22)
[lib/signer.ts:22](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/lib/signer.ts#L22)

___

Expand All @@ -72,7 +72,7 @@ ___

#### Defined in

[lib/signer.ts:24](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/lib/signer.ts#L24)
[lib/signer.ts:24](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/lib/signer.ts#L24)

___

Expand All @@ -82,4 +82,4 @@ ___

#### Defined in

[lib/signer.ts:26](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/lib/signer.ts#L26)
[lib/signer.ts:26](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/lib/signer.ts#L26)
8 changes: 4 additions & 4 deletions docs/enums/types.ManifestAssertionKind.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Assertions in C2PA can be stored in several formats

#### Defined in

[types.d.ts:112](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/types.d.ts#L112)
[types.d.ts:112](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/types.d.ts#L112)

___

Expand All @@ -33,7 +33,7 @@ ___

#### Defined in

[types.d.ts:113](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/types.d.ts#L113)
[types.d.ts:113](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/types.d.ts#L113)

___

Expand All @@ -43,7 +43,7 @@ ___

#### Defined in

[types.d.ts:114](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/types.d.ts#L114)
[types.d.ts:114](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/types.d.ts#L114)

___

Expand All @@ -53,4 +53,4 @@ ___

#### Defined in

[types.d.ts:115](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/types.d.ts#L115)
[types.d.ts:115](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/types.d.ts#L115)
4 changes: 2 additions & 2 deletions docs/enums/types.Relationship.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ There can only be one parent ingredient in the ingredients.

#### Defined in

[types.d.ts:272](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/types.d.ts#L272)
[types.d.ts:272](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/types.d.ts#L272)

___

Expand All @@ -33,4 +33,4 @@ ___

#### Defined in

[types.d.ts:273](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/types.d.ts#L273)
[types.d.ts:273](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/types.d.ts#L273)
4 changes: 2 additions & 2 deletions docs/interfaces/BufferAsset.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#### Defined in

[bindings.ts:138](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/bindings.ts#L138)
[bindings.ts:138](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/bindings.ts#L138)

___

Expand All @@ -27,4 +27,4 @@ ___

#### Defined in

[bindings.ts:140](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/bindings.ts#L140)
[bindings.ts:140](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/bindings.ts#L140)
8 changes: 4 additions & 4 deletions docs/interfaces/CreateIngredientProps.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#### Defined in

[bindings.ts:363](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/bindings.ts#L363)
[bindings.ts:363](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/bindings.ts#L363)

___

Expand All @@ -29,7 +29,7 @@ ___

#### Defined in

[bindings.ts:370](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/bindings.ts#L370)
[bindings.ts:370](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/bindings.ts#L370)

___

Expand All @@ -39,7 +39,7 @@ ___

#### Defined in

[bindings.ts:368](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/bindings.ts#L368)
[bindings.ts:368](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/bindings.ts#L368)

___

Expand All @@ -49,4 +49,4 @@ ___

#### Defined in

[bindings.ts:365](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/bindings.ts#L365)
[bindings.ts:365](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/bindings.ts#L365)
4 changes: 2 additions & 2 deletions docs/interfaces/FileAsset.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#### Defined in

[bindings.ts:148](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/bindings.ts#L148)
[bindings.ts:148](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/bindings.ts#L148)

___

Expand All @@ -27,4 +27,4 @@ ___

#### Defined in

[bindings.ts:145](https://github.com/contentauth/c2pa-node/blob/f582044/js-src/bindings.ts#L145)
[bindings.ts:145](https://github.com/contentauth/c2pa-node/blob/87f454b/js-src/bindings.ts#L145)
Loading

0 comments on commit 540117b

Please sign in to comment.