Skip to content

Commit 6020a18

Browse files
authored
fix: Merge pull request #5 from contentauth/add_types
fix: Add types. Update docs.
2 parents c09f2b9 + d22dd6c commit 6020a18

File tree

95 files changed

+1088
-736
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+1088
-736
lines changed

docs/README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
**c2pa-node**
1+
**@contentauth/c2pa-node**
22

33
***
44

5-
# c2pa-node
5+
# @contentauth/c2pa-node
66

77
## Classes
88

@@ -12,6 +12,7 @@
1212
- [IdentityAssertionSigner](classes/IdentityAssertionSigner.md)
1313
- [LocalSigner](classes/LocalSigner.md)
1414
- [Reader](classes/Reader.md)
15+
- [Trustmark](classes/Trustmark.md)
1516

1617
## Interfaces
1718

@@ -37,6 +38,7 @@
3738
- [ReviewRating](interfaces/ReviewRating.md)
3839
- [SignatureInfo](interfaces/SignatureInfo.md)
3940
- [SourceBufferAsset](interfaces/SourceBufferAsset.md)
41+
- [TrustmarkConfig](interfaces/TrustmarkConfig.md)
4042
- [ValidationStatus](interfaces/ValidationStatus.md)
4143

4244
## Type Aliases
@@ -49,6 +51,8 @@
4951
- [Relationship](type-aliases/Relationship.md)
5052
- [SigningAlg](type-aliases/SigningAlg.md)
5153
- [SourceAsset](type-aliases/SourceAsset.md)
54+
- [TrustmarkVariant](type-aliases/TrustmarkVariant.md)
55+
- [TrustmarkVersion](type-aliases/TrustmarkVersion.md)
5256
- [UriOrResource](type-aliases/UriOrResource.md)
5357

5458
## Functions
@@ -93,3 +97,6 @@
9397
- [readerPostValidateCawg](functions/readerPostValidateCawg.md)
9498
- [readerRemoteUrl](functions/readerRemoteUrl.md)
9599
- [readerResourceToAsset](functions/readerResourceToAsset.md)
100+
- [trustmarkDecode](functions/trustmarkDecode.md)
101+
- [trustmarkEncode](functions/trustmarkEncode.md)
102+
- [trustmarkNew](functions/trustmarkNew.md)

docs/classes/Builder.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
[**c2pa-node**](../README.md)
1+
[**@contentauth/c2pa-node**](../README.md)
22

33
***
44

5-
[c2pa-node](../README.md) / Builder
5+
[@contentauth/c2pa-node](../README.md) / Builder
66

77
# Class: Builder
88

