@pagopa/io-react-native-wallet 0.2.7 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/commonjs/rp/__test__/index.test.js +145 -0
- package/lib/commonjs/rp/__test__/index.test.js.map +1 -1
- package/lib/commonjs/rp/index.js +33 -41
- package/lib/commonjs/rp/index.js.map +1 -1
- package/lib/commonjs/rp/types.js +11 -9
- package/lib/commonjs/rp/types.js.map +1 -1
- package/lib/commonjs/utils/jwk.js +35 -0
- package/lib/commonjs/utils/jwk.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/issuing.js +1 -1
- package/lib/commonjs/wallet-instance-attestation/issuing.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/types.js +6 -2
- package/lib/commonjs/wallet-instance-attestation/types.js.map +1 -1
- package/lib/module/rp/__test__/index.test.js +145 -0
- package/lib/module/rp/__test__/index.test.js.map +1 -1
- package/lib/module/rp/index.js +33 -41
- package/lib/module/rp/index.js.map +1 -1
- package/lib/module/rp/types.js +11 -9
- package/lib/module/rp/types.js.map +1 -1
- package/lib/module/utils/jwk.js +34 -0
- package/lib/module/utils/jwk.js.map +1 -1
- package/lib/module/wallet-instance-attestation/issuing.js +2 -2
- package/lib/module/wallet-instance-attestation/issuing.js.map +1 -1
- package/lib/module/wallet-instance-attestation/types.js +6 -2
- package/lib/module/wallet-instance-attestation/types.js.map +1 -1
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/pid/index.d.ts.map +1 -0
- package/lib/typescript/pid/issuing.d.ts.map +1 -0
- package/lib/typescript/{src/pid → pid}/metadata.d.ts.map +1 -1
- package/lib/typescript/pid/sd-jwt/converters.d.ts.map +1 -0
- package/lib/typescript/pid/sd-jwt/index.d.ts.map +1 -0
- package/lib/typescript/pid/sd-jwt/types.d.ts.map +1 -0
- package/lib/typescript/rp/__test__/index.test.d.ts.map +1 -0
- package/lib/typescript/{src/rp → rp}/index.d.ts +8 -8
- package/lib/typescript/rp/index.d.ts.map +1 -0
- package/lib/typescript/rp/types.d.ts +735 -0
- package/lib/typescript/{src/rp → rp}/types.d.ts.map +1 -1
- package/lib/typescript/sd-jwt/__test__/converters.test.d.ts.map +1 -0
- package/lib/typescript/sd-jwt/__test__/index.test.d.ts.map +1 -0
- package/lib/typescript/sd-jwt/__test__/types.test.d.ts.map +1 -0
- package/lib/typescript/sd-jwt/converters.d.ts.map +1 -0
- package/lib/typescript/sd-jwt/index.d.ts.map +1 -0
- package/lib/typescript/sd-jwt/types.d.ts.map +1 -0
- package/lib/typescript/sd-jwt/verifier.d.ts.map +1 -0
- package/lib/typescript/utils/dpop.d.ts.map +1 -0
- package/lib/typescript/utils/errors.d.ts.map +1 -0
- package/lib/typescript/{src/utils → utils}/jwk.d.ts +9 -0
- package/lib/typescript/utils/jwk.d.ts.map +1 -0
- package/lib/typescript/wallet-instance-attestation/index.d.ts.map +1 -0
- package/lib/typescript/wallet-instance-attestation/issuing.d.ts.map +1 -0
- package/lib/typescript/{src/wallet-instance-attestation → wallet-instance-attestation}/types.d.ts +40 -4
- package/lib/typescript/{src/wallet-instance-attestation → wallet-instance-attestation}/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/rp/__test__/index.test.ts +222 -0
- package/src/rp/index.ts +44 -54
- package/src/rp/types.ts +8 -7
- package/src/utils/jwk.ts +21 -0
- package/src/wallet-instance-attestation/issuing.ts +3 -2
- package/src/wallet-instance-attestation/types.ts +6 -2
- package/lib/typescript/src/index.d.ts.map +0 -1
- package/lib/typescript/src/pid/index.d.ts.map +0 -1
- package/lib/typescript/src/pid/issuing.d.ts.map +0 -1
- package/lib/typescript/src/pid/sd-jwt/converters.d.ts.map +0 -1
- package/lib/typescript/src/pid/sd-jwt/index.d.ts.map +0 -1
- package/lib/typescript/src/pid/sd-jwt/types.d.ts.map +0 -1
- package/lib/typescript/src/rp/__test__/index.test.d.ts.map +0 -1
- package/lib/typescript/src/rp/index.d.ts.map +0 -1
- package/lib/typescript/src/rp/types.d.ts +0 -864
- package/lib/typescript/src/sd-jwt/__test__/converters.test.d.ts.map +0 -1
- package/lib/typescript/src/sd-jwt/__test__/index.test.d.ts.map +0 -1
- package/lib/typescript/src/sd-jwt/__test__/types.test.d.ts.map +0 -1
- package/lib/typescript/src/sd-jwt/converters.d.ts.map +0 -1
- package/lib/typescript/src/sd-jwt/index.d.ts.map +0 -1
- package/lib/typescript/src/sd-jwt/types.d.ts.map +0 -1
- package/lib/typescript/src/sd-jwt/verifier.d.ts.map +0 -1
- package/lib/typescript/src/utils/dpop.d.ts.map +0 -1
- package/lib/typescript/src/utils/errors.d.ts.map +0 -1
- package/lib/typescript/src/utils/jwk.d.ts.map +0 -1
- package/lib/typescript/src/wallet-instance-attestation/index.d.ts.map +0 -1
- package/lib/typescript/src/wallet-instance-attestation/issuing.d.ts.map +0 -1
- /package/lib/typescript/{src/index.d.ts → index.d.ts} +0 -0
- /package/lib/typescript/{src/pid → pid}/index.d.ts +0 -0
- /package/lib/typescript/{src/pid → pid}/issuing.d.ts +0 -0
- /package/lib/typescript/{src/pid → pid}/metadata.d.ts +0 -0
- /package/lib/typescript/{src/pid → pid}/sd-jwt/converters.d.ts +0 -0
- /package/lib/typescript/{src/pid → pid}/sd-jwt/index.d.ts +0 -0
- /package/lib/typescript/{src/pid → pid}/sd-jwt/types.d.ts +0 -0
- /package/lib/typescript/{src/rp → rp}/__test__/index.test.d.ts +0 -0
- /package/lib/typescript/{src/sd-jwt → sd-jwt}/__test__/converters.test.d.ts +0 -0
- /package/lib/typescript/{src/sd-jwt → sd-jwt}/__test__/index.test.d.ts +0 -0
- /package/lib/typescript/{src/sd-jwt → sd-jwt}/__test__/types.test.d.ts +0 -0
- /package/lib/typescript/{src/sd-jwt → sd-jwt}/converters.d.ts +0 -0
- /package/lib/typescript/{src/sd-jwt → sd-jwt}/index.d.ts +0 -0
- /package/lib/typescript/{src/sd-jwt → sd-jwt}/types.d.ts +0 -0
- /package/lib/typescript/{src/sd-jwt → sd-jwt}/verifier.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/dpop.d.ts +0 -0
- /package/lib/typescript/{src/utils → utils}/errors.d.ts +0 -0
- /package/lib/typescript/{src/wallet-instance-attestation → wallet-instance-attestation}/index.d.ts +0 -0
- /package/lib/typescript/{src/wallet-instance-attestation → wallet-instance-attestation}/issuing.d.ts +0 -0
@@ -1,864 +0,0 @@
|
|
1
|
-
import * as z from "zod";
|
2
|
-
export type RequestObject = z.infer<typeof RequestObject>;
|
3
|
-
export declare const RequestObject: z.ZodObject<{
|
4
|
-
header: z.ZodObject<{
|
5
|
-
typ: z.ZodLiteral<"JWT">;
|
6
|
-
alg: z.ZodString;
|
7
|
-
kid: z.ZodString;
|
8
|
-
trust_chain: z.ZodArray<z.ZodString, "many">;
|
9
|
-
}, "strip", z.ZodTypeAny, {
|
10
|
-
alg: string;
|
11
|
-
kid: string;
|
12
|
-
typ: "JWT";
|
13
|
-
trust_chain: string[];
|
14
|
-
}, {
|
15
|
-
alg: string;
|
16
|
-
kid: string;
|
17
|
-
typ: "JWT";
|
18
|
-
trust_chain: string[];
|
19
|
-
}>;
|
20
|
-
payload: z.ZodObject<{
|
21
|
-
iss: z.ZodString;
|
22
|
-
iat: z.ZodNumber;
|
23
|
-
exp: z.ZodNumber;
|
24
|
-
state: z.ZodString;
|
25
|
-
nonce: z.ZodString;
|
26
|
-
response_uri: z.ZodString;
|
27
|
-
response_type: z.ZodLiteral<"vp_token">;
|
28
|
-
response_mode: z.ZodLiteral<"direct_post.jwt">;
|
29
|
-
client_id: z.ZodString;
|
30
|
-
client_id_scheme: z.ZodLiteral<"entity_id">;
|
31
|
-
scope: z.ZodString;
|
32
|
-
}, "strip", z.ZodTypeAny, {
|
33
|
-
iss: string;
|
34
|
-
iat: number;
|
35
|
-
exp: number;
|
36
|
-
response_type: "vp_token";
|
37
|
-
state: string;
|
38
|
-
client_id: string;
|
39
|
-
nonce: string;
|
40
|
-
response_uri: string;
|
41
|
-
response_mode: "direct_post.jwt";
|
42
|
-
client_id_scheme: "entity_id";
|
43
|
-
scope: string;
|
44
|
-
}, {
|
45
|
-
iss: string;
|
46
|
-
iat: number;
|
47
|
-
exp: number;
|
48
|
-
response_type: "vp_token";
|
49
|
-
state: string;
|
50
|
-
client_id: string;
|
51
|
-
nonce: string;
|
52
|
-
response_uri: string;
|
53
|
-
response_mode: "direct_post.jwt";
|
54
|
-
client_id_scheme: "entity_id";
|
55
|
-
scope: string;
|
56
|
-
}>;
|
57
|
-
}, "strip", z.ZodTypeAny, {
|
58
|
-
header: {
|
59
|
-
alg: string;
|
60
|
-
kid: string;
|
61
|
-
typ: "JWT";
|
62
|
-
trust_chain: string[];
|
63
|
-
};
|
64
|
-
payload: {
|
65
|
-
iss: string;
|
66
|
-
iat: number;
|
67
|
-
exp: number;
|
68
|
-
response_type: "vp_token";
|
69
|
-
state: string;
|
70
|
-
client_id: string;
|
71
|
-
nonce: string;
|
72
|
-
response_uri: string;
|
73
|
-
response_mode: "direct_post.jwt";
|
74
|
-
client_id_scheme: "entity_id";
|
75
|
-
scope: string;
|
76
|
-
};
|
77
|
-
}, {
|
78
|
-
header: {
|
79
|
-
alg: string;
|
80
|
-
kid: string;
|
81
|
-
typ: "JWT";
|
82
|
-
trust_chain: string[];
|
83
|
-
};
|
84
|
-
payload: {
|
85
|
-
iss: string;
|
86
|
-
iat: number;
|
87
|
-
exp: number;
|
88
|
-
response_type: "vp_token";
|
89
|
-
state: string;
|
90
|
-
client_id: string;
|
91
|
-
nonce: string;
|
92
|
-
response_uri: string;
|
93
|
-
response_mode: "direct_post.jwt";
|
94
|
-
client_id_scheme: "entity_id";
|
95
|
-
scope: string;
|
96
|
-
};
|
97
|
-
}>;
|
98
|
-
export type RpEntityConfiguration = z.infer<typeof RpEntityConfiguration>;
|
99
|
-
export declare const RpEntityConfiguration: z.ZodObject<{
|
100
|
-
header: z.ZodObject<{
|
101
|
-
typ: z.ZodLiteral<"entity-statement+jwt">;
|
102
|
-
alg: z.ZodString;
|
103
|
-
kid: z.ZodString;
|
104
|
-
}, "strip", z.ZodTypeAny, {
|
105
|
-
alg: string;
|
106
|
-
kid: string;
|
107
|
-
typ: "entity-statement+jwt";
|
108
|
-
}, {
|
109
|
-
alg: string;
|
110
|
-
kid: string;
|
111
|
-
typ: "entity-statement+jwt";
|
112
|
-
}>;
|
113
|
-
payload: z.ZodObject<{
|
114
|
-
exp: z.ZodNumber;
|
115
|
-
iat: z.ZodNumber;
|
116
|
-
iss: z.ZodString;
|
117
|
-
sub: z.ZodString;
|
118
|
-
jwks: z.ZodObject<{
|
119
|
-
keys: z.ZodArray<z.ZodObject<{
|
120
|
-
alg: z.ZodOptional<z.ZodString>;
|
121
|
-
crv: z.ZodOptional<z.ZodString>;
|
122
|
-
d: z.ZodOptional<z.ZodString>;
|
123
|
-
dp: z.ZodOptional<z.ZodString>;
|
124
|
-
dq: z.ZodOptional<z.ZodString>;
|
125
|
-
e: z.ZodOptional<z.ZodString>;
|
126
|
-
ext: z.ZodOptional<z.ZodBoolean>;
|
127
|
-
k: z.ZodOptional<z.ZodString>;
|
128
|
-
key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
129
|
-
kid: z.ZodOptional<z.ZodString>;
|
130
|
-
kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
|
131
|
-
n: z.ZodOptional<z.ZodString>;
|
132
|
-
p: z.ZodOptional<z.ZodString>;
|
133
|
-
q: z.ZodOptional<z.ZodString>;
|
134
|
-
qi: z.ZodOptional<z.ZodString>;
|
135
|
-
use: z.ZodOptional<z.ZodString>;
|
136
|
-
x: z.ZodOptional<z.ZodString>;
|
137
|
-
y: z.ZodOptional<z.ZodString>;
|
138
|
-
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
139
|
-
x5t: z.ZodOptional<z.ZodString>;
|
140
|
-
"x5t#S256": z.ZodOptional<z.ZodString>;
|
141
|
-
x5u: z.ZodOptional<z.ZodString>;
|
142
|
-
}, "strip", z.ZodTypeAny, {
|
143
|
-
kty: "RSA" | "EC";
|
144
|
-
alg?: string | undefined;
|
145
|
-
crv?: string | undefined;
|
146
|
-
d?: string | undefined;
|
147
|
-
dp?: string | undefined;
|
148
|
-
dq?: string | undefined;
|
149
|
-
e?: string | undefined;
|
150
|
-
ext?: boolean | undefined;
|
151
|
-
k?: string | undefined;
|
152
|
-
key_ops?: string[] | undefined;
|
153
|
-
kid?: string | undefined;
|
154
|
-
n?: string | undefined;
|
155
|
-
p?: string | undefined;
|
156
|
-
q?: string | undefined;
|
157
|
-
qi?: string | undefined;
|
158
|
-
use?: string | undefined;
|
159
|
-
x?: string | undefined;
|
160
|
-
y?: string | undefined;
|
161
|
-
x5c?: string[] | undefined;
|
162
|
-
x5t?: string | undefined;
|
163
|
-
"x5t#S256"?: string | undefined;
|
164
|
-
x5u?: string | undefined;
|
165
|
-
}, {
|
166
|
-
kty: "RSA" | "EC";
|
167
|
-
alg?: string | undefined;
|
168
|
-
crv?: string | undefined;
|
169
|
-
d?: string | undefined;
|
170
|
-
dp?: string | undefined;
|
171
|
-
dq?: string | undefined;
|
172
|
-
e?: string | undefined;
|
173
|
-
ext?: boolean | undefined;
|
174
|
-
k?: string | undefined;
|
175
|
-
key_ops?: string[] | undefined;
|
176
|
-
kid?: string | undefined;
|
177
|
-
n?: string | undefined;
|
178
|
-
p?: string | undefined;
|
179
|
-
q?: string | undefined;
|
180
|
-
qi?: string | undefined;
|
181
|
-
use?: string | undefined;
|
182
|
-
x?: string | undefined;
|
183
|
-
y?: string | undefined;
|
184
|
-
x5c?: string[] | undefined;
|
185
|
-
x5t?: string | undefined;
|
186
|
-
"x5t#S256"?: string | undefined;
|
187
|
-
x5u?: string | undefined;
|
188
|
-
}>, "many">;
|
189
|
-
}, "strip", z.ZodTypeAny, {
|
190
|
-
keys: {
|
191
|
-
kty: "RSA" | "EC";
|
192
|
-
alg?: string | undefined;
|
193
|
-
crv?: string | undefined;
|
194
|
-
d?: string | undefined;
|
195
|
-
dp?: string | undefined;
|
196
|
-
dq?: string | undefined;
|
197
|
-
e?: string | undefined;
|
198
|
-
ext?: boolean | undefined;
|
199
|
-
k?: string | undefined;
|
200
|
-
key_ops?: string[] | undefined;
|
201
|
-
kid?: string | undefined;
|
202
|
-
n?: string | undefined;
|
203
|
-
p?: string | undefined;
|
204
|
-
q?: string | undefined;
|
205
|
-
qi?: string | undefined;
|
206
|
-
use?: string | undefined;
|
207
|
-
x?: string | undefined;
|
208
|
-
y?: string | undefined;
|
209
|
-
x5c?: string[] | undefined;
|
210
|
-
x5t?: string | undefined;
|
211
|
-
"x5t#S256"?: string | undefined;
|
212
|
-
x5u?: string | undefined;
|
213
|
-
}[];
|
214
|
-
}, {
|
215
|
-
keys: {
|
216
|
-
kty: "RSA" | "EC";
|
217
|
-
alg?: string | undefined;
|
218
|
-
crv?: string | undefined;
|
219
|
-
d?: string | undefined;
|
220
|
-
dp?: string | undefined;
|
221
|
-
dq?: string | undefined;
|
222
|
-
e?: string | undefined;
|
223
|
-
ext?: boolean | undefined;
|
224
|
-
k?: string | undefined;
|
225
|
-
key_ops?: string[] | undefined;
|
226
|
-
kid?: string | undefined;
|
227
|
-
n?: string | undefined;
|
228
|
-
p?: string | undefined;
|
229
|
-
q?: string | undefined;
|
230
|
-
qi?: string | undefined;
|
231
|
-
use?: string | undefined;
|
232
|
-
x?: string | undefined;
|
233
|
-
y?: string | undefined;
|
234
|
-
x5c?: string[] | undefined;
|
235
|
-
x5t?: string | undefined;
|
236
|
-
"x5t#S256"?: string | undefined;
|
237
|
-
x5u?: string | undefined;
|
238
|
-
}[];
|
239
|
-
}>;
|
240
|
-
metadata: z.ZodObject<{
|
241
|
-
wallet_relying_party: z.ZodObject<{
|
242
|
-
application_type: z.ZodString;
|
243
|
-
client_id: z.ZodString;
|
244
|
-
client_name: z.ZodString;
|
245
|
-
jwks: z.ZodObject<{
|
246
|
-
keys: z.ZodArray<z.ZodObject<{
|
247
|
-
alg: z.ZodOptional<z.ZodString>;
|
248
|
-
crv: z.ZodOptional<z.ZodString>;
|
249
|
-
d: z.ZodOptional<z.ZodString>;
|
250
|
-
dp: z.ZodOptional<z.ZodString>;
|
251
|
-
dq: z.ZodOptional<z.ZodString>;
|
252
|
-
e: z.ZodOptional<z.ZodString>;
|
253
|
-
ext: z.ZodOptional<z.ZodBoolean>;
|
254
|
-
k: z.ZodOptional<z.ZodString>;
|
255
|
-
key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
256
|
-
kid: z.ZodOptional<z.ZodString>;
|
257
|
-
kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
|
258
|
-
n: z.ZodOptional<z.ZodString>;
|
259
|
-
p: z.ZodOptional<z.ZodString>;
|
260
|
-
q: z.ZodOptional<z.ZodString>;
|
261
|
-
qi: z.ZodOptional<z.ZodString>;
|
262
|
-
use: z.ZodOptional<z.ZodString>;
|
263
|
-
x: z.ZodOptional<z.ZodString>;
|
264
|
-
y: z.ZodOptional<z.ZodString>;
|
265
|
-
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
266
|
-
x5t: z.ZodOptional<z.ZodString>;
|
267
|
-
"x5t#S256": z.ZodOptional<z.ZodString>;
|
268
|
-
x5u: z.ZodOptional<z.ZodString>;
|
269
|
-
}, "strip", z.ZodTypeAny, {
|
270
|
-
kty: "RSA" | "EC";
|
271
|
-
alg?: string | undefined;
|
272
|
-
crv?: string | undefined;
|
273
|
-
d?: string | undefined;
|
274
|
-
dp?: string | undefined;
|
275
|
-
dq?: string | undefined;
|
276
|
-
e?: string | undefined;
|
277
|
-
ext?: boolean | undefined;
|
278
|
-
k?: string | undefined;
|
279
|
-
key_ops?: string[] | undefined;
|
280
|
-
kid?: string | undefined;
|
281
|
-
n?: string | undefined;
|
282
|
-
p?: string | undefined;
|
283
|
-
q?: string | undefined;
|
284
|
-
qi?: string | undefined;
|
285
|
-
use?: string | undefined;
|
286
|
-
x?: string | undefined;
|
287
|
-
y?: string | undefined;
|
288
|
-
x5c?: string[] | undefined;
|
289
|
-
x5t?: string | undefined;
|
290
|
-
"x5t#S256"?: string | undefined;
|
291
|
-
x5u?: string | undefined;
|
292
|
-
}, {
|
293
|
-
kty: "RSA" | "EC";
|
294
|
-
alg?: string | undefined;
|
295
|
-
crv?: string | undefined;
|
296
|
-
d?: string | undefined;
|
297
|
-
dp?: string | undefined;
|
298
|
-
dq?: string | undefined;
|
299
|
-
e?: string | undefined;
|
300
|
-
ext?: boolean | undefined;
|
301
|
-
k?: string | undefined;
|
302
|
-
key_ops?: string[] | undefined;
|
303
|
-
kid?: string | undefined;
|
304
|
-
n?: string | undefined;
|
305
|
-
p?: string | undefined;
|
306
|
-
q?: string | undefined;
|
307
|
-
qi?: string | undefined;
|
308
|
-
use?: string | undefined;
|
309
|
-
x?: string | undefined;
|
310
|
-
y?: string | undefined;
|
311
|
-
x5c?: string[] | undefined;
|
312
|
-
x5t?: string | undefined;
|
313
|
-
"x5t#S256"?: string | undefined;
|
314
|
-
x5u?: string | undefined;
|
315
|
-
}>, "many">;
|
316
|
-
}, "strip", z.ZodTypeAny, {
|
317
|
-
keys: {
|
318
|
-
kty: "RSA" | "EC";
|
319
|
-
alg?: string | undefined;
|
320
|
-
crv?: string | undefined;
|
321
|
-
d?: string | undefined;
|
322
|
-
dp?: string | undefined;
|
323
|
-
dq?: string | undefined;
|
324
|
-
e?: string | undefined;
|
325
|
-
ext?: boolean | undefined;
|
326
|
-
k?: string | undefined;
|
327
|
-
key_ops?: string[] | undefined;
|
328
|
-
kid?: string | undefined;
|
329
|
-
n?: string | undefined;
|
330
|
-
p?: string | undefined;
|
331
|
-
q?: string | undefined;
|
332
|
-
qi?: string | undefined;
|
333
|
-
use?: string | undefined;
|
334
|
-
x?: string | undefined;
|
335
|
-
y?: string | undefined;
|
336
|
-
x5c?: string[] | undefined;
|
337
|
-
x5t?: string | undefined;
|
338
|
-
"x5t#S256"?: string | undefined;
|
339
|
-
x5u?: string | undefined;
|
340
|
-
}[];
|
341
|
-
}, {
|
342
|
-
keys: {
|
343
|
-
kty: "RSA" | "EC";
|
344
|
-
alg?: string | undefined;
|
345
|
-
crv?: string | undefined;
|
346
|
-
d?: string | undefined;
|
347
|
-
dp?: string | undefined;
|
348
|
-
dq?: string | undefined;
|
349
|
-
e?: string | undefined;
|
350
|
-
ext?: boolean | undefined;
|
351
|
-
k?: string | undefined;
|
352
|
-
key_ops?: string[] | undefined;
|
353
|
-
kid?: string | undefined;
|
354
|
-
n?: string | undefined;
|
355
|
-
p?: string | undefined;
|
356
|
-
q?: string | undefined;
|
357
|
-
qi?: string | undefined;
|
358
|
-
use?: string | undefined;
|
359
|
-
x?: string | undefined;
|
360
|
-
y?: string | undefined;
|
361
|
-
x5c?: string[] | undefined;
|
362
|
-
x5t?: string | undefined;
|
363
|
-
"x5t#S256"?: string | undefined;
|
364
|
-
x5u?: string | undefined;
|
365
|
-
}[];
|
366
|
-
}>;
|
367
|
-
contacts: z.ZodArray<z.ZodString, "many">;
|
368
|
-
}, "strip", z.ZodTypeAny, {
|
369
|
-
jwks: {
|
370
|
-
keys: {
|
371
|
-
kty: "RSA" | "EC";
|
372
|
-
alg?: string | undefined;
|
373
|
-
crv?: string | undefined;
|
374
|
-
d?: string | undefined;
|
375
|
-
dp?: string | undefined;
|
376
|
-
dq?: string | undefined;
|
377
|
-
e?: string | undefined;
|
378
|
-
ext?: boolean | undefined;
|
379
|
-
k?: string | undefined;
|
380
|
-
key_ops?: string[] | undefined;
|
381
|
-
kid?: string | undefined;
|
382
|
-
n?: string | undefined;
|
383
|
-
p?: string | undefined;
|
384
|
-
q?: string | undefined;
|
385
|
-
qi?: string | undefined;
|
386
|
-
use?: string | undefined;
|
387
|
-
x?: string | undefined;
|
388
|
-
y?: string | undefined;
|
389
|
-
x5c?: string[] | undefined;
|
390
|
-
x5t?: string | undefined;
|
391
|
-
"x5t#S256"?: string | undefined;
|
392
|
-
x5u?: string | undefined;
|
393
|
-
}[];
|
394
|
-
};
|
395
|
-
client_id: string;
|
396
|
-
application_type: string;
|
397
|
-
client_name: string;
|
398
|
-
contacts: string[];
|
399
|
-
}, {
|
400
|
-
jwks: {
|
401
|
-
keys: {
|
402
|
-
kty: "RSA" | "EC";
|
403
|
-
alg?: string | undefined;
|
404
|
-
crv?: string | undefined;
|
405
|
-
d?: string | undefined;
|
406
|
-
dp?: string | undefined;
|
407
|
-
dq?: string | undefined;
|
408
|
-
e?: string | undefined;
|
409
|
-
ext?: boolean | undefined;
|
410
|
-
k?: string | undefined;
|
411
|
-
key_ops?: string[] | undefined;
|
412
|
-
kid?: string | undefined;
|
413
|
-
n?: string | undefined;
|
414
|
-
p?: string | undefined;
|
415
|
-
q?: string | undefined;
|
416
|
-
qi?: string | undefined;
|
417
|
-
use?: string | undefined;
|
418
|
-
x?: string | undefined;
|
419
|
-
y?: string | undefined;
|
420
|
-
x5c?: string[] | undefined;
|
421
|
-
x5t?: string | undefined;
|
422
|
-
"x5t#S256"?: string | undefined;
|
423
|
-
x5u?: string | undefined;
|
424
|
-
}[];
|
425
|
-
};
|
426
|
-
client_id: string;
|
427
|
-
application_type: string;
|
428
|
-
client_name: string;
|
429
|
-
contacts: string[];
|
430
|
-
}>;
|
431
|
-
federation_entity: z.ZodObject<{
|
432
|
-
organization_name: z.ZodString;
|
433
|
-
homepage_uri: z.ZodString;
|
434
|
-
policy_uri: z.ZodString;
|
435
|
-
logo_uri: z.ZodString;
|
436
|
-
contacts: z.ZodArray<z.ZodString, "many">;
|
437
|
-
}, "strip", z.ZodTypeAny, {
|
438
|
-
organization_name: string;
|
439
|
-
homepage_uri: string;
|
440
|
-
policy_uri: string;
|
441
|
-
logo_uri: string;
|
442
|
-
contacts: string[];
|
443
|
-
}, {
|
444
|
-
organization_name: string;
|
445
|
-
homepage_uri: string;
|
446
|
-
policy_uri: string;
|
447
|
-
logo_uri: string;
|
448
|
-
contacts: string[];
|
449
|
-
}>;
|
450
|
-
}, "strip", z.ZodTypeAny, {
|
451
|
-
federation_entity: {
|
452
|
-
organization_name: string;
|
453
|
-
homepage_uri: string;
|
454
|
-
policy_uri: string;
|
455
|
-
logo_uri: string;
|
456
|
-
contacts: string[];
|
457
|
-
};
|
458
|
-
wallet_relying_party: {
|
459
|
-
jwks: {
|
460
|
-
keys: {
|
461
|
-
kty: "RSA" | "EC";
|
462
|
-
alg?: string | undefined;
|
463
|
-
crv?: string | undefined;
|
464
|
-
d?: string | undefined;
|
465
|
-
dp?: string | undefined;
|
466
|
-
dq?: string | undefined;
|
467
|
-
e?: string | undefined;
|
468
|
-
ext?: boolean | undefined;
|
469
|
-
k?: string | undefined;
|
470
|
-
key_ops?: string[] | undefined;
|
471
|
-
kid?: string | undefined;
|
472
|
-
n?: string | undefined;
|
473
|
-
p?: string | undefined;
|
474
|
-
q?: string | undefined;
|
475
|
-
qi?: string | undefined;
|
476
|
-
use?: string | undefined;
|
477
|
-
x?: string | undefined;
|
478
|
-
y?: string | undefined;
|
479
|
-
x5c?: string[] | undefined;
|
480
|
-
x5t?: string | undefined;
|
481
|
-
"x5t#S256"?: string | undefined;
|
482
|
-
x5u?: string | undefined;
|
483
|
-
}[];
|
484
|
-
};
|
485
|
-
client_id: string;
|
486
|
-
application_type: string;
|
487
|
-
client_name: string;
|
488
|
-
contacts: string[];
|
489
|
-
};
|
490
|
-
}, {
|
491
|
-
federation_entity: {
|
492
|
-
organization_name: string;
|
493
|
-
homepage_uri: string;
|
494
|
-
policy_uri: string;
|
495
|
-
logo_uri: string;
|
496
|
-
contacts: string[];
|
497
|
-
};
|
498
|
-
wallet_relying_party: {
|
499
|
-
jwks: {
|
500
|
-
keys: {
|
501
|
-
kty: "RSA" | "EC";
|
502
|
-
alg?: string | undefined;
|
503
|
-
crv?: string | undefined;
|
504
|
-
d?: string | undefined;
|
505
|
-
dp?: string | undefined;
|
506
|
-
dq?: string | undefined;
|
507
|
-
e?: string | undefined;
|
508
|
-
ext?: boolean | undefined;
|
509
|
-
k?: string | undefined;
|
510
|
-
key_ops?: string[] | undefined;
|
511
|
-
kid?: string | undefined;
|
512
|
-
n?: string | undefined;
|
513
|
-
p?: string | undefined;
|
514
|
-
q?: string | undefined;
|
515
|
-
qi?: string | undefined;
|
516
|
-
use?: string | undefined;
|
517
|
-
x?: string | undefined;
|
518
|
-
y?: string | undefined;
|
519
|
-
x5c?: string[] | undefined;
|
520
|
-
x5t?: string | undefined;
|
521
|
-
"x5t#S256"?: string | undefined;
|
522
|
-
x5u?: string | undefined;
|
523
|
-
}[];
|
524
|
-
};
|
525
|
-
client_id: string;
|
526
|
-
application_type: string;
|
527
|
-
client_name: string;
|
528
|
-
contacts: string[];
|
529
|
-
};
|
530
|
-
}>;
|
531
|
-
authority_hints: z.ZodArray<z.ZodString, "many">;
|
532
|
-
}, "strip", z.ZodTypeAny, {
|
533
|
-
iss: string;
|
534
|
-
sub: string;
|
535
|
-
iat: number;
|
536
|
-
exp: number;
|
537
|
-
jwks: {
|
538
|
-
keys: {
|
539
|
-
kty: "RSA" | "EC";
|
540
|
-
alg?: string | undefined;
|
541
|
-
crv?: string | undefined;
|
542
|
-
d?: string | undefined;
|
543
|
-
dp?: string | undefined;
|
544
|
-
dq?: string | undefined;
|
545
|
-
e?: string | undefined;
|
546
|
-
ext?: boolean | undefined;
|
547
|
-
k?: string | undefined;
|
548
|
-
key_ops?: string[] | undefined;
|
549
|
-
kid?: string | undefined;
|
550
|
-
n?: string | undefined;
|
551
|
-
p?: string | undefined;
|
552
|
-
q?: string | undefined;
|
553
|
-
qi?: string | undefined;
|
554
|
-
use?: string | undefined;
|
555
|
-
x?: string | undefined;
|
556
|
-
y?: string | undefined;
|
557
|
-
x5c?: string[] | undefined;
|
558
|
-
x5t?: string | undefined;
|
559
|
-
"x5t#S256"?: string | undefined;
|
560
|
-
x5u?: string | undefined;
|
561
|
-
}[];
|
562
|
-
};
|
563
|
-
metadata: {
|
564
|
-
federation_entity: {
|
565
|
-
organization_name: string;
|
566
|
-
homepage_uri: string;
|
567
|
-
policy_uri: string;
|
568
|
-
logo_uri: string;
|
569
|
-
contacts: string[];
|
570
|
-
};
|
571
|
-
wallet_relying_party: {
|
572
|
-
jwks: {
|
573
|
-
keys: {
|
574
|
-
kty: "RSA" | "EC";
|
575
|
-
alg?: string | undefined;
|
576
|
-
crv?: string | undefined;
|
577
|
-
d?: string | undefined;
|
578
|
-
dp?: string | undefined;
|
579
|
-
dq?: string | undefined;
|
580
|
-
e?: string | undefined;
|
581
|
-
ext?: boolean | undefined;
|
582
|
-
k?: string | undefined;
|
583
|
-
key_ops?: string[] | undefined;
|
584
|
-
kid?: string | undefined;
|
585
|
-
n?: string | undefined;
|
586
|
-
p?: string | undefined;
|
587
|
-
q?: string | undefined;
|
588
|
-
qi?: string | undefined;
|
589
|
-
use?: string | undefined;
|
590
|
-
x?: string | undefined;
|
591
|
-
y?: string | undefined;
|
592
|
-
x5c?: string[] | undefined;
|
593
|
-
x5t?: string | undefined;
|
594
|
-
"x5t#S256"?: string | undefined;
|
595
|
-
x5u?: string | undefined;
|
596
|
-
}[];
|
597
|
-
};
|
598
|
-
client_id: string;
|
599
|
-
application_type: string;
|
600
|
-
client_name: string;
|
601
|
-
contacts: string[];
|
602
|
-
};
|
603
|
-
};
|
604
|
-
authority_hints: string[];
|
605
|
-
}, {
|
606
|
-
iss: string;
|
607
|
-
sub: string;
|
608
|
-
iat: number;
|
609
|
-
exp: number;
|
610
|
-
jwks: {
|
611
|
-
keys: {
|
612
|
-
kty: "RSA" | "EC";
|
613
|
-
alg?: string | undefined;
|
614
|
-
crv?: string | undefined;
|
615
|
-
d?: string | undefined;
|
616
|
-
dp?: string | undefined;
|
617
|
-
dq?: string | undefined;
|
618
|
-
e?: string | undefined;
|
619
|
-
ext?: boolean | undefined;
|
620
|
-
k?: string | undefined;
|
621
|
-
key_ops?: string[] | undefined;
|
622
|
-
kid?: string | undefined;
|
623
|
-
n?: string | undefined;
|
624
|
-
p?: string | undefined;
|
625
|
-
q?: string | undefined;
|
626
|
-
qi?: string | undefined;
|
627
|
-
use?: string | undefined;
|
628
|
-
x?: string | undefined;
|
629
|
-
y?: string | undefined;
|
630
|
-
x5c?: string[] | undefined;
|
631
|
-
x5t?: string | undefined;
|
632
|
-
"x5t#S256"?: string | undefined;
|
633
|
-
x5u?: string | undefined;
|
634
|
-
}[];
|
635
|
-
};
|
636
|
-
metadata: {
|
637
|
-
federation_entity: {
|
638
|
-
organization_name: string;
|
639
|
-
homepage_uri: string;
|
640
|
-
policy_uri: string;
|
641
|
-
logo_uri: string;
|
642
|
-
contacts: string[];
|
643
|
-
};
|
644
|
-
wallet_relying_party: {
|
645
|
-
jwks: {
|
646
|
-
keys: {
|
647
|
-
kty: "RSA" | "EC";
|
648
|
-
alg?: string | undefined;
|
649
|
-
crv?: string | undefined;
|
650
|
-
d?: string | undefined;
|
651
|
-
dp?: string | undefined;
|
652
|
-
dq?: string | undefined;
|
653
|
-
e?: string | undefined;
|
654
|
-
ext?: boolean | undefined;
|
655
|
-
k?: string | undefined;
|
656
|
-
key_ops?: string[] | undefined;
|
657
|
-
kid?: string | undefined;
|
658
|
-
n?: string | undefined;
|
659
|
-
p?: string | undefined;
|
660
|
-
q?: string | undefined;
|
661
|
-
qi?: string | undefined;
|
662
|
-
use?: string | undefined;
|
663
|
-
x?: string | undefined;
|
664
|
-
y?: string | undefined;
|
665
|
-
x5c?: string[] | undefined;
|
666
|
-
x5t?: string | undefined;
|
667
|
-
"x5t#S256"?: string | undefined;
|
668
|
-
x5u?: string | undefined;
|
669
|
-
}[];
|
670
|
-
};
|
671
|
-
client_id: string;
|
672
|
-
application_type: string;
|
673
|
-
client_name: string;
|
674
|
-
contacts: string[];
|
675
|
-
};
|
676
|
-
};
|
677
|
-
authority_hints: string[];
|
678
|
-
}>;
|
679
|
-
}, "strip", z.ZodTypeAny, {
|
680
|
-
header: {
|
681
|
-
alg: string;
|
682
|
-
kid: string;
|
683
|
-
typ: "entity-statement+jwt";
|
684
|
-
};
|
685
|
-
payload: {
|
686
|
-
iss: string;
|
687
|
-
sub: string;
|
688
|
-
iat: number;
|
689
|
-
exp: number;
|
690
|
-
jwks: {
|
691
|
-
keys: {
|
692
|
-
kty: "RSA" | "EC";
|
693
|
-
alg?: string | undefined;
|
694
|
-
crv?: string | undefined;
|
695
|
-
d?: string | undefined;
|
696
|
-
dp?: string | undefined;
|
697
|
-
dq?: string | undefined;
|
698
|
-
e?: string | undefined;
|
699
|
-
ext?: boolean | undefined;
|
700
|
-
k?: string | undefined;
|
701
|
-
key_ops?: string[] | undefined;
|
702
|
-
kid?: string | undefined;
|
703
|
-
n?: string | undefined;
|
704
|
-
p?: string | undefined;
|
705
|
-
q?: string | undefined;
|
706
|
-
qi?: string | undefined;
|
707
|
-
use?: string | undefined;
|
708
|
-
x?: string | undefined;
|
709
|
-
y?: string | undefined;
|
710
|
-
x5c?: string[] | undefined;
|
711
|
-
x5t?: string | undefined;
|
712
|
-
"x5t#S256"?: string | undefined;
|
713
|
-
x5u?: string | undefined;
|
714
|
-
}[];
|
715
|
-
};
|
716
|
-
metadata: {
|
717
|
-
federation_entity: {
|
718
|
-
organization_name: string;
|
719
|
-
homepage_uri: string;
|
720
|
-
policy_uri: string;
|
721
|
-
logo_uri: string;
|
722
|
-
contacts: string[];
|
723
|
-
};
|
724
|
-
wallet_relying_party: {
|
725
|
-
jwks: {
|
726
|
-
keys: {
|
727
|
-
kty: "RSA" | "EC";
|
728
|
-
alg?: string | undefined;
|
729
|
-
crv?: string | undefined;
|
730
|
-
d?: string | undefined;
|
731
|
-
dp?: string | undefined;
|
732
|
-
dq?: string | undefined;
|
733
|
-
e?: string | undefined;
|
734
|
-
ext?: boolean | undefined;
|
735
|
-
k?: string | undefined;
|
736
|
-
key_ops?: string[] | undefined;
|
737
|
-
kid?: string | undefined;
|
738
|
-
n?: string | undefined;
|
739
|
-
p?: string | undefined;
|
740
|
-
q?: string | undefined;
|
741
|
-
qi?: string | undefined;
|
742
|
-
use?: string | undefined;
|
743
|
-
x?: string | undefined;
|
744
|
-
y?: string | undefined;
|
745
|
-
x5c?: string[] | undefined;
|
746
|
-
x5t?: string | undefined;
|
747
|
-
"x5t#S256"?: string | undefined;
|
748
|
-
x5u?: string | undefined;
|
749
|
-
}[];
|
750
|
-
};
|
751
|
-
client_id: string;
|
752
|
-
application_type: string;
|
753
|
-
client_name: string;
|
754
|
-
contacts: string[];
|
755
|
-
};
|
756
|
-
};
|
757
|
-
authority_hints: string[];
|
758
|
-
};
|
759
|
-
}, {
|
760
|
-
header: {
|
761
|
-
alg: string;
|
762
|
-
kid: string;
|
763
|
-
typ: "entity-statement+jwt";
|
764
|
-
};
|
765
|
-
payload: {
|
766
|
-
iss: string;
|
767
|
-
sub: string;
|
768
|
-
iat: number;
|
769
|
-
exp: number;
|
770
|
-
jwks: {
|
771
|
-
keys: {
|
772
|
-
kty: "RSA" | "EC";
|
773
|
-
alg?: string | undefined;
|
774
|
-
crv?: string | undefined;
|
775
|
-
d?: string | undefined;
|
776
|
-
dp?: string | undefined;
|
777
|
-
dq?: string | undefined;
|
778
|
-
e?: string | undefined;
|
779
|
-
ext?: boolean | undefined;
|
780
|
-
k?: string | undefined;
|
781
|
-
key_ops?: string[] | undefined;
|
782
|
-
kid?: string | undefined;
|
783
|
-
n?: string | undefined;
|
784
|
-
p?: string | undefined;
|
785
|
-
q?: string | undefined;
|
786
|
-
qi?: string | undefined;
|
787
|
-
use?: string | undefined;
|
788
|
-
x?: string | undefined;
|
789
|
-
y?: string | undefined;
|
790
|
-
x5c?: string[] | undefined;
|
791
|
-
x5t?: string | undefined;
|
792
|
-
"x5t#S256"?: string | undefined;
|
793
|
-
x5u?: string | undefined;
|
794
|
-
}[];
|
795
|
-
};
|
796
|
-
metadata: {
|
797
|
-
federation_entity: {
|
798
|
-
organization_name: string;
|
799
|
-
homepage_uri: string;
|
800
|
-
policy_uri: string;
|
801
|
-
logo_uri: string;
|
802
|
-
contacts: string[];
|
803
|
-
};
|
804
|
-
wallet_relying_party: {
|
805
|
-
jwks: {
|
806
|
-
keys: {
|
807
|
-
kty: "RSA" | "EC";
|
808
|
-
alg?: string | undefined;
|
809
|
-
crv?: string | undefined;
|
810
|
-
d?: string | undefined;
|
811
|
-
dp?: string | undefined;
|
812
|
-
dq?: string | undefined;
|
813
|
-
e?: string | undefined;
|
814
|
-
ext?: boolean | undefined;
|
815
|
-
k?: string | undefined;
|
816
|
-
key_ops?: string[] | undefined;
|
817
|
-
kid?: string | undefined;
|
818
|
-
n?: string | undefined;
|
819
|
-
p?: string | undefined;
|
820
|
-
q?: string | undefined;
|
821
|
-
qi?: string | undefined;
|
822
|
-
use?: string | undefined;
|
823
|
-
x?: string | undefined;
|
824
|
-
y?: string | undefined;
|
825
|
-
x5c?: string[] | undefined;
|
826
|
-
x5t?: string | undefined;
|
827
|
-
"x5t#S256"?: string | undefined;
|
828
|
-
x5u?: string | undefined;
|
829
|
-
}[];
|
830
|
-
};
|
831
|
-
client_id: string;
|
832
|
-
application_type: string;
|
833
|
-
client_name: string;
|
834
|
-
contacts: string[];
|
835
|
-
};
|
836
|
-
};
|
837
|
-
authority_hints: string[];
|
838
|
-
};
|
839
|
-
}>;
|
840
|
-
export type QRCodePayload = z.infer<typeof QRCodePayload>;
|
841
|
-
export declare const QRCodePayload: z.ZodObject<{
|
842
|
-
protocol: z.ZodLiteral<"eudiw:">;
|
843
|
-
resource: z.ZodString;
|
844
|
-
clientId: z.ZodString;
|
845
|
-
requestURI: z.ZodString;
|
846
|
-
}, "strip", z.ZodTypeAny, {
|
847
|
-
protocol: "eudiw:";
|
848
|
-
resource: string;
|
849
|
-
clientId: string;
|
850
|
-
requestURI: string;
|
851
|
-
}, {
|
852
|
-
protocol: "eudiw:";
|
853
|
-
resource: string;
|
854
|
-
clientId: string;
|
855
|
-
requestURI: string;
|
856
|
-
}>;
|
857
|
-
/**
|
858
|
-
* A pair that associate a tokenized Verified Credential with the claims presented or requested to present.
|
859
|
-
*/
|
860
|
-
export type Presentation = [
|
861
|
-
string,
|
862
|
-
string[]
|
863
|
-
];
|
864
|
-
//# sourceMappingURL=types.d.ts.map
|