@pagopa/io-react-native-wallet 2.0.0-next.2 → 2.0.0-next.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/credential/issuance/03-start-user-authorization.js +38 -24
- package/lib/commonjs/credential/issuance/03-start-user-authorization.js.map +1 -1
- package/lib/commonjs/credential/issuance/04-complete-user-authorization.js +75 -57
- package/lib/commonjs/credential/issuance/04-complete-user-authorization.js.map +1 -1
- package/lib/commonjs/credential/issuance/05-authorize-access.js +6 -10
- package/lib/commonjs/credential/issuance/05-authorize-access.js.map +1 -1
- package/lib/commonjs/credential/issuance/06-obtain-credential.js +43 -11
- package/lib/commonjs/credential/issuance/06-obtain-credential.js.map +1 -1
- package/lib/commonjs/credential/issuance/07-verify-and-parse-credential.js +51 -48
- package/lib/commonjs/credential/issuance/07-verify-and-parse-credential.js.map +1 -1
- package/lib/commonjs/credential/issuance/README.md +77 -45
- package/lib/commonjs/credential/issuance/const.js +1 -1
- package/lib/commonjs/credential/issuance/types.js +17 -10
- package/lib/commonjs/credential/issuance/types.js.map +1 -1
- package/lib/commonjs/credential/presentation/07-evaluate-dcql-query.js +6 -13
- package/lib/commonjs/credential/presentation/07-evaluate-dcql-query.js.map +1 -1
- package/lib/commonjs/credential/presentation/07-evaluate-input-descriptor.js +10 -11
- package/lib/commonjs/credential/presentation/07-evaluate-input-descriptor.js.map +1 -1
- package/lib/commonjs/credential/presentation/types.js +1 -1
- package/lib/commonjs/credential/presentation/types.js.map +1 -1
- package/lib/commonjs/credential/status/README.md +0 -1
- package/lib/commonjs/sd-jwt/__test__/index.test.js +11 -15
- package/lib/commonjs/sd-jwt/__test__/index.test.js.map +1 -1
- package/lib/commonjs/sd-jwt/__test__/types.test.js +5 -2
- package/lib/commonjs/sd-jwt/__test__/types.test.js.map +1 -1
- package/lib/commonjs/sd-jwt/__test__/utils.test.js +37 -0
- package/lib/commonjs/sd-jwt/__test__/utils.test.js.map +1 -0
- package/lib/commonjs/sd-jwt/index.js +26 -1
- package/lib/commonjs/sd-jwt/index.js.map +1 -1
- package/lib/commonjs/sd-jwt/types.js +71 -8
- package/lib/commonjs/sd-jwt/types.js.map +1 -1
- package/lib/commonjs/sd-jwt/utils.js +64 -0
- package/lib/commonjs/sd-jwt/utils.js.map +1 -0
- package/lib/commonjs/trust/types.js +18 -13
- package/lib/commonjs/trust/types.js.map +1 -1
- package/lib/commonjs/utils/par.js +32 -22
- package/lib/commonjs/utils/par.js.map +1 -1
- package/lib/commonjs/utils/pop.js +1 -1
- package/lib/commonjs/utils/pop.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/types.js +4 -1
- package/lib/commonjs/wallet-instance-attestation/types.js.map +1 -1
- package/lib/module/credential/issuance/03-start-user-authorization.js +38 -24
- package/lib/module/credential/issuance/03-start-user-authorization.js.map +1 -1
- package/lib/module/credential/issuance/04-complete-user-authorization.js +76 -58
- package/lib/module/credential/issuance/04-complete-user-authorization.js.map +1 -1
- package/lib/module/credential/issuance/05-authorize-access.js +6 -10
- package/lib/module/credential/issuance/05-authorize-access.js.map +1 -1
- package/lib/module/credential/issuance/06-obtain-credential.js +44 -12
- package/lib/module/credential/issuance/06-obtain-credential.js.map +1 -1
- package/lib/module/credential/issuance/07-verify-and-parse-credential.js +51 -48
- package/lib/module/credential/issuance/07-verify-and-parse-credential.js.map +1 -1
- package/lib/module/credential/issuance/README.md +77 -45
- package/lib/module/credential/issuance/const.js +1 -1
- package/lib/module/credential/issuance/types.js +13 -8
- package/lib/module/credential/issuance/types.js.map +1 -1
- package/lib/module/credential/presentation/07-evaluate-dcql-query.js +6 -13
- package/lib/module/credential/presentation/07-evaluate-dcql-query.js.map +1 -1
- package/lib/module/credential/presentation/07-evaluate-input-descriptor.js +10 -11
- package/lib/module/credential/presentation/07-evaluate-input-descriptor.js.map +1 -1
- package/lib/module/credential/presentation/types.js +1 -1
- package/lib/module/credential/presentation/types.js.map +1 -1
- package/lib/module/credential/status/README.md +0 -1
- package/lib/module/sd-jwt/__test__/index.test.js +11 -16
- package/lib/module/sd-jwt/__test__/index.test.js.map +1 -1
- package/lib/module/sd-jwt/__test__/types.test.js +5 -2
- package/lib/module/sd-jwt/__test__/types.test.js.map +1 -1
- package/lib/module/sd-jwt/__test__/utils.test.js +35 -0
- package/lib/module/sd-jwt/__test__/utils.test.js.map +1 -0
- package/lib/module/sd-jwt/index.js +7 -1
- package/lib/module/sd-jwt/index.js.map +1 -1
- package/lib/module/sd-jwt/types.js +70 -7
- package/lib/module/sd-jwt/types.js.map +1 -1
- package/lib/module/sd-jwt/utils.js +57 -0
- package/lib/module/sd-jwt/utils.js.map +1 -0
- package/lib/module/trust/types.js +18 -13
- package/lib/module/trust/types.js.map +1 -1
- package/lib/module/utils/par.js +29 -20
- package/lib/module/utils/par.js.map +1 -1
- package/lib/module/utils/pop.js +1 -1
- package/lib/module/utils/pop.js.map +1 -1
- package/lib/module/wallet-instance-attestation/types.js +4 -1
- package/lib/module/wallet-instance-attestation/types.js.map +1 -1
- package/lib/typescript/client/generated/wallet-provider.d.ts +12 -12
- package/lib/typescript/credential/issuance/01-start-flow.d.ts +2 -2
- package/lib/typescript/credential/issuance/01-start-flow.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/03-start-user-authorization.d.ts +7 -6
- package/lib/typescript/credential/issuance/03-start-user-authorization.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/04-complete-user-authorization.d.ts +7 -14
- package/lib/typescript/credential/issuance/04-complete-user-authorization.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/05-authorize-access.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/06-obtain-credential.d.ts +10 -5
- package/lib/typescript/credential/issuance/06-obtain-credential.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/07-verify-and-parse-credential.d.ts +3 -2
- package/lib/typescript/credential/issuance/07-verify-and-parse-credential.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/const.d.ts +1 -1
- package/lib/typescript/credential/issuance/types.d.ts +49 -26
- package/lib/typescript/credential/issuance/types.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/01-start-flow.d.ts +2 -2
- package/lib/typescript/credential/presentation/07-evaluate-dcql-query.d.ts +4 -3
- package/lib/typescript/credential/presentation/07-evaluate-dcql-query.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/07-evaluate-input-descriptor.d.ts +9 -5
- package/lib/typescript/credential/presentation/07-evaluate-input-descriptor.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/types.d.ts +3 -4
- package/lib/typescript/credential/presentation/types.d.ts.map +1 -1
- package/lib/typescript/credential/status/types.d.ts +4 -4
- package/lib/typescript/pid/sd-jwt/types.d.ts +7 -7
- package/lib/typescript/sd-jwt/__test__/utils.test.d.ts +2 -0
- package/lib/typescript/sd-jwt/__test__/utils.test.d.ts.map +1 -0
- package/lib/typescript/sd-jwt/index.d.ts +69 -28
- package/lib/typescript/sd-jwt/index.d.ts.map +1 -1
- package/lib/typescript/sd-jwt/types.d.ts +264 -31
- package/lib/typescript/sd-jwt/types.d.ts.map +1 -1
- package/lib/typescript/sd-jwt/utils.d.ts +18 -0
- package/lib/typescript/sd-jwt/utils.d.ts.map +1 -0
- package/lib/typescript/trust/build-chain.d.ts +30 -14
- package/lib/typescript/trust/build-chain.d.ts.map +1 -1
- package/lib/typescript/trust/types.d.ts +322 -158
- package/lib/typescript/trust/types.d.ts.map +1 -1
- package/lib/typescript/utils/par.d.ts +29 -13
- package/lib/typescript/utils/par.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/types.d.ts +9 -9
- package/lib/typescript/wallet-instance-attestation/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/credential/issuance/01-start-flow.ts +2 -2
- package/src/credential/issuance/03-start-user-authorization.ts +57 -38
- package/src/credential/issuance/04-complete-user-authorization.ts +79 -85
- package/src/credential/issuance/05-authorize-access.ts +5 -11
- package/src/credential/issuance/06-obtain-credential.ts +56 -23
- package/src/credential/issuance/07-verify-and-parse-credential.ts +54 -62
- package/src/credential/issuance/README.md +77 -45
- package/src/credential/issuance/const.ts +1 -1
- package/src/credential/issuance/types.ts +19 -8
- package/src/credential/presentation/07-evaluate-dcql-query.ts +16 -17
- package/src/credential/presentation/07-evaluate-input-descriptor.ts +19 -16
- package/src/credential/presentation/types.ts +1 -2
- package/src/credential/status/README.md +0 -1
- package/src/sd-jwt/__test__/index.test.ts +8 -29
- package/src/sd-jwt/__test__/types.test.ts +6 -2
- package/src/sd-jwt/__test__/utils.test.ts +37 -0
- package/src/sd-jwt/index.ts +7 -1
- package/src/sd-jwt/types.ts +68 -7
- package/src/sd-jwt/utils.ts +73 -0
- package/src/trust/types.ts +23 -17
- package/src/utils/par.ts +37 -21
- package/src/utils/pop.ts +1 -1
- package/src/wallet-instance-attestation/types.ts +3 -1
@@ -29,20 +29,33 @@ export type DisclosureWithEncoded = {
|
|
29
29
|
decoded: Disclosure;
|
30
30
|
encoded: string;
|
31
31
|
};
|
32
|
+
/**
|
33
|
+
* Type for a Verifiable Credential in SD-JWT format.
|
34
|
+
* It supports both the older and the new data model for backward compatibility.
|
35
|
+
*/
|
32
36
|
export type SdJwt4VC = z.infer<typeof SdJwt4VC>;
|
33
37
|
export declare const SdJwt4VC: z.ZodObject<{
|
34
38
|
header: z.ZodObject<{
|
35
|
-
typ: z.
|
39
|
+
typ: z.ZodEnum<["vc+sd-jwt", "dc+sd-jwt"]>;
|
36
40
|
alg: z.ZodString;
|
37
|
-
kid: z.
|
41
|
+
kid: z.ZodString;
|
42
|
+
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
43
|
+
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
44
|
+
vctm: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
38
45
|
}, "strip", z.ZodTypeAny, {
|
39
46
|
alg: string;
|
40
|
-
|
41
|
-
|
47
|
+
kid: string;
|
48
|
+
typ: "vc+sd-jwt" | "dc+sd-jwt";
|
49
|
+
trust_chain?: string[] | undefined;
|
50
|
+
x5c?: string[] | undefined;
|
51
|
+
vctm?: string[] | undefined;
|
42
52
|
}, {
|
43
53
|
alg: string;
|
44
|
-
|
45
|
-
|
54
|
+
kid: string;
|
55
|
+
typ: "vc+sd-jwt" | "dc+sd-jwt";
|
56
|
+
trust_chain?: string[] | undefined;
|
57
|
+
x5c?: string[] | undefined;
|
58
|
+
vctm?: string[] | undefined;
|
46
59
|
}>;
|
47
60
|
payload: z.ZodIntersection<z.ZodObject<{
|
48
61
|
iss: z.ZodString;
|
@@ -50,7 +63,23 @@ export declare const SdJwt4VC: z.ZodObject<{
|
|
50
63
|
iat: z.ZodOptional<z.ZodNumber>;
|
51
64
|
exp: z.ZodNumber;
|
52
65
|
_sd_alg: z.ZodLiteral<"sha-256">;
|
53
|
-
status: z.ZodObject<{
|
66
|
+
status: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
67
|
+
status_assertion: z.ZodObject<{
|
68
|
+
credential_hash_alg: z.ZodLiteral<"sha-256">;
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
70
|
+
credential_hash_alg: "sha-256";
|
71
|
+
}, {
|
72
|
+
credential_hash_alg: "sha-256";
|
73
|
+
}>;
|
74
|
+
}, "strip", z.ZodTypeAny, {
|
75
|
+
status_assertion: {
|
76
|
+
credential_hash_alg: "sha-256";
|
77
|
+
};
|
78
|
+
}, {
|
79
|
+
status_assertion: {
|
80
|
+
credential_hash_alg: "sha-256";
|
81
|
+
};
|
82
|
+
}>, z.ZodObject<{
|
54
83
|
status_attestation: z.ZodObject<{
|
55
84
|
credential_hash_alg: z.ZodLiteral<"sha-256">;
|
56
85
|
}, "strip", z.ZodTypeAny, {
|
@@ -66,7 +95,7 @@ export declare const SdJwt4VC: z.ZodObject<{
|
|
66
95
|
status_attestation: {
|
67
96
|
credential_hash_alg: "sha-256";
|
68
97
|
};
|
69
|
-
}
|
98
|
+
}>]>>;
|
70
99
|
cnf: z.ZodObject<{
|
71
100
|
jwk: z.ZodObject<{
|
72
101
|
alg: z.ZodOptional<z.ZodString>;
|
@@ -190,13 +219,11 @@ export declare const SdJwt4VC: z.ZodObject<{
|
|
190
219
|
};
|
191
220
|
}>;
|
192
221
|
vct: z.ZodString;
|
222
|
+
"vct#integrity": z.ZodOptional<z.ZodString>;
|
223
|
+
issuing_authority: z.ZodOptional<z.ZodString>;
|
224
|
+
issuing_country: z.ZodOptional<z.ZodString>;
|
193
225
|
}, "strip", z.ZodTypeAny, {
|
194
226
|
iss: string;
|
195
|
-
status: {
|
196
|
-
status_attestation: {
|
197
|
-
credential_hash_alg: "sha-256";
|
198
|
-
};
|
199
|
-
};
|
200
227
|
sub: string;
|
201
228
|
exp: number;
|
202
229
|
_sd_alg: "sha-256";
|
@@ -228,13 +255,20 @@ export declare const SdJwt4VC: z.ZodObject<{
|
|
228
255
|
};
|
229
256
|
vct: string;
|
230
257
|
iat?: number | undefined;
|
231
|
-
|
232
|
-
|
233
|
-
|
258
|
+
status?: {
|
259
|
+
status_assertion: {
|
260
|
+
credential_hash_alg: "sha-256";
|
261
|
+
};
|
262
|
+
} | {
|
234
263
|
status_attestation: {
|
235
264
|
credential_hash_alg: "sha-256";
|
236
265
|
};
|
237
|
-
};
|
266
|
+
} | undefined;
|
267
|
+
"vct#integrity"?: string | undefined;
|
268
|
+
issuing_authority?: string | undefined;
|
269
|
+
issuing_country?: string | undefined;
|
270
|
+
}, {
|
271
|
+
iss: string;
|
238
272
|
sub: string;
|
239
273
|
exp: number;
|
240
274
|
_sd_alg: "sha-256";
|
@@ -266,6 +300,18 @@ export declare const SdJwt4VC: z.ZodObject<{
|
|
266
300
|
};
|
267
301
|
vct: string;
|
268
302
|
iat?: number | undefined;
|
303
|
+
status?: {
|
304
|
+
status_assertion: {
|
305
|
+
credential_hash_alg: "sha-256";
|
306
|
+
};
|
307
|
+
} | {
|
308
|
+
status_attestation: {
|
309
|
+
credential_hash_alg: "sha-256";
|
310
|
+
};
|
311
|
+
} | undefined;
|
312
|
+
"vct#integrity"?: string | undefined;
|
313
|
+
issuing_authority?: string | undefined;
|
314
|
+
issuing_country?: string | undefined;
|
269
315
|
}>, z.ZodObject<{
|
270
316
|
_sd: z.ZodArray<z.ZodString, "many">;
|
271
317
|
}, "strip", z.ZodTypeAny, {
|
@@ -276,16 +322,14 @@ export declare const SdJwt4VC: z.ZodObject<{
|
|
276
322
|
}, "strip", z.ZodTypeAny, {
|
277
323
|
header: {
|
278
324
|
alg: string;
|
279
|
-
|
280
|
-
|
325
|
+
kid: string;
|
326
|
+
typ: "vc+sd-jwt" | "dc+sd-jwt";
|
327
|
+
trust_chain?: string[] | undefined;
|
328
|
+
x5c?: string[] | undefined;
|
329
|
+
vctm?: string[] | undefined;
|
281
330
|
};
|
282
331
|
payload: {
|
283
332
|
iss: string;
|
284
|
-
status: {
|
285
|
-
status_attestation: {
|
286
|
-
credential_hash_alg: "sha-256";
|
287
|
-
};
|
288
|
-
};
|
289
333
|
sub: string;
|
290
334
|
exp: number;
|
291
335
|
_sd_alg: "sha-256";
|
@@ -317,22 +361,32 @@ export declare const SdJwt4VC: z.ZodObject<{
|
|
317
361
|
};
|
318
362
|
vct: string;
|
319
363
|
iat?: number | undefined;
|
364
|
+
status?: {
|
365
|
+
status_assertion: {
|
366
|
+
credential_hash_alg: "sha-256";
|
367
|
+
};
|
368
|
+
} | {
|
369
|
+
status_attestation: {
|
370
|
+
credential_hash_alg: "sha-256";
|
371
|
+
};
|
372
|
+
} | undefined;
|
373
|
+
"vct#integrity"?: string | undefined;
|
374
|
+
issuing_authority?: string | undefined;
|
375
|
+
issuing_country?: string | undefined;
|
320
376
|
} & {
|
321
377
|
_sd: string[];
|
322
378
|
};
|
323
379
|
}, {
|
324
380
|
header: {
|
325
381
|
alg: string;
|
326
|
-
|
327
|
-
|
382
|
+
kid: string;
|
383
|
+
typ: "vc+sd-jwt" | "dc+sd-jwt";
|
384
|
+
trust_chain?: string[] | undefined;
|
385
|
+
x5c?: string[] | undefined;
|
386
|
+
vctm?: string[] | undefined;
|
328
387
|
};
|
329
388
|
payload: {
|
330
389
|
iss: string;
|
331
|
-
status: {
|
332
|
-
status_attestation: {
|
333
|
-
credential_hash_alg: "sha-256";
|
334
|
-
};
|
335
|
-
};
|
336
390
|
sub: string;
|
337
391
|
exp: number;
|
338
392
|
_sd_alg: "sha-256";
|
@@ -364,8 +418,187 @@ export declare const SdJwt4VC: z.ZodObject<{
|
|
364
418
|
};
|
365
419
|
vct: string;
|
366
420
|
iat?: number | undefined;
|
421
|
+
status?: {
|
422
|
+
status_assertion: {
|
423
|
+
credential_hash_alg: "sha-256";
|
424
|
+
};
|
425
|
+
} | {
|
426
|
+
status_attestation: {
|
427
|
+
credential_hash_alg: "sha-256";
|
428
|
+
};
|
429
|
+
} | undefined;
|
430
|
+
"vct#integrity"?: string | undefined;
|
431
|
+
issuing_authority?: string | undefined;
|
432
|
+
issuing_country?: string | undefined;
|
367
433
|
} & {
|
368
434
|
_sd: string[];
|
369
435
|
};
|
370
436
|
}>;
|
437
|
+
/**
|
438
|
+
* Object containing User authentication and User data verification information.
|
439
|
+
* Useful to extract the assurance level to determine L2/L3 authentication.
|
440
|
+
*/
|
441
|
+
export type Verification = z.infer<typeof Verification>;
|
442
|
+
export declare const Verification: z.ZodObject<{
|
443
|
+
trust_framework: z.ZodString;
|
444
|
+
assurance_level: z.ZodString;
|
445
|
+
evidence: z.ZodArray<z.ZodObject<{
|
446
|
+
type: z.ZodLiteral<"vouch">;
|
447
|
+
time: z.ZodString;
|
448
|
+
attestation: z.ZodObject<{
|
449
|
+
type: z.ZodLiteral<"digital_attestation">;
|
450
|
+
reference_number: z.ZodString;
|
451
|
+
date_of_issuance: z.ZodString;
|
452
|
+
voucher: z.ZodObject<{
|
453
|
+
organization: z.ZodString;
|
454
|
+
}, "strip", z.ZodTypeAny, {
|
455
|
+
organization: string;
|
456
|
+
}, {
|
457
|
+
organization: string;
|
458
|
+
}>;
|
459
|
+
}, "strip", z.ZodTypeAny, {
|
460
|
+
type: "digital_attestation";
|
461
|
+
reference_number: string;
|
462
|
+
date_of_issuance: string;
|
463
|
+
voucher: {
|
464
|
+
organization: string;
|
465
|
+
};
|
466
|
+
}, {
|
467
|
+
type: "digital_attestation";
|
468
|
+
reference_number: string;
|
469
|
+
date_of_issuance: string;
|
470
|
+
voucher: {
|
471
|
+
organization: string;
|
472
|
+
};
|
473
|
+
}>;
|
474
|
+
}, "strip", z.ZodTypeAny, {
|
475
|
+
type: "vouch";
|
476
|
+
time: string;
|
477
|
+
attestation: {
|
478
|
+
type: "digital_attestation";
|
479
|
+
reference_number: string;
|
480
|
+
date_of_issuance: string;
|
481
|
+
voucher: {
|
482
|
+
organization: string;
|
483
|
+
};
|
484
|
+
};
|
485
|
+
}, {
|
486
|
+
type: "vouch";
|
487
|
+
time: string;
|
488
|
+
attestation: {
|
489
|
+
type: "digital_attestation";
|
490
|
+
reference_number: string;
|
491
|
+
date_of_issuance: string;
|
492
|
+
voucher: {
|
493
|
+
organization: string;
|
494
|
+
};
|
495
|
+
};
|
496
|
+
}>, "many">;
|
497
|
+
}, "strip", z.ZodTypeAny, {
|
498
|
+
trust_framework: string;
|
499
|
+
assurance_level: string;
|
500
|
+
evidence: {
|
501
|
+
type: "vouch";
|
502
|
+
time: string;
|
503
|
+
attestation: {
|
504
|
+
type: "digital_attestation";
|
505
|
+
reference_number: string;
|
506
|
+
date_of_issuance: string;
|
507
|
+
voucher: {
|
508
|
+
organization: string;
|
509
|
+
};
|
510
|
+
};
|
511
|
+
}[];
|
512
|
+
}, {
|
513
|
+
trust_framework: string;
|
514
|
+
assurance_level: string;
|
515
|
+
evidence: {
|
516
|
+
type: "vouch";
|
517
|
+
time: string;
|
518
|
+
attestation: {
|
519
|
+
type: "digital_attestation";
|
520
|
+
reference_number: string;
|
521
|
+
date_of_issuance: string;
|
522
|
+
voucher: {
|
523
|
+
organization: string;
|
524
|
+
};
|
525
|
+
};
|
526
|
+
}[];
|
527
|
+
}>;
|
528
|
+
/**
|
529
|
+
* Metadata for a digital credential. This information is retrieved from the URL defined in the `vct` claim.
|
530
|
+
*
|
531
|
+
* @see https://italia.github.io/eid-wallet-it-docs/v0.9.1/en/pid-eaa-data-model.html#digital-credential-metadata-type
|
532
|
+
*/
|
533
|
+
export type TypeMetadata = z.infer<typeof TypeMetadata>;
|
534
|
+
export declare const TypeMetadata: z.ZodObject<{
|
535
|
+
name: z.ZodString;
|
536
|
+
description: z.ZodString;
|
537
|
+
data_source: z.ZodObject<{
|
538
|
+
trust_framework: z.ZodString;
|
539
|
+
authentic_source: z.ZodObject<{
|
540
|
+
organization_name: z.ZodString;
|
541
|
+
organization_code: z.ZodString;
|
542
|
+
contacts: z.ZodArray<z.ZodString, "many">;
|
543
|
+
homepage_uri: z.ZodString;
|
544
|
+
logo_uri: z.ZodString;
|
545
|
+
}, "strip", z.ZodTypeAny, {
|
546
|
+
organization_name: string;
|
547
|
+
organization_code: string;
|
548
|
+
contacts: string[];
|
549
|
+
homepage_uri: string;
|
550
|
+
logo_uri: string;
|
551
|
+
}, {
|
552
|
+
organization_name: string;
|
553
|
+
organization_code: string;
|
554
|
+
contacts: string[];
|
555
|
+
homepage_uri: string;
|
556
|
+
logo_uri: string;
|
557
|
+
}>;
|
558
|
+
}, "strip", z.ZodTypeAny, {
|
559
|
+
trust_framework: string;
|
560
|
+
authentic_source: {
|
561
|
+
organization_name: string;
|
562
|
+
organization_code: string;
|
563
|
+
contacts: string[];
|
564
|
+
homepage_uri: string;
|
565
|
+
logo_uri: string;
|
566
|
+
};
|
567
|
+
}, {
|
568
|
+
trust_framework: string;
|
569
|
+
authentic_source: {
|
570
|
+
organization_name: string;
|
571
|
+
organization_code: string;
|
572
|
+
contacts: string[];
|
573
|
+
homepage_uri: string;
|
574
|
+
logo_uri: string;
|
575
|
+
};
|
576
|
+
}>;
|
577
|
+
}, "strip", z.ZodTypeAny, {
|
578
|
+
name: string;
|
579
|
+
description: string;
|
580
|
+
data_source: {
|
581
|
+
trust_framework: string;
|
582
|
+
authentic_source: {
|
583
|
+
organization_name: string;
|
584
|
+
organization_code: string;
|
585
|
+
contacts: string[];
|
586
|
+
homepage_uri: string;
|
587
|
+
logo_uri: string;
|
588
|
+
};
|
589
|
+
};
|
590
|
+
}, {
|
591
|
+
name: string;
|
592
|
+
description: string;
|
593
|
+
data_source: {
|
594
|
+
trust_framework: string;
|
595
|
+
authentic_source: {
|
596
|
+
organization_name: string;
|
597
|
+
organization_code: string;
|
598
|
+
contacts: string[];
|
599
|
+
homepage_uri: string;
|
600
|
+
logo_uri: string;
|
601
|
+
};
|
602
|
+
};
|
603
|
+
}>;
|
371
604
|
//# sourceMappingURL=types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/sd-jwt/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,QAAQ,aAAuC,CAAC;AAC7D,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEhD,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC1E,eAAO,MAAM,qBAAqB;;;;;;EAAyC,CAAC;AAE5E;;;;;GAKG;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AACpD,eAAO,MAAM,UAAU,4DAIrB,CAAC;AAEH;;;;;;;GAOG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,UAAU,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/sd-jwt/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,QAAQ,aAAuC,CAAC;AAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAevB,CAAC;AAEH;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AACxD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcvB,CAAC"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { TypeMetadata, Verification } from "./types";
|
2
|
+
/**
|
3
|
+
* Retrieve the Type Metadata for a credential and verify its integrity.
|
4
|
+
* @param vct The VCT as a valid HTTPS url
|
5
|
+
* @param vctIntegrity The integrity hash
|
6
|
+
* @param context.appFetch (optional) fetch api implementation. Default: built-in fetch
|
7
|
+
* @returns The credential metadata {@link TypeMetadata}
|
8
|
+
*/
|
9
|
+
export declare const fetchTypeMetadata: (vct: string, vctIntegrity: string, context?: {
|
10
|
+
appFetch?: GlobalFetch["fetch"];
|
11
|
+
}) => Promise<TypeMetadata>;
|
12
|
+
/**
|
13
|
+
* Extract and validate the `verification` claim from disclosures.
|
14
|
+
* @param credentialSdJwt The raw credential SD-JWT
|
15
|
+
* @returns The verification claim or undefined if it wasn't found
|
16
|
+
*/
|
17
|
+
export declare const getVerification: (credentialSdJwt: string) => Verification | undefined;
|
18
|
+
//# sourceMappingURL=utils.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/sd-jwt/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AASrD;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,QACvB,MAAM,gBACG,MAAM,YACX;IACP,QAAQ,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CACjC,KACA,QAAQ,YAAY,CA8BtB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,eAAe,oBACT,MAAM,KACtB,YAAY,GAAG,SASjB,CAAC"}
|
@@ -260,33 +260,41 @@ export declare const getCredentialIssuerEntityConfiguration: (entityBaseUrl: Par
|
|
260
260
|
}[];
|
261
261
|
credential_issuer: string;
|
262
262
|
credential_endpoint: string;
|
263
|
-
|
263
|
+
nonce_endpoint: string;
|
264
264
|
status_attestation_endpoint: string;
|
265
|
-
credential_configurations_supported: Record<string, {
|
266
|
-
|
265
|
+
credential_configurations_supported: Record<string, ({
|
266
|
+
vct: string;
|
267
|
+
format: "dc+sd-jwt";
|
268
|
+
} | {
|
269
|
+
format: "mso_mdoc";
|
270
|
+
doctype: string;
|
271
|
+
}) & {
|
267
272
|
scope: string;
|
268
273
|
display: {
|
269
274
|
name: string;
|
270
275
|
locale: string;
|
271
276
|
}[];
|
272
|
-
claims:
|
273
|
-
|
277
|
+
claims: {
|
278
|
+
path: string[];
|
274
279
|
display: {
|
275
280
|
name: string;
|
276
281
|
locale: string;
|
277
282
|
}[];
|
278
|
-
}
|
283
|
+
}[];
|
279
284
|
cryptographic_binding_methods_supported: string[];
|
280
285
|
credential_signing_alg_values_supported: string[];
|
281
286
|
authentic_source?: string | undefined;
|
282
287
|
issuance_errors_supported?: Record<string, {
|
283
288
|
display: {
|
289
|
+
description: string;
|
284
290
|
locale: string;
|
285
291
|
title: string;
|
286
|
-
description: string;
|
287
292
|
}[];
|
288
293
|
}> | undefined;
|
289
294
|
}>;
|
295
|
+
trust_frameworks_supported: string[];
|
296
|
+
evidence_supported: string[];
|
297
|
+
revocation_endpoint?: string | undefined;
|
290
298
|
};
|
291
299
|
oauth_authorization_server: {
|
292
300
|
request_object_signing_alg_values_supported: string[];
|
@@ -795,33 +803,41 @@ export declare const getEntityConfiguration: (entityBaseUrl: Parameters<typeof f
|
|
795
803
|
}[];
|
796
804
|
credential_issuer: string;
|
797
805
|
credential_endpoint: string;
|
798
|
-
|
806
|
+
nonce_endpoint: string;
|
799
807
|
status_attestation_endpoint: string;
|
800
|
-
credential_configurations_supported: Record<string, {
|
801
|
-
|
808
|
+
credential_configurations_supported: Record<string, ({
|
809
|
+
vct: string;
|
810
|
+
format: "dc+sd-jwt";
|
811
|
+
} | {
|
812
|
+
format: "mso_mdoc";
|
813
|
+
doctype: string;
|
814
|
+
}) & {
|
802
815
|
scope: string;
|
803
816
|
display: {
|
804
817
|
name: string;
|
805
818
|
locale: string;
|
806
819
|
}[];
|
807
|
-
claims:
|
808
|
-
|
820
|
+
claims: {
|
821
|
+
path: string[];
|
809
822
|
display: {
|
810
823
|
name: string;
|
811
824
|
locale: string;
|
812
825
|
}[];
|
813
|
-
}
|
826
|
+
}[];
|
814
827
|
cryptographic_binding_methods_supported: string[];
|
815
828
|
credential_signing_alg_values_supported: string[];
|
816
829
|
authentic_source?: string | undefined;
|
817
830
|
issuance_errors_supported?: Record<string, {
|
818
831
|
display: {
|
832
|
+
description: string;
|
819
833
|
locale: string;
|
820
834
|
title: string;
|
821
|
-
description: string;
|
822
835
|
}[];
|
823
836
|
}> | undefined;
|
824
837
|
}>;
|
838
|
+
trust_frameworks_supported: string[];
|
839
|
+
evidence_supported: string[];
|
840
|
+
revocation_endpoint?: string | undefined;
|
825
841
|
};
|
826
842
|
oauth_authorization_server: {
|
827
843
|
request_object_signing_alg_values_supported: string[];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"build-chain.d.ts","sourceRoot":"","sources":["../../../src/trust/build-chain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AASxC,OAAO,EACL,mCAAmC,EACnC,mBAAmB,EAGnB,+BAA+B,EAC/B,8BAA8B,EAC9B,iCAAiC,EAClC,MAAM,SAAS,CAAC;AAIjB;;;;;;;;;;;;;;;;;GAiBG;AACH,iBAAe,gCAAgC,CAC7C,aAAa,EAAE,MAAM,EACrB,MAAM,EAAE,OAAO,iCAAiC,EAChD,OAAO,CAAC,EAAE;IACR,Q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