@pagopa/io-react-native-wallet 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. package/README.md +57 -24
  2. package/lib/commonjs/index.js +13 -0
  3. package/lib/commonjs/index.js.map +1 -1
  4. package/lib/commonjs/rp/__test__/index.test.js +8 -1
  5. package/lib/commonjs/rp/__test__/index.test.js.map +1 -1
  6. package/lib/commonjs/rp/index.js +5 -14
  7. package/lib/commonjs/rp/index.js.map +1 -1
  8. package/lib/commonjs/rp/types.js +7 -27
  9. package/lib/commonjs/rp/types.js.map +1 -1
  10. package/lib/commonjs/trust/chain.js +94 -0
  11. package/lib/commonjs/trust/chain.js.map +1 -0
  12. package/lib/commonjs/trust/index.js +44 -0
  13. package/lib/commonjs/trust/index.js.map +1 -0
  14. package/lib/commonjs/trust/types.js +64 -0
  15. package/lib/commonjs/trust/types.js.map +1 -0
  16. package/lib/commonjs/wallet-instance-attestation/issuing.js +4 -4
  17. package/lib/commonjs/wallet-instance-attestation/issuing.js.map +1 -1
  18. package/lib/commonjs/wallet-instance-attestation/types.js +6 -9
  19. package/lib/commonjs/wallet-instance-attestation/types.js.map +1 -1
  20. package/lib/module/index.js +2 -1
  21. package/lib/module/index.js.map +1 -1
  22. package/lib/module/rp/__test__/index.test.js +8 -1
  23. package/lib/module/rp/__test__/index.test.js.map +1 -1
  24. package/lib/module/rp/index.js +5 -14
  25. package/lib/module/rp/index.js.map +1 -1
  26. package/lib/module/rp/types.js +7 -27
  27. package/lib/module/rp/types.js.map +1 -1
  28. package/lib/module/trust/chain.js +86 -0
  29. package/lib/module/trust/chain.js.map +1 -0
  30. package/lib/module/trust/index.js +34 -0
  31. package/lib/module/trust/index.js.map +1 -0
  32. package/lib/module/trust/types.js +52 -0
  33. package/lib/module/trust/types.js.map +1 -0
  34. package/lib/module/wallet-instance-attestation/issuing.js +4 -4
  35. package/lib/module/wallet-instance-attestation/issuing.js.map +1 -1
  36. package/lib/module/wallet-instance-attestation/types.js +6 -9
  37. package/lib/module/wallet-instance-attestation/types.js.map +1 -1
  38. package/lib/typescript/index.d.ts +2 -1
  39. package/lib/typescript/index.d.ts.map +1 -1
  40. package/lib/typescript/rp/index.d.ts.map +1 -1
  41. package/lib/typescript/rp/types.d.ts +232 -145
  42. package/lib/typescript/rp/types.d.ts.map +1 -1
  43. package/lib/typescript/trust/chain.d.ts +17 -0
  44. package/lib/typescript/trust/chain.d.ts.map +1 -0
  45. package/lib/typescript/trust/index.d.ts +16 -0
  46. package/lib/typescript/trust/index.d.ts.map +1 -0
  47. package/lib/typescript/trust/types.d.ts +1041 -0
  48. package/lib/typescript/trust/types.d.ts.map +1 -0
  49. package/lib/typescript/wallet-instance-attestation/types.d.ts +30 -50
  50. package/lib/typescript/wallet-instance-attestation/types.d.ts.map +1 -1
  51. package/package.json +1 -1
  52. package/src/index.ts +3 -0
  53. package/src/rp/__test__/index.test.ts +8 -1
  54. package/src/rp/index.ts +5 -20
  55. package/src/rp/types.ts +17 -34
  56. package/src/trust/chain.ts +109 -0
  57. package/src/trust/index.ts +43 -0
  58. package/src/trust/types.ts +56 -0
  59. package/src/wallet-instance-attestation/issuing.ts +4 -4
  60. package/src/wallet-instance-attestation/types.ts +6 -9