9-
Defined in: [Builder.ts:17](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Builder.ts#L17)
9+
Defined in: [Builder.ts:17](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Builder.ts#L17)
1010

1111
## Implements
1212

@@ -18,7 +18,7 @@ Defined in: [Builder.ts:17](https://github.com/contentauth/c2pa-node-v2/blob/530
1818

1919
> **addAssertion**(`label`, `assertion`, `assertionKind?`): `void`
2020
21-
Defined in: [Builder.ts:52](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Builder.ts#L52)
21+
Defined in: [Builder.ts:52](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Builder.ts#L52)
2222

2323
Add CBOR assertion to the builder
2424

@@ -54,7 +54,7 @@ The CBOR encoded assertion
5454

5555
> **addIngredient**(`ingredientJson`, `ingredient`): `Promise`\<`void`\>
5656
57-
Defined in: [Builder.ts:69](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Builder.ts#L69)
57+
Defined in: [Builder.ts:69](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Builder.ts#L69)
5858

5959
Add an ingredient from a buffer or file
6060

@@ -86,7 +86,7 @@ The source and format of the ingredient
8686

8787
> **addResource**(`uri`, `resource`): `Promise`\<`void`\>
8888
89-
Defined in: [Builder.ts:65](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Builder.ts#L65)
89+
Defined in: [Builder.ts:65](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Builder.ts#L65)
9090

9191
Add a resource from a buffer or file
9292

@@ -118,7 +118,7 @@ The source and format of the resource
118118

119119
> **getManifestDefinition**(): [`ManifestDefinition`](../interfaces/ManifestDefinition.md)
120120
121-
Defined in: [Builder.ts:184](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Builder.ts#L184)
121+
Defined in: [Builder.ts:184](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Builder.ts#L184)
122122

123123
Getter for the builder's manifest definition
124124

@@ -138,7 +138,7 @@ The manifest definition
138138

139139
> **identitySignAsync**(`signer`, `input`, `output`): `Promise`\<`Buffer`\<`ArrayBufferLike`\>\>
140140
141-
Defined in: [Builder.ts:158](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Builder.ts#L158)
141+
Defined in: [Builder.ts:158](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Builder.ts#L158)
142142

143143
Sign an asset from a buffer or file asynchronously, using an
144144
IdentityAssertionSigner
@@ -175,7 +175,7 @@ the bytes of the c2pa_manifest that was embedded
175175

176176
> **setNoEmbed**(`noEmbed`): `void`
177177
178-
Defined in: [Builder.ts:44](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Builder.ts#L44)
178+
Defined in: [Builder.ts:44](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Builder.ts#L44)
179179

180180
Set the no embed flag of the manifest
181181

@@ -201,7 +201,7 @@ The no embed flag of the manifest
201201

202202
> **setRemoteUrl**(`remoteUrl`): `void`
203203
204-
Defined in: [Builder.ts:48](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Builder.ts#L48)
204+
Defined in: [Builder.ts:48](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Builder.ts#L48)
205205

206206
Set the remote URL of the manifest
207207

@@ -225,7 +225,7 @@ Set the remote URL of the manifest
225225

226226
> **sign**(`signer`, `input`, `output`): `Buffer`
227227
228-
Defined in: [Builder.ts:88](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Builder.ts#L88)
228+
Defined in: [Builder.ts:88](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Builder.ts#L88)
229229

230230
Sign an asset from a buffer or file
231231

@@ -261,7 +261,7 @@ the bytes of the c2pa_manifest that was embedded
261261

262262
> **signAsync**(`signer`, `input`, `output`): `Promise`\<`Buffer`\<`ArrayBufferLike`\>\>
263263
264-
Defined in: [Builder.ts:132](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Builder.ts#L132)
264+
Defined in: [Builder.ts:132](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Builder.ts#L132)
265265

266266
Sign an asset from a buffer or file asynchronously, using a
267267
CallbackSigner
@@ -296,7 +296,7 @@ the bytes of the c2pa_manifest that was embedded
296296

297297
> **signConfigAsync**(`callback`, `signerConfig`, `input`, `output`): `Promise`\<`Buffer`\<`ArrayBufferLike`\>\>
298298
299-
Defined in: [Builder.ts:105](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Builder.ts#L105)
299+
Defined in: [Builder.ts:105](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Builder.ts#L105)
300300

301301
Sign an asset from a buffer or file asynchronously, using a callback
302302
and not passing a private key
@@ -339,7 +339,7 @@ the bytes of the c2pa_manifest that was embedded
339339

340340
> **signFile**(`signer`, `filePath`, `output`): `Buffer`
341341
342-
Defined in: [Builder.ts:96](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Builder.ts#L96)
342+
Defined in: [Builder.ts:96](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Builder.ts#L96)
343343

344344
Embed a signed manifest into a stream using the LocalSigner
345345

@@ -375,7 +375,7 @@ the bytes of the c2pa_manifest that was embedded
375375

376376
> **toArchive**(`asset`): `Promise`\<`void`\>
377377
378-
Defined in: [Builder.ts:80](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Builder.ts#L80)
378+
Defined in: [Builder.ts:80](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Builder.ts#L80)
379379

380380
Convert the Builder into a archive formatted buffer or file
381381

@@ -401,7 +401,7 @@ The file or buffer for the archive
401401

402402
> **updateManifestProperty**(`property`, `value`): `void`
403403
404-
Defined in: [Builder.ts:188](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Builder.ts#L188)
404+
Defined in: [Builder.ts:188](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Builder.ts#L188)
405405

406406
Update a string property of the manifest
407407

@@ -431,7 +431,7 @@ The manifest definition
431431

432432
> `static` **fromArchive**(`asset`): `Promise`\<`Builder`\>
433433
434-
Defined in: [Builder.ts:84](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Builder.ts#L84)
434+
Defined in: [Builder.ts:84](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Builder.ts#L84)
435435

436436
#### Parameters
437437

@@ -449,7 +449,7 @@ Defined in: [Builder.ts:84](https://github.com/contentauth/c2pa-node-v2/blob/530
449449

450450
> `static` **new**(): `Builder`
451451
452-
Defined in: [Builder.ts:20](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Builder.ts#L20)
452+
Defined in: [Builder.ts:20](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Builder.ts#L20)
453453

454454
#### Returns
455455

@@ -461,7 +461,7 @@ Defined in: [Builder.ts:20](https://github.com/contentauth/c2pa-node-v2/blob/530
461461

462462
> `static` **withJson**(`json`): `Builder`
463463
464-
Defined in: [Builder.ts:25](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Builder.ts#L25)
464+
Defined in: [Builder.ts:25](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Builder.ts#L25)
465465

466466
#### Parameters
467467

docs/classes/CallbackSigner.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
[**c2pa-node**](../README.md)
1+
[**@contentauth/c2pa-node**](../README.md)
22

33
***
44

5-
[c2pa-node](../README.md) / CallbackSigner
5+
[@contentauth/c2pa-node](../README.md) / CallbackSigner
66

77
# Class: CallbackSigner
88

9-
Defined in: [Signer.ts:59](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Signer.ts#L59)
9+
Defined in: [Signer.ts:59](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Signer.ts#L59)
1010

1111
## Implements
1212

@@ -18,7 +18,7 @@ Defined in: [Signer.ts:59](https://github.com/contentauth/c2pa-node-v2/blob/5303
1818

1919
> **alg**(): [`SigningAlg`](../type-aliases/SigningAlg.md)
2020
21-
Defined in: [Signer.ts:80](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Signer.ts#L80)
21+
Defined in: [Signer.ts:80](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Signer.ts#L80)
2222

2323
#### Returns
2424

@@ -34,7 +34,7 @@ Defined in: [Signer.ts:80](https://github.com/contentauth/c2pa-node-v2/blob/5303
3434

3535
> **certs**(): `Buffer`\<`ArrayBufferLike`\>[]
3636
37-
Defined in: [Signer.ts:84](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Signer.ts#L84)
37+
Defined in: [Signer.ts:84](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Signer.ts#L84)
3838

3939
#### Returns
4040

@@ -50,7 +50,7 @@ Defined in: [Signer.ts:84](https://github.com/contentauth/c2pa-node-v2/blob/5303
5050

5151
> **reserveSize**(): `number`
5252
53-
Defined in: [Signer.ts:88](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Signer.ts#L88)
53+
Defined in: [Signer.ts:88](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Signer.ts#L88)
5454

5555
#### Returns
5656

@@ -66,7 +66,7 @@ Defined in: [Signer.ts:88](https://github.com/contentauth/c2pa-node-v2/blob/5303
6666

6767
> **sign**(`data`): `Promise`\<`Buffer`\<`ArrayBufferLike`\>\>
6868
69-
Defined in: [Signer.ts:76](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Signer.ts#L76)
69+
Defined in: [Signer.ts:76](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Signer.ts#L76)
7070

7171
#### Parameters
7272

@@ -88,7 +88,7 @@ Defined in: [Signer.ts:76](https://github.com/contentauth/c2pa-node-v2/blob/5303
8888

8989
> **signer**(): `CallbackSigner`
9090
91-
Defined in: [Signer.ts:62](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Signer.ts#L62)
91+
Defined in: [Signer.ts:62](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Signer.ts#L62)
9292

9393
#### Returns
9494

@@ -104,7 +104,7 @@ Defined in: [Signer.ts:62](https://github.com/contentauth/c2pa-node-v2/blob/5303
104104

105105
> **timeAuthorityUrl**(): `undefined` \| `string`
106106
107-
Defined in: [Signer.ts:92](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Signer.ts#L92)
107+
Defined in: [Signer.ts:92](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Signer.ts#L92)
108108

109109
#### Returns
110110

@@ -120,7 +120,7 @@ Defined in: [Signer.ts:92](https://github.com/contentauth/c2pa-node-v2/blob/5303
120120

121121
> `static` **newSigner**(`config`, `callback`): `CallbackSigner`
122122
123-
Defined in: [Signer.ts:66](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/Signer.ts#L66)
123+
Defined in: [Signer.ts:66](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/Signer.ts#L66)
124124

125125
#### Parameters
126126

docs/classes/IdentityAssertionBuilder.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
[**c2pa-node**](../README.md)
1+
[**@contentauth/c2pa-node**](../README.md)
22

33
***
44

5-
[c2pa-node](../README.md) / IdentityAssertionBuilder
5+
[@contentauth/c2pa-node](../README.md) / IdentityAssertionBuilder
66

77
# Class: IdentityAssertionBuilder
88

9-
Defined in: [IdentityAssertion.ts:17](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/IdentityAssertion.ts#L17)
9+
Defined in: [IdentityAssertion.ts:17](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/IdentityAssertion.ts#L17)
1010

1111
## Implements
1212

@@ -18,7 +18,7 @@ Defined in: [IdentityAssertion.ts:17](https://github.com/contentauth/c2pa-node-v
1818

1919
> **addReferencedAssertions**(`referencedAssertions`): `void`
2020
21-
Defined in: [IdentityAssertion.ts:29](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/IdentityAssertion.ts#L29)
21+
Defined in: [IdentityAssertion.ts:29](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/IdentityAssertion.ts#L29)
2222

2323
Add assertion labels to consider as referenced_assertions.
2424
If any of these labels match assertions that are present in the partial
@@ -47,7 +47,7 @@ The list of assertion labels to add
4747

4848
> **addRoles**(`roles`): `void`
4949
50-
Defined in: [IdentityAssertion.ts:36](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/IdentityAssertion.ts#L36)
50+
Defined in: [IdentityAssertion.ts:36](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/IdentityAssertion.ts#L36)
5151

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

@@ -73,7 +73,7 @@ Named actor roles
7373

7474
> **builder**(): `IdentityAssertionBuilder`
7575
76-
Defined in: [IdentityAssertion.ts:40](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/IdentityAssertion.ts#L40)
76+
Defined in: [IdentityAssertion.ts:40](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/IdentityAssertion.ts#L40)
7777

7878
Get the underlying IdentityAssertionBuilder
7979

@@ -91,7 +91,7 @@ Get the underlying IdentityAssertionBuilder
9191

9292
> `static` **identityBuilderForCredentialHolder**(`credentialHolder`): `Promise`\<`IdentityAssertionBuilder`\>
9393
94-
Defined in: [IdentityAssertion.ts:20](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/IdentityAssertion.ts#L20)
94+
Defined in: [IdentityAssertion.ts:20](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/IdentityAssertion.ts#L20)
9595

9696
#### Parameters
9797

docs/classes/IdentityAssertionSigner.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
[**c2pa-node**](../README.md)
1+
[**@contentauth/c2pa-node**](../README.md)
22

33
***
44

5-
[c2pa-node](../README.md) / IdentityAssertionSigner
5+
[@contentauth/c2pa-node](../README.md) / IdentityAssertionSigner
66

77
# Class: IdentityAssertionSigner
88

9-
Defined in: [IdentityAssertion.ts:45](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/IdentityAssertion.ts#L45)
9+
Defined in: [IdentityAssertion.ts:45](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/IdentityAssertion.ts#L45)
1010

1111
## Implements
1212

@@ -18,7 +18,7 @@ Defined in: [IdentityAssertion.ts:45](https://github.com/contentauth/c2pa-node-v
1818

1919
> **addIdentityAssertion**(`identityAssertionBuilder`): `void`
2020
21-
Defined in: [IdentityAssertion.ts:53](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/IdentityAssertion.ts#L53)
21+
Defined in: [IdentityAssertion.ts:53](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/IdentityAssertion.ts#L53)
2222

2323
Add a IdentityAssertionBuilder to be used when signing the
2424
next Manifest
@@ -46,7 +46,7 @@ IdentityAssertionBuilders will be cleared.
4646

4747
> **signer**(): `IdentityAssertionSigner`
4848
49-
Defined in: [IdentityAssertion.ts:62](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/IdentityAssertion.ts#L62)
49+
Defined in: [IdentityAssertion.ts:62](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/IdentityAssertion.ts#L62)
5050

5151
#### Returns
5252

@@ -58,7 +58,7 @@ Defined in: [IdentityAssertion.ts:62](https://github.com/contentauth/c2pa-node-v
5858

5959
> `static` **new**(`signer`): `IdentityAssertionSigner`
6060
61-
Defined in: [IdentityAssertion.ts:48](https://github.com/contentauth/c2pa-node-v2/blob/5303c5fd1e9a72d23f327699b48a7620e901a41c/js-src/IdentityAssertion.ts#L48)
61+
Defined in: [IdentityAssertion.ts:48](https://github.com/contentauth/c2pa-node-v2/blob/1df68df861d38a8c4eb7c634a613532727ec72d3/js-src/IdentityAssertion.ts#L48)
6262

6363
#### Parameters
6464

0 commit comments

Comments
 (0)