@eudiplo/cli 9.1.0-main.f80d85e → 9.1.0-main.ff120d5
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/dist/commands/config/portability/action.d.ts.map +1 -1
- package/dist/commands/config/portability/action.js +62 -6
- package/dist/commands/config/portability/action.js.map +1 -1
- package/dist/commands/config/portability/folder-bundle.d.ts +48 -0
- package/dist/commands/config/portability/folder-bundle.d.ts.map +1 -0
- package/dist/commands/config/portability/folder-bundle.js +208 -0
- package/dist/commands/config/portability/folder-bundle.js.map +1 -0
- package/dist/commands/config/portability/index.d.ts.map +1 -1
- package/dist/commands/config/portability/index.js +7 -3
- package/dist/commands/config/portability/index.js.map +1 -1
- package/dist/commands/config/portability/upgrade.d.ts +2 -0
- package/dist/commands/config/portability/upgrade.d.ts.map +1 -1
- package/dist/commands/config/portability/upgrade.js +4 -4
- package/dist/commands/config/portability/upgrade.js.map +1 -1
- package/dist/commands/config/tenant/action.d.ts.map +1 -1
- package/dist/commands/config/tenant/action.js +3 -2
- package/dist/commands/config/tenant/action.js.map +1 -1
- package/dist/commands/config/validate/registry.d.ts +3 -0
- package/dist/commands/config/validate/registry.d.ts.map +1 -1
- package/dist/commands/config/validate/registry.js +5 -0
- package/dist/commands/config/validate/registry.js.map +1 -1
- package/dist/commands/config/validate/validator.d.ts.map +1 -1
- package/dist/commands/config/validate/validator.js +31 -11
- package/dist/commands/config/validate/validator.js.map +1 -1
- package/dist/index.js +12586 -8998
- package/dist/services/compose-project.d.ts +6 -0
- package/dist/services/compose-project.d.ts.map +1 -1
- package/dist/services/compose-project.js +13 -2
- package/dist/services/compose-project.js.map +1 -1
- package/package.json +3 -3
- package/templates/demo-config/info.json +1 -1
- package/templates/demo-config/issuance/credentials/citizen.json +1 -1
- package/templates/demo-config/issuance/credentials/pid-key.json +1 -1
- package/templates/demo-config/issuance/credentials/pid-mdoc.json +1 -1
- package/templates/demo-config/issuance/credentials/pid.json +1 -1
- package/templates/demo-config/issuance/issuance.json +1 -1
- package/templates/demo-config/key-chains/access.json +1 -1
- package/templates/demo-config/key-chains/attestation.json +1 -1
- package/templates/demo-config/key-chains/status-list.json +1 -1
- package/templates/demo-config/key-chains/trust-list.json +1 -1
- package/templates/demo-config/presentation/age-over-18.json +1 -1
- package/templates/demo-config/presentation/pid.json +1 -1
- package/templates/demo-config/trust-lists/trustlist-580831bc-ef11-43f4-a3be-a2b6bf1b29a3-config.json +4 -2
- package/templates/docker-compose.yml +2 -2
- package/templates/schemas/CreateTenantDto.schema.json +3 -3
- package/templates/schemas/CredentialConfigCreate.schema.json +15 -9
- package/templates/schemas/CredentialConfigFile.schema.json +1027 -1
- package/templates/schemas/DCQL.schema.json +168 -52
- package/templates/schemas/IssuanceConfig.schema.json +13 -4
- package/templates/schemas/KeyChainConfigFile.schema.json +2 -2
- package/templates/schemas/KeyChainCreateDto.schema.json +1 -1
- package/templates/schemas/KeyChainDefaultsConfigFile.schema.json +4 -4
- package/templates/schemas/KeyChainImportDto.schema.json +1 -1
- package/templates/schemas/PresentationConfigCreateDto.schema.json +184 -52
- package/templates/schemas/PresentationConfigFile.schema.json +746 -1
- package/templates/schemas/TrustListConfigFile.schema.json +263 -1
- package/templates/schemas/TrustListCreateDto.schema.json +556 -22
|
@@ -46,39 +46,97 @@
|
|
|
46
46
|
"values": {
|
|
47
47
|
"type": "array",
|
|
48
48
|
"items": {
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"url": {
|
|
56
|
-
"description": "Optional trust list URL reference.",
|
|
57
|
-
"anyOf": [
|
|
58
|
-
{
|
|
49
|
+
"anyOf": [
|
|
50
|
+
{
|
|
51
|
+
"type": "object",
|
|
52
|
+
"properties": {
|
|
53
|
+
"format": {
|
|
54
|
+
"description": "Format of the list: a List of Trusted Entities (ETSI TS 119 602) as JWT. Default.",
|
|
59
55
|
"type": "string",
|
|
60
|
-
"
|
|
56
|
+
"const": "lote"
|
|
61
57
|
},
|
|
62
|
-
{
|
|
63
|
-
"
|
|
64
|
-
"
|
|
58
|
+
"trustListId": {
|
|
59
|
+
"description": "Optional trust list id reference.",
|
|
60
|
+
"type": "string"
|
|
61
|
+
},
|
|
62
|
+
"url": {
|
|
63
|
+
"description": "Optional trust list URL reference.",
|
|
64
|
+
"anyOf": [
|
|
65
|
+
{
|
|
66
|
+
"type": "string",
|
|
67
|
+
"format": "uri"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"type": "string",
|
|
71
|
+
"pattern": "^<TENANT_URL>(?:\\/.*)?$"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"verifierKey": {
|
|
76
|
+
"description": "Optional verifier key material.",
|
|
77
|
+
"type": "object",
|
|
78
|
+
"propertyNames": {
|
|
79
|
+
"type": "string"
|
|
80
|
+
},
|
|
81
|
+
"additionalProperties": {}
|
|
82
|
+
},
|
|
83
|
+
"verifierX509Der": {
|
|
84
|
+
"description": "Optional verifier certificate in DER/base64 form.",
|
|
85
|
+
"type": "string"
|
|
65
86
|
}
|
|
66
|
-
|
|
87
|
+
},
|
|
88
|
+
"additionalProperties": false
|
|
67
89
|
},
|
|
68
|
-
|
|
69
|
-
"description": "Optional verifier key material.",
|
|
90
|
+
{
|
|
70
91
|
"type": "object",
|
|
71
|
-
"
|
|
72
|
-
"
|
|
92
|
+
"properties": {
|
|
93
|
+
"format": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"const": "trusted-list",
|
|
96
|
+
"description": "Format of the list: an ETSI TS 119 612 Trusted List or list of trusted lists as XML."
|
|
97
|
+
},
|
|
98
|
+
"url": {
|
|
99
|
+
"anyOf": [
|
|
100
|
+
{
|
|
101
|
+
"type": "string",
|
|
102
|
+
"format": "uri"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"type": "string",
|
|
106
|
+
"pattern": "^<TENANT_URL>(?:\\/.*)?$"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"description": "URL of the Trusted List, or of a list of trusted lists (LOTL) whose national lists are followed."
|
|
110
|
+
},
|
|
111
|
+
"signingCertificates": {
|
|
112
|
+
"minItems": 1,
|
|
113
|
+
"type": "array",
|
|
114
|
+
"items": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"minLength": 1,
|
|
117
|
+
"pattern": "^[A-Za-z0-9+/\\s]+={0,2}$"
|
|
118
|
+
},
|
|
119
|
+
"description": "Base64 DER certificates one of which must have signed the list: for a list of trusted lists, the signing certificates its operator publishes; for a national list, its scheme operator certificates."
|
|
120
|
+
},
|
|
121
|
+
"schemeTerritories": {
|
|
122
|
+
"description": "For a list of trusted lists: the SchemeTerritory values of the national lists to follow, such as DE. All when absent.",
|
|
123
|
+
"minItems": 1,
|
|
124
|
+
"type": "array",
|
|
125
|
+
"items": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"minLength": 1
|
|
128
|
+
}
|
|
129
|
+
}
|
|
73
130
|
},
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
131
|
+
"required": [
|
|
132
|
+
"format",
|
|
133
|
+
"url",
|
|
134
|
+
"signingCertificates"
|
|
135
|
+
],
|
|
136
|
+
"additionalProperties": false
|
|
79
137
|
}
|
|
80
|
-
|
|
81
|
-
"
|
|
138
|
+
],
|
|
139
|
+
"description": "Reference to a trust list used for authority verification."
|
|
82
140
|
},
|
|
83
141
|
"description": "Trust list references for ETSI TL verification."
|
|
84
142
|
}
|
|
@@ -230,39 +288,97 @@
|
|
|
230
288
|
"values": {
|
|
231
289
|
"type": "array",
|
|
232
290
|
"items": {
|
|
233
|
-
"
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
"
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
"url": {
|
|
240
|
-
"description": "Optional trust list URL reference.",
|
|
241
|
-
"anyOf": [
|
|
242
|
-
{
|
|
291
|
+
"anyOf": [
|
|
292
|
+
{
|
|
293
|
+
"type": "object",
|
|
294
|
+
"properties": {
|
|
295
|
+
"format": {
|
|
296
|
+
"description": "Format of the list: a List of Trusted Entities (ETSI TS 119 602) as JWT. Default.",
|
|
243
297
|
"type": "string",
|
|
244
|
-
"
|
|
298
|
+
"const": "lote"
|
|
245
299
|
},
|
|
246
|
-
{
|
|
247
|
-
"
|
|
248
|
-
"
|
|
300
|
+
"trustListId": {
|
|
301
|
+
"description": "Optional trust list id reference.",
|
|
302
|
+
"type": "string"
|
|
303
|
+
},
|
|
304
|
+
"url": {
|
|
305
|
+
"description": "Optional trust list URL reference.",
|
|
306
|
+
"anyOf": [
|
|
307
|
+
{
|
|
308
|
+
"type": "string",
|
|
309
|
+
"format": "uri"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"type": "string",
|
|
313
|
+
"pattern": "^<TENANT_URL>(?:\\/.*)?$"
|
|
314
|
+
}
|
|
315
|
+
]
|
|
316
|
+
},
|
|
317
|
+
"verifierKey": {
|
|
318
|
+
"description": "Optional verifier key material.",
|
|
319
|
+
"type": "object",
|
|
320
|
+
"propertyNames": {
|
|
321
|
+
"type": "string"
|
|
322
|
+
},
|
|
323
|
+
"additionalProperties": {}
|
|
324
|
+
},
|
|
325
|
+
"verifierX509Der": {
|
|
326
|
+
"description": "Optional verifier certificate in DER/base64 form.",
|
|
327
|
+
"type": "string"
|
|
249
328
|
}
|
|
250
|
-
|
|
329
|
+
},
|
|
330
|
+
"additionalProperties": false
|
|
251
331
|
},
|
|
252
|
-
|
|
253
|
-
"description": "Optional verifier key material.",
|
|
332
|
+
{
|
|
254
333
|
"type": "object",
|
|
255
|
-
"
|
|
256
|
-
"
|
|
334
|
+
"properties": {
|
|
335
|
+
"format": {
|
|
336
|
+
"type": "string",
|
|
337
|
+
"const": "trusted-list",
|
|
338
|
+
"description": "Format of the list: an ETSI TS 119 612 Trusted List or list of trusted lists as XML."
|
|
339
|
+
},
|
|
340
|
+
"url": {
|
|
341
|
+
"anyOf": [
|
|
342
|
+
{
|
|
343
|
+
"type": "string",
|
|
344
|
+
"format": "uri"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"type": "string",
|
|
348
|
+
"pattern": "^<TENANT_URL>(?:\\/.*)?$"
|
|
349
|
+
}
|
|
350
|
+
],
|
|
351
|
+
"description": "URL of the Trusted List, or of a list of trusted lists (LOTL) whose national lists are followed."
|
|
352
|
+
},
|
|
353
|
+
"signingCertificates": {
|
|
354
|
+
"minItems": 1,
|
|
355
|
+
"type": "array",
|
|
356
|
+
"items": {
|
|
357
|
+
"type": "string",
|
|
358
|
+
"minLength": 1,
|
|
359
|
+
"pattern": "^[A-Za-z0-9+/\\s]+={0,2}$"
|
|
360
|
+
},
|
|
361
|
+
"description": "Base64 DER certificates one of which must have signed the list: for a list of trusted lists, the signing certificates its operator publishes; for a national list, its scheme operator certificates."
|
|
362
|
+
},
|
|
363
|
+
"schemeTerritories": {
|
|
364
|
+
"description": "For a list of trusted lists: the SchemeTerritory values of the national lists to follow, such as DE. All when absent.",
|
|
365
|
+
"minItems": 1,
|
|
366
|
+
"type": "array",
|
|
367
|
+
"items": {
|
|
368
|
+
"type": "string",
|
|
369
|
+
"minLength": 1
|
|
370
|
+
}
|
|
371
|
+
}
|
|
257
372
|
},
|
|
258
|
-
"
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
373
|
+
"required": [
|
|
374
|
+
"format",
|
|
375
|
+
"url",
|
|
376
|
+
"signingCertificates"
|
|
377
|
+
],
|
|
378
|
+
"additionalProperties": false
|
|
263
379
|
}
|
|
264
|
-
|
|
265
|
-
"
|
|
380
|
+
],
|
|
381
|
+
"description": "Reference to a trust list used for authority verification."
|
|
266
382
|
},
|
|
267
383
|
"description": "Trust list references for ETSI TL verification."
|
|
268
384
|
}
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"walletAttestationStatusCheckMode": {
|
|
56
|
-
"description": "
|
|
56
|
+
"description": "Status check mode for key attestations at the credential endpoint, and default for wallet attestations at managed authorization servers: strict, best_effort (default) or disabled.",
|
|
57
57
|
"anyOf": [
|
|
58
58
|
{
|
|
59
59
|
"type": "string",
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"minimum": 60
|
|
161
161
|
},
|
|
162
162
|
"signingKeyId": {
|
|
163
|
-
"description": "ID of a key chain with usage type \"
|
|
163
|
+
"description": "ID of a key chain with usage type \"authorizationServer\" that signs the issued access tokens. Without it, the tenant's authorization server key chain signs them.",
|
|
164
164
|
"type": "string",
|
|
165
165
|
"minLength": 1
|
|
166
166
|
},
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
"minimum": 60
|
|
303
303
|
},
|
|
304
304
|
"signingKeyId": {
|
|
305
|
-
"description": "ID of a key chain with usage type \"
|
|
305
|
+
"description": "ID of a key chain with usage type \"authorizationServer\" that signs the issued access tokens. Without it, the tenant's authorization server key chain signs them.",
|
|
306
306
|
"type": "string",
|
|
307
307
|
"minLength": 1
|
|
308
308
|
},
|
|
@@ -410,7 +410,7 @@
|
|
|
410
410
|
"minimum": 60
|
|
411
411
|
},
|
|
412
412
|
"signingKeyId": {
|
|
413
|
-
"description": "ID of a key chain with usage type \"
|
|
413
|
+
"description": "ID of a key chain with usage type \"authorizationServer\" that signs the issued access tokens. Without it, the tenant's authorization server key chain signs them.",
|
|
414
414
|
"type": "string",
|
|
415
415
|
"minLength": 1
|
|
416
416
|
},
|
|
@@ -675,6 +675,15 @@
|
|
|
675
675
|
"supportUri": {
|
|
676
676
|
"description": "Optional support URI.",
|
|
677
677
|
"type": "string"
|
|
678
|
+
},
|
|
679
|
+
"renewal": {
|
|
680
|
+
"description": "When a generated certificate is renewed. onCredentialConfigChange (default): in the background after a credential or issuance configuration changes, and when issuer metadata is built. onMetadataRequest: only when issuer metadata is built. manual: only with Regenerate now. In every mode a missing or expired certificate is requested when issuer metadata is built.",
|
|
681
|
+
"type": "string",
|
|
682
|
+
"enum": [
|
|
683
|
+
"onCredentialConfigChange",
|
|
684
|
+
"onMetadataRequest",
|
|
685
|
+
"manual"
|
|
686
|
+
]
|
|
678
687
|
}
|
|
679
688
|
},
|
|
680
689
|
"additionalProperties": false
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"type": "string",
|
|
43
43
|
"enum": [
|
|
44
44
|
"access",
|
|
45
|
-
"
|
|
45
|
+
"authorizationServer",
|
|
46
46
|
"attestation",
|
|
47
47
|
"trustList",
|
|
48
48
|
"statusList",
|
|
@@ -1526,7 +1526,7 @@
|
|
|
1526
1526
|
"type": "string",
|
|
1527
1527
|
"enum": [
|
|
1528
1528
|
"access",
|
|
1529
|
-
"
|
|
1529
|
+
"authorizationServer",
|
|
1530
1530
|
"attestation",
|
|
1531
1531
|
"trustList",
|
|
1532
1532
|
"statusList",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"type": "string",
|
|
38
38
|
"minLength": 1
|
|
39
39
|
},
|
|
40
|
-
"
|
|
41
|
-
"description": "ID of the
|
|
40
|
+
"authorizationServer": {
|
|
41
|
+
"description": "ID of the authorization server key chain (usage type authorizationServer) that signs the access tokens of authorization servers without token.signingKeyId and is published in their JWKS. Without it, EUDIPLO uses the tenant's oldest authorization server key chain and creates one with ID authorization-server when the tenant has none.",
|
|
42
42
|
"type": "string",
|
|
43
43
|
"minLength": 1
|
|
44
44
|
}
|
|
@@ -110,8 +110,8 @@
|
|
|
110
110
|
"type": "string",
|
|
111
111
|
"minLength": 1
|
|
112
112
|
},
|
|
113
|
-
"
|
|
114
|
-
"description": "ID of the
|
|
113
|
+
"authorizationServer": {
|
|
114
|
+
"description": "ID of the authorization server key chain (usage type authorizationServer) that signs the access tokens of authorization servers without token.signingKeyId and is published in their JWKS. Without it, EUDIPLO uses the tenant's oldest authorization server key chain and creates one with ID authorization-server when the tenant has none.",
|
|
115
115
|
"type": "string",
|
|
116
116
|
"minLength": 1
|
|
117
117
|
}
|
|
@@ -82,39 +82,97 @@
|
|
|
82
82
|
"values": {
|
|
83
83
|
"type": "array",
|
|
84
84
|
"items": {
|
|
85
|
-
"
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
"
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
"url": {
|
|
92
|
-
"description": "Optional trust list URL reference.",
|
|
93
|
-
"anyOf": [
|
|
94
|
-
{
|
|
85
|
+
"anyOf": [
|
|
86
|
+
{
|
|
87
|
+
"type": "object",
|
|
88
|
+
"properties": {
|
|
89
|
+
"format": {
|
|
90
|
+
"description": "Format of the list: a List of Trusted Entities (ETSI TS 119 602) as JWT. Default.",
|
|
95
91
|
"type": "string",
|
|
96
|
-
"
|
|
92
|
+
"const": "lote"
|
|
97
93
|
},
|
|
98
|
-
{
|
|
99
|
-
"
|
|
100
|
-
"
|
|
94
|
+
"trustListId": {
|
|
95
|
+
"description": "Optional trust list id reference.",
|
|
96
|
+
"type": "string"
|
|
97
|
+
},
|
|
98
|
+
"url": {
|
|
99
|
+
"description": "Optional trust list URL reference.",
|
|
100
|
+
"anyOf": [
|
|
101
|
+
{
|
|
102
|
+
"type": "string",
|
|
103
|
+
"format": "uri"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"type": "string",
|
|
107
|
+
"pattern": "^<TENANT_URL>(?:\\/.*)?$"
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
"verifierKey": {
|
|
112
|
+
"description": "Optional verifier key material.",
|
|
113
|
+
"type": "object",
|
|
114
|
+
"propertyNames": {
|
|
115
|
+
"type": "string"
|
|
116
|
+
},
|
|
117
|
+
"additionalProperties": {}
|
|
118
|
+
},
|
|
119
|
+
"verifierX509Der": {
|
|
120
|
+
"description": "Optional verifier certificate in DER/base64 form.",
|
|
121
|
+
"type": "string"
|
|
101
122
|
}
|
|
102
|
-
|
|
123
|
+
},
|
|
124
|
+
"additionalProperties": false
|
|
103
125
|
},
|
|
104
|
-
|
|
105
|
-
"description": "Optional verifier key material.",
|
|
126
|
+
{
|
|
106
127
|
"type": "object",
|
|
107
|
-
"
|
|
108
|
-
"
|
|
128
|
+
"properties": {
|
|
129
|
+
"format": {
|
|
130
|
+
"type": "string",
|
|
131
|
+
"const": "trusted-list",
|
|
132
|
+
"description": "Format of the list: an ETSI TS 119 612 Trusted List or list of trusted lists as XML."
|
|
133
|
+
},
|
|
134
|
+
"url": {
|
|
135
|
+
"anyOf": [
|
|
136
|
+
{
|
|
137
|
+
"type": "string",
|
|
138
|
+
"format": "uri"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"type": "string",
|
|
142
|
+
"pattern": "^<TENANT_URL>(?:\\/.*)?$"
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"description": "URL of the Trusted List, or of a list of trusted lists (LOTL) whose national lists are followed."
|
|
146
|
+
},
|
|
147
|
+
"signingCertificates": {
|
|
148
|
+
"minItems": 1,
|
|
149
|
+
"type": "array",
|
|
150
|
+
"items": {
|
|
151
|
+
"type": "string",
|
|
152
|
+
"minLength": 1,
|
|
153
|
+
"pattern": "^[A-Za-z0-9+/\\s]+={0,2}$"
|
|
154
|
+
},
|
|
155
|
+
"description": "Base64 DER certificates one of which must have signed the list: for a list of trusted lists, the signing certificates its operator publishes; for a national list, its scheme operator certificates."
|
|
156
|
+
},
|
|
157
|
+
"schemeTerritories": {
|
|
158
|
+
"description": "For a list of trusted lists: the SchemeTerritory values of the national lists to follow, such as DE. All when absent.",
|
|
159
|
+
"minItems": 1,
|
|
160
|
+
"type": "array",
|
|
161
|
+
"items": {
|
|
162
|
+
"type": "string",
|
|
163
|
+
"minLength": 1
|
|
164
|
+
}
|
|
165
|
+
}
|
|
109
166
|
},
|
|
110
|
-
"
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
167
|
+
"required": [
|
|
168
|
+
"format",
|
|
169
|
+
"url",
|
|
170
|
+
"signingCertificates"
|
|
171
|
+
],
|
|
172
|
+
"additionalProperties": false
|
|
115
173
|
}
|
|
116
|
-
|
|
117
|
-
"
|
|
174
|
+
],
|
|
175
|
+
"description": "Reference to a trust list used for authority verification."
|
|
118
176
|
},
|
|
119
177
|
"description": "Trust list references for ETSI TL verification."
|
|
120
178
|
}
|
|
@@ -266,39 +324,97 @@
|
|
|
266
324
|
"values": {
|
|
267
325
|
"type": "array",
|
|
268
326
|
"items": {
|
|
269
|
-
"
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
"
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
"url": {
|
|
276
|
-
"description": "Optional trust list URL reference.",
|
|
277
|
-
"anyOf": [
|
|
278
|
-
{
|
|
327
|
+
"anyOf": [
|
|
328
|
+
{
|
|
329
|
+
"type": "object",
|
|
330
|
+
"properties": {
|
|
331
|
+
"format": {
|
|
332
|
+
"description": "Format of the list: a List of Trusted Entities (ETSI TS 119 602) as JWT. Default.",
|
|
279
333
|
"type": "string",
|
|
280
|
-
"
|
|
334
|
+
"const": "lote"
|
|
281
335
|
},
|
|
282
|
-
{
|
|
283
|
-
"
|
|
284
|
-
"
|
|
336
|
+
"trustListId": {
|
|
337
|
+
"description": "Optional trust list id reference.",
|
|
338
|
+
"type": "string"
|
|
339
|
+
},
|
|
340
|
+
"url": {
|
|
341
|
+
"description": "Optional trust list URL reference.",
|
|
342
|
+
"anyOf": [
|
|
343
|
+
{
|
|
344
|
+
"type": "string",
|
|
345
|
+
"format": "uri"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"type": "string",
|
|
349
|
+
"pattern": "^<TENANT_URL>(?:\\/.*)?$"
|
|
350
|
+
}
|
|
351
|
+
]
|
|
352
|
+
},
|
|
353
|
+
"verifierKey": {
|
|
354
|
+
"description": "Optional verifier key material.",
|
|
355
|
+
"type": "object",
|
|
356
|
+
"propertyNames": {
|
|
357
|
+
"type": "string"
|
|
358
|
+
},
|
|
359
|
+
"additionalProperties": {}
|
|
360
|
+
},
|
|
361
|
+
"verifierX509Der": {
|
|
362
|
+
"description": "Optional verifier certificate in DER/base64 form.",
|
|
363
|
+
"type": "string"
|
|
285
364
|
}
|
|
286
|
-
|
|
365
|
+
},
|
|
366
|
+
"additionalProperties": false
|
|
287
367
|
},
|
|
288
|
-
|
|
289
|
-
"description": "Optional verifier key material.",
|
|
368
|
+
{
|
|
290
369
|
"type": "object",
|
|
291
|
-
"
|
|
292
|
-
"
|
|
370
|
+
"properties": {
|
|
371
|
+
"format": {
|
|
372
|
+
"type": "string",
|
|
373
|
+
"const": "trusted-list",
|
|
374
|
+
"description": "Format of the list: an ETSI TS 119 612 Trusted List or list of trusted lists as XML."
|
|
375
|
+
},
|
|
376
|
+
"url": {
|
|
377
|
+
"anyOf": [
|
|
378
|
+
{
|
|
379
|
+
"type": "string",
|
|
380
|
+
"format": "uri"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"type": "string",
|
|
384
|
+
"pattern": "^<TENANT_URL>(?:\\/.*)?$"
|
|
385
|
+
}
|
|
386
|
+
],
|
|
387
|
+
"description": "URL of the Trusted List, or of a list of trusted lists (LOTL) whose national lists are followed."
|
|
388
|
+
},
|
|
389
|
+
"signingCertificates": {
|
|
390
|
+
"minItems": 1,
|
|
391
|
+
"type": "array",
|
|
392
|
+
"items": {
|
|
393
|
+
"type": "string",
|
|
394
|
+
"minLength": 1,
|
|
395
|
+
"pattern": "^[A-Za-z0-9+/\\s]+={0,2}$"
|
|
396
|
+
},
|
|
397
|
+
"description": "Base64 DER certificates one of which must have signed the list: for a list of trusted lists, the signing certificates its operator publishes; for a national list, its scheme operator certificates."
|
|
398
|
+
},
|
|
399
|
+
"schemeTerritories": {
|
|
400
|
+
"description": "For a list of trusted lists: the SchemeTerritory values of the national lists to follow, such as DE. All when absent.",
|
|
401
|
+
"minItems": 1,
|
|
402
|
+
"type": "array",
|
|
403
|
+
"items": {
|
|
404
|
+
"type": "string",
|
|
405
|
+
"minLength": 1
|
|
406
|
+
}
|
|
407
|
+
}
|
|
293
408
|
},
|
|
294
|
-
"
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
409
|
+
"required": [
|
|
410
|
+
"format",
|
|
411
|
+
"url",
|
|
412
|
+
"signingCertificates"
|
|
413
|
+
],
|
|
414
|
+
"additionalProperties": false
|
|
299
415
|
}
|
|
300
|
-
|
|
301
|
-
"
|
|
416
|
+
],
|
|
417
|
+
"description": "Reference to a trust list used for authority verification."
|
|
302
418
|
},
|
|
303
419
|
"description": "Trust list references for ETSI TL verification."
|
|
304
420
|
}
|
|
@@ -672,6 +788,22 @@
|
|
|
672
788
|
"null"
|
|
673
789
|
]
|
|
674
790
|
},
|
|
791
|
+
"allowedOrigins": {
|
|
792
|
+
"description": "Origins (http(s)://host[:port]) of the web pages allowed to request this presentation over the Digital Credentials API. When set, dc-api and iso-18013-7 offers are refused for any other expected_origin, and an offer without expected_origin uses the only listed origin. Unset: any expected_origin is accepted. Not used for uri requests.",
|
|
793
|
+
"anyOf": [
|
|
794
|
+
{
|
|
795
|
+
"maxItems": 100,
|
|
796
|
+
"type": "array",
|
|
797
|
+
"items": {
|
|
798
|
+
"type": "string",
|
|
799
|
+
"pattern": "^(?:https:\\/\\/(?:[a-z0-9.-]+|\\[[0-9a-f:.]+\\])(?::(?:[1-9]|[1-9][0-9]|[1-35-9][0-9]{2}|4[0-35-9][0-9]|44[0-24-9]|[1-9][0-9]{3,4}))?|http:\\/\\/(?:[a-z0-9.-]+|\\[[0-9a-f:.]+\\])(?::(?:[1-9]|[1-79][0-9]|8[1-9]|[1-9][0-9]{2,4}))?)$"
|
|
800
|
+
}
|
|
801
|
+
},
|
|
802
|
+
{
|
|
803
|
+
"type": "null"
|
|
804
|
+
}
|
|
805
|
+
]
|
|
806
|
+
},
|
|
675
807
|
"readerAuth": {
|
|
676
808
|
"description": "Whether reader authentication is required for mDoc requests.",
|
|
677
809
|
"type": [
|