@@ -0,0 +1,1041 @@
1
+ import * as z from "zod";
2
+ export declare const TrustMark: z.ZodObject<{
3
+ id: z.ZodString;
4
+ trust_mark: z.ZodString;
5
+ }, "strip", z.ZodTypeAny, {
6
+ id: string;
7
+ trust_mark: string;
8
+ }, {
9
+ id: string;
10
+ trust_mark: string;
11
+ }>;
12
+ export type TrustMark = z.infer<typeof TrustMark>;
13
+ export type EntityStatement = z.infer<typeof EntityStatement>;
14
+ export declare const EntityStatement: z.ZodObject<{
15
+ header: z.ZodObject<{
16
+ typ: z.ZodLiteral<"entity-statement+jwt">;
17
+ alg: z.ZodString;
18
+ kid: z.ZodString;
19
+ }, "strip", z.ZodTypeAny, {
20
+ alg: string;
21
+ kid: string;
22
+ typ: "entity-statement+jwt";
23
+ }, {
24
+ alg: string;
25
+ kid: string;
26
+ typ: "entity-statement+jwt";
27
+ }>;
28
+ payload: z.ZodObject<{
29
+ iss: z.ZodString;
30
+ sub: z.ZodString;
31
+ jwks: z.ZodObject<{
32
+ keys: z.ZodArray<z.ZodObject<{
33
+ alg: z.ZodOptional<z.ZodString>;
34
+ crv: z.ZodOptional<z.ZodString>;
35
+ d: z.ZodOptional<z.ZodString>;
36
+ dp: z.ZodOptional<z.ZodString>;
37
+ dq: z.ZodOptional<z.ZodString>;
38
+ e: z.ZodOptional<z.ZodString>;
39
+ ext: z.ZodOptional<z.ZodBoolean>;
40
+ k: z.ZodOptional<z.ZodString>;
41
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
42
+ kid: z.ZodOptional<z.ZodString>;
43
+ kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
44
+ n: z.ZodOptional<z.ZodString>;
45
+ p: z.ZodOptional<z.ZodString>;
46
+ q: z.ZodOptional<z.ZodString>;
47
+ qi: z.ZodOptional<z.ZodString>;
48
+ use: z.ZodOptional<z.ZodString>;
49
+ x: z.ZodOptional<z.ZodString>;
50
+ y: z.ZodOptional<z.ZodString>;
51
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
52
+ x5t: z.ZodOptional<z.ZodString>;
53
+ "x5t#S256": z.ZodOptional<z.ZodString>;
54
+ x5u: z.ZodOptional<z.ZodString>;
55
+ }, "strip", z.ZodTypeAny, {
56
+ kty: "RSA" | "EC";
57
+ alg?: string | undefined;
58
+ crv?: string | undefined;
59
+ d?: string | undefined;
60
+ dp?: string | undefined;
61
+ dq?: string | undefined;
62
+ e?: string | undefined;
63
+ ext?: boolean | undefined;
64
+ k?: string | undefined;
65
+ key_ops?: string[] | undefined;
66
+ kid?: string | undefined;
67
+ n?: string | undefined;
68
+ p?: string | undefined;
69
+ q?: string | undefined;
70
+ qi?: string | undefined;
71
+ use?: string | undefined;
72
+ x?: string | undefined;
73
+ y?: string | undefined;
74
+ x5c?: string[] | undefined;
75
+ x5t?: string | undefined;
76
+ "x5t#S256"?: string | undefined;
77
+ x5u?: string | undefined;
78
+ }, {
79
+ kty: "RSA" | "EC";
80
+ alg?: string | undefined;
81
+ crv?: string | undefined;
82
+ d?: string | undefined;
83
+ dp?: string | undefined;
84
+ dq?: string | undefined;
85
+ e?: string | undefined;
86
+ ext?: boolean | undefined;
87
+ k?: string | undefined;
88
+ key_ops?: string[] | undefined;
89
+ kid?: string | undefined;
90
+ n?: string | undefined;
91
+ p?: string | undefined;
92
+ q?: string | undefined;
93
+ qi?: string | undefined;
94
+ use?: string | undefined;
95
+ x?: string | undefined;
96
+ y?: string | undefined;
97
+ x5c?: string[] | undefined;
98
+ x5t?: string | undefined;
99
+ "x5t#S256"?: string | undefined;
100
+ x5u?: string | undefined;
101
+ }>, "many">;
102
+ }, "strip", z.ZodTypeAny, {
103
+ keys: {
104
+ kty: "RSA" | "EC";
105
+ alg?: string | undefined;
106
+ crv?: string | undefined;
107
+ d?: string | undefined;
108
+ dp?: string | undefined;
109
+ dq?: string | undefined;
110
+ e?: string | undefined;
111
+ ext?: boolean | undefined;
112
+ k?: string | undefined;
113
+ key_ops?: string[] | undefined;
114
+ kid?: string | undefined;
115
+ n?: string | undefined;
116
+ p?: string | undefined;
117
+ q?: string | undefined;
118
+ qi?: string | undefined;
119
+ use?: string | undefined;
120
+ x?: string | undefined;
121
+ y?: string | undefined;
122
+ x5c?: string[] | undefined;
123
+ x5t?: string | undefined;
124
+ "x5t#S256"?: string | undefined;
125
+ x5u?: string | undefined;
126
+ }[];
127
+ }, {
128
+ keys: {
129
+ kty: "RSA" | "EC";
130
+ alg?: string | undefined;
131
+ crv?: string | undefined;
132
+ d?: string | undefined;
133
+ dp?: string | undefined;
134
+ dq?: string | undefined;
135
+ e?: string | undefined;
136
+ ext?: boolean | undefined;
137
+ k?: string | undefined;
138
+ key_ops?: string[] | undefined;
139
+ kid?: string | undefined;
140
+ n?: string | undefined;
141
+ p?: string | undefined;
142
+ q?: string | undefined;
143
+ qi?: string | undefined;
144
+ use?: string | undefined;
145
+ x?: string | undefined;
146
+ y?: string | undefined;
147
+ x5c?: string[] | undefined;
148
+ x5t?: string | undefined;
149
+ "x5t#S256"?: string | undefined;
150
+ x5u?: string | undefined;
151
+ }[];
152
+ }>;
153
+ trust_marks: z.ZodArray<z.ZodObject<{
154
+ id: z.ZodString;
155
+ trust_mark: z.ZodString;
156
+ }, "strip", z.ZodTypeAny, {
157
+ id: string;
158
+ trust_mark: string;
159
+ }, {
160
+ id: string;
161
+ trust_mark: string;
162
+ }>, "many">;
163
+ iat: z.ZodNumber;
164
+ exp: z.ZodNumber;
165
+ }, "strip", z.ZodTypeAny, {
166
+ iss: string;
167
+ sub: string;
168
+ iat: number;
169
+ exp: number;
170
+ jwks: {
171
+ keys: {
172
+ kty: "RSA" | "EC";
173
+ alg?: string | undefined;
174
+ crv?: string | undefined;
175
+ d?: string | undefined;
176
+ dp?: string | undefined;
177
+ dq?: string | undefined;
178
+ e?: string | undefined;
179
+ ext?: boolean | undefined;
180
+ k?: string | undefined;
181
+ key_ops?: string[] | undefined;
182
+ kid?: string | undefined;
183
+ n?: string | undefined;
184
+ p?: string | undefined;
185
+ q?: string | undefined;
186
+ qi?: string | undefined;
187
+ use?: string | undefined;
188
+ x?: string | undefined;
189
+ y?: string | undefined;
190
+ x5c?: string[] | undefined;
191
+ x5t?: string | undefined;
192
+ "x5t#S256"?: string | undefined;
193
+ x5u?: string | undefined;
194
+ }[];
195
+ };
196
+ trust_marks: {
197
+ id: string;
198
+ trust_mark: string;
199
+ }[];
200
+ }, {
201
+ iss: string;
202
+ sub: string;
203
+ iat: number;
204
+ exp: number;
205
+ jwks: {
206
+ keys: {
207
+ kty: "RSA" | "EC";
208
+ alg?: string | undefined;
209
+ crv?: string | undefined;
210
+ d?: string | undefined;
211
+ dp?: string | undefined;
212
+ dq?: string | undefined;
213
+ e?: string | undefined;
214
+ ext?: boolean | undefined;
215
+ k?: string | undefined;
216
+ key_ops?: string[] | undefined;
217
+ kid?: string | undefined;
218
+ n?: string | undefined;
219
+ p?: string | undefined;
220
+ q?: string | undefined;
221
+ qi?: string | undefined;
222
+ use?: string | undefined;
223
+ x?: string | undefined;
224
+ y?: string | undefined;
225
+ x5c?: string[] | undefined;
226
+ x5t?: string | undefined;
227
+ "x5t#S256"?: string | undefined;
228
+ x5u?: string | undefined;
229
+ }[];
230
+ };
231
+ trust_marks: {
232
+ id: string;
233
+ trust_mark: string;
234
+ }[];
235
+ }>;
236
+ }, "strip", z.ZodTypeAny, {
237
+ header: {
238
+ alg: string;
239
+ kid: string;
240
+ typ: "entity-statement+jwt";
241
+ };
242
+ payload: {
243
+ iss: string;
244
+ sub: string;
245
+ iat: number;
246
+ exp: number;
247
+ jwks: {
248
+ keys: {
249
+ kty: "RSA" | "EC";
250
+ alg?: string | undefined;
251
+ crv?: string | undefined;
252
+ d?: string | undefined;
253
+ dp?: string | undefined;
254
+ dq?: string | undefined;
255
+ e?: string | undefined;
256
+ ext?: boolean | undefined;
257
+ k?: string | undefined;
258
+ key_ops?: string[] | undefined;
259
+ kid?: string | undefined;
260
+ n?: string | undefined;
261
+ p?: string | undefined;
262
+ q?: string | undefined;
263
+ qi?: string | undefined;
264
+ use?: string | undefined;
265
+ x?: string | undefined;
266
+ y?: string | undefined;
267
+ x5c?: string[] | undefined;
268
+ x5t?: string | undefined;
269
+ "x5t#S256"?: string | undefined;
270
+ x5u?: string | undefined;
271
+ }[];
272
+ };
273
+ trust_marks: {
274
+ id: string;
275
+ trust_mark: string;
276
+ }[];
277
+ };
278
+ }, {
279
+ header: {
280
+ alg: string;
281
+ kid: string;
282
+ typ: "entity-statement+jwt";
283
+ };
284
+ payload: {
285
+ iss: string;
286
+ sub: string;
287
+ iat: number;
288
+ exp: number;
289
+ jwks: {
290
+ keys: {
291
+ kty: "RSA" | "EC";
292
+ alg?: string | undefined;
293
+ crv?: string | undefined;
294
+ d?: string | undefined;
295
+ dp?: string | undefined;
296
+ dq?: string | undefined;
297
+ e?: string | undefined;
298
+ ext?: boolean | undefined;
299
+ k?: string | undefined;
300
+ key_ops?: string[] | undefined;
301
+ kid?: string | undefined;
302
+ n?: string | undefined;
303
+ p?: string | undefined;
304
+ q?: string | undefined;
305
+ qi?: string | undefined;
306
+ use?: string | undefined;
307
+ x?: string | undefined;
308
+ y?: string | undefined;
309
+ x5c?: string[] | undefined;
310
+ x5t?: string | undefined;
311
+ "x5t#S256"?: string | undefined;
312
+ x5u?: string | undefined;
313
+ }[];
314
+ };
315
+ trust_marks: {
316
+ id: string;
317
+ trust_mark: string;
318
+ }[];
319
+ };
320
+ }>;
321
+ export type EntityConfiguration = z.infer<typeof EntityConfiguration>;
322
+ export declare const EntityConfiguration: z.ZodObject<{
323
+ header: z.ZodObject<{
324
+ typ: z.ZodLiteral<"entity-statement+jwt">;
325
+ alg: z.ZodString;
326
+ kid: z.ZodString;
327
+ }, "strip", z.ZodTypeAny, {
328
+ alg: string;
329
+ kid: string;
330
+ typ: "entity-statement+jwt";
331
+ }, {
332
+ alg: string;
333
+ kid: string;
334
+ typ: "entity-statement+jwt";
335
+ }>;
336
+ payload: z.ZodObject<{
337
+ exp: z.ZodNumber;
338
+ iat: z.ZodNumber;
339
+ iss: z.ZodString;
340
+ sub: z.ZodString;
341
+ jwks: z.ZodObject<{
342
+ keys: z.ZodArray<z.ZodObject<{
343
+ alg: z.ZodOptional<z.ZodString>;
344
+ crv: z.ZodOptional<z.ZodString>;
345
+ d: z.ZodOptional<z.ZodString>;
346
+ dp: z.ZodOptional<z.ZodString>;
347
+ dq: z.ZodOptional<z.ZodString>;
348
+ e: z.ZodOptional<z.ZodString>;
349
+ ext: z.ZodOptional<z.ZodBoolean>;
350
+ k: z.ZodOptional<z.ZodString>;
351
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
352
+ kid: z.ZodOptional<z.ZodString>;
353
+ kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
354
+ n: z.ZodOptional<z.ZodString>;
355
+ p: z.ZodOptional<z.ZodString>;
356
+ q: z.ZodOptional<z.ZodString>;
357
+ qi: z.ZodOptional<z.ZodString>;
358
+ use: z.ZodOptional<z.ZodString>;
359
+ x: z.ZodOptional<z.ZodString>;
360
+ y: z.ZodOptional<z.ZodString>;
361
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
362
+ x5t: z.ZodOptional<z.ZodString>;
363
+ "x5t#S256": z.ZodOptional<z.ZodString>;
364
+ x5u: z.ZodOptional<z.ZodString>;
365
+ }, "strip", z.ZodTypeAny, {
366
+ kty: "RSA" | "EC";
367
+ alg?: string | undefined;
368
+ crv?: string | undefined;
369
+ d?: string | undefined;
370
+ dp?: string | undefined;
371
+ dq?: string | undefined;
372
+ e?: string | undefined;
373
+ ext?: boolean | undefined;
374
+ k?: string | undefined;
375
+ key_ops?: string[] | undefined;
376
+ kid?: string | undefined;
377
+ n?: string | undefined;
378
+ p?: string | undefined;
379
+ q?: string | undefined;
380
+ qi?: string | undefined;
381
+ use?: string | undefined;
382
+ x?: string | undefined;
383
+ y?: string | undefined;
384
+ x5c?: string[] | undefined;
385
+ x5t?: string | undefined;
386
+ "x5t#S256"?: string | undefined;
387
+ x5u?: string | undefined;
388
+ }, {
389
+ kty: "RSA" | "EC";
390
+ alg?: string | undefined;
391
+ crv?: string | undefined;
392
+ d?: string | undefined;
393
+ dp?: string | undefined;
394
+ dq?: string | undefined;
395
+ e?: string | undefined;
396
+ ext?: boolean | undefined;
397
+ k?: string | undefined;
398
+ key_ops?: string[] | undefined;
399
+ kid?: string | undefined;
400
+ n?: string | undefined;
401
+ p?: string | undefined;
402
+ q?: string | undefined;
403
+ qi?: string | undefined;
404
+ use?: string | undefined;
405
+ x?: string | undefined;
406
+ y?: string | undefined;
407
+ x5c?: string[] | undefined;
408
+ x5t?: string | undefined;
409
+ "x5t#S256"?: string | undefined;
410
+ x5u?: string | undefined;
411
+ }>, "many">;
412
+ }, "strip", z.ZodTypeAny, {
413
+ keys: {
414
+ kty: "RSA" | "EC";
415
+ alg?: string | undefined;
416
+ crv?: string | undefined;
417
+ d?: string | undefined;
418
+ dp?: string | undefined;
419
+ dq?: string | undefined;
420
+ e?: string | undefined;
421
+ ext?: boolean | undefined;
422
+ k?: string | undefined;
423
+ key_ops?: string[] | undefined;
424
+ kid?: string | undefined;
425
+ n?: string | undefined;
426
+ p?: string | undefined;
427
+ q?: string | undefined;
428
+ qi?: string | undefined;
429
+ use?: string | undefined;
430
+ x?: string | undefined;
431
+ y?: string | undefined;
432
+ x5c?: string[] | undefined;
433
+ x5t?: string | undefined;
434
+ "x5t#S256"?: string | undefined;
435
+ x5u?: string | undefined;
436
+ }[];
437
+ }, {
438
+ keys: {
439
+ kty: "RSA" | "EC";
440
+ alg?: string | undefined;
441
+ crv?: string | undefined;
442
+ d?: string | undefined;
443
+ dp?: string | undefined;
444
+ dq?: string | undefined;
445
+ e?: string | undefined;
446
+ ext?: boolean | undefined;
447
+ k?: string | undefined;
448
+ key_ops?: string[] | undefined;
449
+ kid?: string | undefined;
450
+ n?: string | undefined;
451
+ p?: string | undefined;
452
+ q?: string | undefined;
453
+ qi?: string | undefined;
454
+ use?: string | undefined;
455
+ x?: string | undefined;
456
+ y?: string | undefined;
457
+ x5c?: string[] | undefined;
458
+ x5t?: string | undefined;
459
+ "x5t#S256"?: string | undefined;
460
+ x5u?: string | undefined;
461
+ }[];
462
+ }>;
463
+ metadata: z.ZodObject<{
464
+ federation_entity: z.ZodObject<{
465
+ organization_name: z.ZodString;
466
+ homepage_uri: z.ZodString;
467
+ policy_uri: z.ZodString;
468
+ logo_uri: z.ZodString;
469
+ contacts: z.ZodArray<z.ZodString, "many">;
470
+ }, "strip", z.ZodTypeAny, {
471
+ organization_name: string;
472
+ homepage_uri: string;
473
+ policy_uri: string;
474
+ logo_uri: string;
475
+ contacts: string[];
476
+ }, {
477
+ organization_name: string;
478
+ homepage_uri: string;
479
+ policy_uri: string;
480
+ logo_uri: string;
481
+ contacts: string[];
482
+ }>;
483
+ }, "strip", z.ZodTypeAny, {
484
+ federation_entity: {
485
+ organization_name: string;
486
+ homepage_uri: string;
487
+ policy_uri: string;
488
+ logo_uri: string;
489
+ contacts: string[];
490
+ };
491
+ }, {
492
+ federation_entity: {
493
+ organization_name: string;
494
+ homepage_uri: string;
495
+ policy_uri: string;
496
+ logo_uri: string;
497
+ contacts: string[];
498
+ };
499
+ }>;
500
+ authority_hints: z.ZodArray<z.ZodString, "many">;
501
+ }, "strip", z.ZodTypeAny, {
502
+ iss: string;
503
+ sub: string;
504
+ iat: number;
505
+ exp: number;
506
+ jwks: {
507
+ keys: {
508
+ kty: "RSA" | "EC";
509
+ alg?: string | undefined;
510
+ crv?: string | undefined;
511
+ d?: string | undefined;
512
+ dp?: string | undefined;
513
+ dq?: string | undefined;
514
+ e?: string | undefined;
515
+ ext?: boolean | undefined;
516
+ k?: string | undefined;
517
+ key_ops?: string[] | undefined;
518
+ kid?: string | undefined;
519
+ n?: string | undefined;
520
+ p?: string | undefined;
521
+ q?: string | undefined;
522
+ qi?: string | undefined;
523
+ use?: string | undefined;
524
+ x?: string | undefined;
525
+ y?: string | undefined;
526
+ x5c?: string[] | undefined;
527
+ x5t?: string | undefined;
528
+ "x5t#S256"?: string | undefined;
529
+ x5u?: string | undefined;
530
+ }[];
531
+ };
532
+ metadata: {
533
+ federation_entity: {
534
+ organization_name: string;
535
+ homepage_uri: string;
536
+ policy_uri: string;
537
+ logo_uri: string;
538
+ contacts: string[];
539
+ };
540
+ };
541
+ authority_hints: string[];
542
+ }, {
543
+ iss: string;
544
+ sub: string;
545
+ iat: number;
546
+ exp: number;
547
+ jwks: {
548
+ keys: {
549
+ kty: "RSA" | "EC";
550
+ alg?: string | undefined;
551
+ crv?: string | undefined;
552
+ d?: string | undefined;
553
+ dp?: string | undefined;
554
+ dq?: string | undefined;
555
+ e?: string | undefined;
556
+ ext?: boolean | undefined;
557
+ k?: string | undefined;
558
+ key_ops?: string[] | undefined;
559
+ kid?: string | undefined;
560
+ n?: string | undefined;
561
+ p?: string | undefined;
562
+ q?: string | undefined;
563
+ qi?: string | undefined;
564
+ use?: string | undefined;
565
+ x?: string | undefined;
566
+ y?: string | undefined;
567
+ x5c?: string[] | undefined;
568
+ x5t?: string | undefined;
569
+ "x5t#S256"?: string | undefined;
570
+ x5u?: string | undefined;
571
+ }[];
572
+ };
573
+ metadata: {
574
+ federation_entity: {
575
+ organization_name: string;
576
+ homepage_uri: string;
577
+ policy_uri: string;
578
+ logo_uri: string;
579
+ contacts: string[];
580
+ };
581
+ };
582
+ authority_hints: string[];
583
+ }>;
584
+ }, "strip", z.ZodTypeAny, {
585
+ header: {
586
+ alg: string;
587
+ kid: string;
588
+ typ: "entity-statement+jwt";
589
+ };
590
+ payload: {
591
+ iss: string;
592
+ sub: string;
593
+ iat: number;
594
+ exp: number;
595
+ jwks: {
596
+ keys: {
597
+ kty: "RSA" | "EC";
598
+ alg?: string | undefined;
599
+ crv?: string | undefined;
600
+ d?: string | undefined;
601
+ dp?: string | undefined;
602
+ dq?: string | undefined;
603
+ e?: string | undefined;
604
+ ext?: boolean | undefined;
605
+ k?: string | undefined;
606
+ key_ops?: string[] | undefined;
607
+ kid?: string | undefined;
608
+ n?: string | undefined;
609
+ p?: string | undefined;
610
+ q?: string | undefined;
611
+ qi?: string | undefined;
612
+ use?: string | undefined;
613
+ x?: string | undefined;
614
+ y?: string | undefined;
615
+ x5c?: string[] | undefined;
616
+ x5t?: string | undefined;
617
+ "x5t#S256"?: string | undefined;
618
+ x5u?: string | undefined;
619
+ }[];
620
+ };
621
+ metadata: {
622
+ federation_entity: {
623
+ organization_name: string;
624
+ homepage_uri: string;
625
+ policy_uri: string;
626
+ logo_uri: string;
627
+ contacts: string[];
628
+ };
629
+ };
630
+ authority_hints: string[];
631
+ };
632
+ }, {
633
+ header: {
634
+ alg: string;
635
+ kid: string;
636
+ typ: "entity-statement+jwt";
637
+ };
638
+ payload: {
639
+ iss: string;
640
+ sub: string;
641
+ iat: number;
642
+ exp: number;
643
+ jwks: {
644
+ keys: {
645
+ kty: "RSA" | "EC";
646
+ alg?: string | undefined;
647
+ crv?: string | undefined;
648
+ d?: string | undefined;
649
+ dp?: string | undefined;
650
+ dq?: string | undefined;
651
+ e?: string | undefined;
652
+ ext?: boolean | undefined;
653
+ k?: string | undefined;
654
+ key_ops?: string[] | undefined;
655
+ kid?: string | undefined;
656
+ n?: string | undefined;
657
+ p?: string | undefined;
658
+ q?: string | undefined;
659
+ qi?: string | undefined;
660
+ use?: string | undefined;
661
+ x?: string | undefined;
662
+ y?: string | undefined;
663
+ x5c?: string[] | undefined;
664
+ x5t?: string | undefined;
665
+ "x5t#S256"?: string | undefined;
666
+ x5u?: string | undefined;
667
+ }[];
668
+ };
669
+ metadata: {
670
+ federation_entity: {
671
+ organization_name: string;
672
+ homepage_uri: string;
673
+ policy_uri: string;
674
+ logo_uri: string;
675
+ contacts: string[];
676
+ };
677
+ };
678
+ authority_hints: string[];
679
+ };
680
+ }>;
681
+ export type TrustAnchorEntityConfiguration = z.infer<typeof TrustAnchorEntityConfiguration>;
682
+ export declare const TrustAnchorEntityConfiguration: z.ZodObject<{
683
+ header: z.ZodObject<{
684
+ typ: z.ZodLiteral<"entity-statement+jwt">;
685
+ alg: z.ZodString;
686
+ kid: z.ZodString;
687
+ }, "strip", z.ZodTypeAny, {
688
+ alg: string;
689
+ kid: string;
690
+ typ: "entity-statement+jwt";
691
+ }, {
692
+ alg: string;
693
+ kid: string;
694
+ typ: "entity-statement+jwt";
695
+ }>;
696
+ payload: z.ZodObject<{
697
+ exp: z.ZodNumber;
698
+ iat: z.ZodNumber;
699
+ iss: z.ZodString;
700
+ sub: z.ZodString;
701
+ jwks: z.ZodObject<{
702
+ keys: z.ZodArray<z.ZodObject<{
703
+ alg: z.ZodOptional<z.ZodString>;
704
+ crv: z.ZodOptional<z.ZodString>;
705
+ d: z.ZodOptional<z.ZodString>;
706
+ dp: z.ZodOptional<z.ZodString>;
707
+ dq: z.ZodOptional<z.ZodString>;
708
+ e: z.ZodOptional<z.ZodString>;
709
+ ext: z.ZodOptional<z.ZodBoolean>;
710
+ k: z.ZodOptional<z.ZodString>;
711
+ key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
712
+ kid: z.ZodOptional<z.ZodString>;
713
+ kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
714
+ n: z.ZodOptional<z.ZodString>;
715
+ p: z.ZodOptional<z.ZodString>;
716
+ q: z.ZodOptional<z.ZodString>;
717
+ qi: z.ZodOptional<z.ZodString>;
718
+ use: z.ZodOptional<z.ZodString>;
719
+ x: z.ZodOptional<z.ZodString>;
720
+ y: z.ZodOptional<z.ZodString>;
721
+ x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
722
+ x5t: z.ZodOptional<z.ZodString>;
723
+ "x5t#S256": z.ZodOptional<z.ZodString>;
724
+ x5u: z.ZodOptional<z.ZodString>;
725
+ }, "strip", z.ZodTypeAny, {
726
+ kty: "RSA" | "EC";
727
+ alg?: string | undefined;
728
+ crv?: string | undefined;
729
+ d?: string | undefined;
730
+ dp?: string | undefined;
731
+ dq?: string | undefined;
732
+ e?: string | undefined;
733
+ ext?: boolean | undefined;
734
+ k?: string | undefined;
735
+ key_ops?: string[] | undefined;
736
+ kid?: string | undefined;
737
+ n?: string | undefined;
738
+ p?: string | undefined;
739
+ q?: string | undefined;
740
+ qi?: string | undefined;
741
+ use?: string | undefined;
742
+ x?: string | undefined;
743
+ y?: string | undefined;
744
+ x5c?: string[] | undefined;
745
+ x5t?: string | undefined;
746
+ "x5t#S256"?: string | undefined;
747
+ x5u?: string | undefined;
748
+ }, {
749
+ kty: "RSA" | "EC";
750
+ alg?: string | undefined;
751
+ crv?: string | undefined;
752
+ d?: string | undefined;
753
+ dp?: string | undefined;
754
+ dq?: string | undefined;
755
+ e?: string | undefined;
756
+ ext?: boolean | undefined;
757
+ k?: string | undefined;
758
+ key_ops?: string[] | undefined;
759
+ kid?: string | undefined;
760
+ n?: string | undefined;
761
+ p?: string | undefined;
762
+ q?: string | undefined;
763
+ qi?: string | undefined;
764
+ use?: string | undefined;
765
+ x?: string | undefined;
766
+ y?: string | undefined;
767
+ x5c?: string[] | undefined;
768
+ x5t?: string | undefined;
769
+ "x5t#S256"?: string | undefined;
770
+ x5u?: string | undefined;
771
+ }>, "many">;
772
+ }, "strip", z.ZodTypeAny, {
773
+ keys: {
774
+ kty: "RSA" | "EC";
775
+ alg?: string | undefined;
776
+ crv?: string | undefined;
777
+ d?: string | undefined;
778
+ dp?: string | undefined;
779
+ dq?: string | undefined;
780
+ e?: string | undefined;
781
+ ext?: boolean | undefined;
782
+ k?: string | undefined;
783
+ key_ops?: string[] | undefined;
784
+ kid?: string | undefined;
785
+ n?: string | undefined;
786
+ p?: string | undefined;
787
+ q?: string | undefined;
788
+ qi?: string | undefined;
789
+ use?: string | undefined;
790
+ x?: string | undefined;
791
+ y?: string | undefined;
792
+ x5c?: string[] | undefined;
793
+ x5t?: string | undefined;
794
+ "x5t#S256"?: string | undefined;
795
+ x5u?: string | undefined;
796
+ }[];
797
+ }, {
798
+ keys: {
799
+ kty: "RSA" | "EC";
800
+ alg?: string | undefined;
801
+ crv?: string | undefined;
802
+ d?: string | undefined;
803
+ dp?: string | undefined;
804
+ dq?: string | undefined;
805
+ e?: string | undefined;
806
+ ext?: boolean | undefined;
807
+ k?: string | undefined;
808
+ key_ops?: string[] | undefined;
809
+ kid?: string | undefined;
810
+ n?: string | undefined;
811
+ p?: string | undefined;
812
+ q?: string | undefined;
813
+ qi?: string | undefined;
814
+ use?: string | undefined;
815
+ x?: string | undefined;
816
+ y?: string | undefined;
817
+ x5c?: string[] | undefined;
818
+ x5t?: string | undefined;
819
+ "x5t#S256"?: string | undefined;
820
+ x5u?: string | undefined;
821
+ }[];
822
+ }>;
823
+ metadata: z.ZodObject<{
824
+ federation_entity: z.ZodObject<{
825
+ organization_name: z.ZodString;
826
+ homepage_uri: z.ZodString;
827
+ policy_uri: z.ZodString;
828
+ logo_uri: z.ZodString;
829
+ contacts: z.ZodArray<z.ZodString, "many">;
830
+ }, "strip", z.ZodTypeAny, {
831
+ organization_name: string;
832
+ homepage_uri: string;
833
+ policy_uri: string;
834
+ logo_uri: string;
835
+ contacts: string[];
836
+ }, {
837
+ organization_name: string;
838
+ homepage_uri: string;
839
+ policy_uri: string;
840
+ logo_uri: string;
841
+ contacts: string[];
842
+ }>;
843
+ }, "strip", z.ZodTypeAny, {
844
+ federation_entity: {
845
+ organization_name: string;
846
+ homepage_uri: string;
847
+ policy_uri: string;
848
+ logo_uri: string;
849
+ contacts: string[];
850
+ };
851
+ }, {
852
+ federation_entity: {
853
+ organization_name: string;
854
+ homepage_uri: string;
855
+ policy_uri: string;
856
+ logo_uri: string;
857
+ contacts: string[];
858
+ };
859
+ }>;
860
+ authority_hints: z.ZodArray<z.ZodString, "many">;
861
+ }, "strip", z.ZodTypeAny, {
862
+ iss: string;
863
+ sub: string;
864
+ iat: number;
865
+ exp: number;
866
+ jwks: {
867
+ keys: {
868
+ kty: "RSA" | "EC";
869
+ alg?: string | undefined;
870
+ crv?: string | undefined;
871
+ d?: string | undefined;
872
+ dp?: string | undefined;
873
+ dq?: string | undefined;
874
+ e?: string | undefined;
875
+ ext?: boolean | undefined;
876
+ k?: string | undefined;
877
+ key_ops?: string[] | undefined;
878
+ kid?: string | undefined;
879
+ n?: string | undefined;
880
+ p?: string | undefined;
881
+ q?: string | undefined;
882
+ qi?: string | undefined;
883
+ use?: string | undefined;
884
+ x?: string | undefined;
885
+ y?: string | undefined;
886
+ x5c?: string[] | undefined;
887
+ x5t?: string | undefined;
888
+ "x5t#S256"?: string | undefined;
889
+ x5u?: string | undefined;
890
+ }[];
891
+ };
892
+ metadata: {
893
+ federation_entity: {
894
+ organization_name: string;
895
+ homepage_uri: string;
896
+ policy_uri: string;
897
+ logo_uri: string;
898
+ contacts: string[];
899
+ };
900
+ };
901
+ authority_hints: string[];
902
+ }, {
903
+ iss: string;
904
+ sub: string;
905
+ iat: number;
906
+ exp: number;
907
+ jwks: {
908
+ keys: {
909
+ kty: "RSA" | "EC";
910
+ alg?: string | undefined;
911
+ crv?: string | undefined;
912
+ d?: string | undefined;
913
+ dp?: string | undefined;
914
+ dq?: string | undefined;
915
+ e?: string | undefined;
916
+ ext?: boolean | undefined;
917
+ k?: string | undefined;
918
+ key_ops?: string[] | undefined;
919
+ kid?: string | undefined;
920
+ n?: string | undefined;
921
+ p?: string | undefined;
922
+ q?: string | undefined;
923
+ qi?: string | undefined;
924
+ use?: string | undefined;
925
+ x?: string | undefined;
926
+ y?: string | undefined;
927
+ x5c?: string[] | undefined;
928
+ x5t?: string | undefined;
929
+ "x5t#S256"?: string | undefined;
930
+ x5u?: string | undefined;
931
+ }[];
932
+ };
933
+ metadata: {
934
+ federation_entity: {
935
+ organization_name: string;
936
+ homepage_uri: string;
937
+ policy_uri: string;
938
+ logo_uri: string;
939
+ contacts: string[];
940
+ };
941
+ };
942
+ authority_hints: string[];
943
+ }>;
944
+ }, "strip", z.ZodTypeAny, {
945
+ header: {
946
+ alg: string;
947
+ kid: string;
948
+ typ: "entity-statement+jwt";
949
+ };
950
+ payload: {
951
+ iss: string;
952
+ sub: string;
953
+ iat: number;
954
+ exp: number;
955
+ jwks: {
956
+ keys: {
957
+ kty: "RSA" | "EC";
958
+ alg?: string | undefined;
959
+ crv?: string | undefined;
960
+ d?: string | undefined;
961
+ dp?: string | undefined;
962
+ dq?: string | undefined;
963
+ e?: string | undefined;
964
+ ext?: boolean | undefined;
965
+ k?: string | undefined;
966
+ key_ops?: string[] | undefined;
967
+ kid?: string | undefined;
968
+ n?: string | undefined;
969
+ p?: string | undefined;
970
+ q?: string | undefined;
971
+ qi?: string | undefined;
972
+ use?: string | undefined;
973
+ x?: string | undefined;
974
+ y?: string | undefined;
975
+ x5c?: string[] | undefined;
976
+ x5t?: string | undefined;
977
+ "x5t#S256"?: string | undefined;
978
+ x5u?: string | undefined;
979
+ }[];
980
+ };
981
+ metadata: {
982
+ federation_entity: {
983
+ organization_name: string;
984
+ homepage_uri: string;
985
+ policy_uri: string;
986
+ logo_uri: string;
987
+ contacts: string[];
988
+ };
989
+ };
990
+ authority_hints: string[];
991
+ };
992
+ }, {
993
+ header: {
994
+ alg: string;
995
+ kid: string;
996
+ typ: "entity-statement+jwt";
997
+ };
998
+ payload: {
999
+ iss: string;
1000
+ sub: string;
1001
+ iat: number;
1002
+ exp: number;
1003
+ jwks: {
1004
+ keys: {
1005
+ kty: "RSA" | "EC";
1006
+ alg?: string | undefined;
1007
+ crv?: string | undefined;
1008
+ d?: string | undefined;
1009
+ dp?: string | undefined;
1010
+ dq?: string | undefined;
1011
+ e?: string | undefined;
1012
+ ext?: boolean | undefined;
1013
+ k?: string | undefined;
1014
+ key_ops?: string[] | undefined;
1015
+ kid?: string | undefined;
1016
+ n?: string | undefined;
1017
+ p?: string | undefined;
1018
+ q?: string | undefined;
1019
+ qi?: string | undefined;
1020
+ use?: string | undefined;
1021
+ x?: string | undefined;
1022
+ y?: string | undefined;
1023
+ x5c?: string[] | undefined;
1024
+ x5t?: string | undefined;
1025
+ "x5t#S256"?: string | undefined;
1026
+ x5u?: string | undefined;
1027
+ }[];
1028
+ };
1029
+ metadata: {
1030
+ federation_entity: {
1031
+ organization_name: string;
1032
+ homepage_uri: string;
1033
+ policy_uri: string;
1034
+ logo_uri: string;
1035
+ contacts: string[];
1036
+ };
1037
+ };
1038
+ authority_hints: string[];
1039
+ };
1040
+ }>;
1041
+ //# sourceMappingURL=types.d.ts.map