Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
{
"definitions": {
"attribute": {
"type": "object",
"description": "Contains information about the signature certificate",
"required": [],
"properties": {
"attribute_name": {
"type": "array",
"description": "Names or OIDs of the attributes/properties to be included in the signature.",
"items": {
"type": "string",
"description": "Name or OID"
}
},
"attribute_value": {
"type": "array",
"description": "Contains values to be used for the corresponding attributes/properties to be included in the signature",
"items": {
"type": "string",
"description": "A single value"
}
}
}
},
"authInfo": {
"type": "string",
"description": "Specifies if the information on the authorization mechanisms supported by this credential shall be returned"
},
"authMode": {
"type": "string",
"description": "Specifies one of the authorization modes"
},
"authType": {
"type": "array",
"description": "List of the authentication mechanisms supported by the service for API methods access.",
"items": {
"type": "string",
"description": "Authentication mechanism"
}
},
"cert": {
"type": "object",
"description": "Contains information about the signature certificate",
"required": [],
"properties": {
"status": {
"type": "string",
"description": "The certificate status"
},
"certificates": {
"type": "array",
"description": "Contains one or more Base64-encoded X.509v3 certificates from the certificate chain",
"items": {
"type": "string",
"description": "A single Base64-encoded X.509v3 certificate"
}
},
"validFrom": {
"type": "string",
"description": "The validity start date from the X.509v3 certificate in printable string format"
},
"validTo": {
"type": "string",
"description": "The validity end date from the X.509v3 certificate in printable string format"
},
"issuerDN": {
"type": "string",
"description": "The Issuer Subject Distinguished Name from the X.509v3 end entity certificate in printable string format"
},
"serialNumber": {
"type": "string",
"description": "The Serial Number from the X.509v3 certificate in hex encoded format"
},
"subjectDN": {
"type": "string",
"description": "The Distinguished Name from the X.509v3 certificate in printable string format"
}
}
},
"certificates": {
"type": "array",
"description": "Contains one or more Base64-encoded X.509v3 certificates from the signing certificate chain",
"items": {
"type": "string",
"description": "Base64-encoded X.509v3 certificate"
}
},
"certInfo": {
"type": "boolean",
"description": "Specifies if the information on the end entity certificate shall be returned as printable strings"
},
"conformance_level": {
"type": "string",
"description": "Baseline profiles conformarce level."
},
"credentialID": {
"type": "string",
"description": "The identifier associated to the private key and corresponding certificate."
},
"credentialIDs": {
"type": "array",
"description": "One or more credentialID associated with the provided or implicit signer identification.",
"items": {
"type": "string",
"description": "Single more credentialID"
}
},
"description": {
"type": "string",
"desciption": "A short description of the service"
},
"documentDigests": {
"type": "object",
"description": "JSON Object containing hash(es) to be signed and digest algorithm OID used to calculate di hash(es). ",
"required": [],
"properties": {
"hashes": {
"type": "array",
"description": "Base64-encoded document(s) hash(es), to be signed.",
"items": {
"type": "string",
"description": "Base64-encoded document hash"
}
},
"hashAlgorithmOID": {
"type": "string",
"description": "Hashing algorithm OID used to calculate document hash(es)"
}
}
},
"documents": {
"type": "array",
"description": "Base64-encoded document(s) content(s), to be signed.",
"items": {
"type": "string",
"description": "Base64-encoded document"
}
},
"documentWithSignature": {
"type": "array",
"description": "Base64-encoded signatures enveloped within the documents.",
"items": {
"type": "string",
"description": "Base64-encoded signature"
}
},
"error": {
"type": "string",
"description": "An error code string"
},
"error_description": {
"type": "string",
"description": "A human readable description"
},
"key": {
"type": "object",
"description": "Information about the key",
"required": [
"status",
"algo",
"len"
],
"properties": {
"status": {
"type": "string",
"description": "The status of enablement of the signing key of the credential",
"pattern": "^(enabled|disabled)$"
},
"algo": {
"type": "array",
"description": "The list of OIDs of the supported key algorithms",
"items": {
"type": "string",
"description": "A single OID"
}
},
"len": {
"type": "integer",
"description": "The length of the cryptographic key in bits"
},
"curve": {
"type": "integer",
"description": "The OID of the ECDSA curve"
}
}
},
"lang": {
"type": "string",
"description": "The preferred language of the SCS responses, specified according to RFC5646."
},
"logo": {
"type": "string",
"description": "The URI of the image file containing the logo of the Service."
},
"methods": {
"type": "array",
"description": "List of the supported API methods names.",
"items": {
"type": "string",
"description": "API method name."
}
},
"multisign": {
"type": "boolean",
"description": "Specifies if the credential supports multiple signatures to be created with a single authorization request"
},
"name": {
"type": "string",
"description": "The name of the service."
},
"numSignatures": {
"type": "number",
"description": "The number of signatures to be performed in the context of the transaction."
},
"operationMode": {
"type": "string",
"description": "The type of operation mode requested to the SCS."
},
"operationModes": {
"type": "array",
"description": "List of the supported operation modes.",
"items": {
"type": "string",
"description": "Operation mode"
}
},
"optionalData": {
"type": "object",
"description": "List of element names identifying the data that are requested to be returned.",
"properties": {
"returnSigningCertificateInfo": {
"$ref": "#/definitions/returnSigningCertificateInfo"
},
"returnSupportMultiSignatureInfo": {
"$ref": "#/definitions/returnSupportMultiSignatureInfo "
},
"returnServicePolicyInfo": {
"$ref": "#/definitions/returnServicePolicyInfo"
},
"returnSignatureCreationPolicyInfo": {
"$ref": "#/definitions/returnSignatureCreationPolicyInfo"
},
"returnCredentialAuthorizationModeInfo": {
"$ref": "#/definitions/returnCredentialAuthorizationModeInfo"
},
"returnSoleControlAssuranceLevelInfo": {
"$ref": "#/definitions/returnSoleControlAssuranceLevelInfo"
}
}
},
"policy": {
"type": "string",
"description": "The element that identifies a particular service policy associated with the SCS."
},
"profile": {
"type": "string",
"description": "String that identifies the protocol being used by the client to communicate to SCS."
},
"protocol": {
"type": "string",
"description": "The name of the protocol supported by the SCS."
},
"region": {
"type": "string",
"description": "The ISO 3166-1 alpha-2 code where the service is operating."
},
"requestID": {
"type": "string",
"description": "Data from the client application generally used to handle a signature transaction identifier."
},
"response_uri": {
"type": "string",
"description": "The element shall have the value of one location where the SCS will notify the signature creation operation completion, as an URI value."
},
"responseID": {
"type": "string",
"description": "Arbitrary string value generated by the SCS uniquely identifying the response originated from the SCS itself."
},
"returnSigningCertificateInfo": {
"type": "boolean",
"description": "to obtain various information concerning the signing certificate/chain/key used by the SCS"
},
"returnSupportMultiSignatureInfo": {
"type": "boolean",
"description": "to obtain the information concerning the support from the signing key of multiple signatures creation with a single authorization request"
},
"returnServicePolicyInfo": {
"type": "boolean",
"description": "to obtain the name of the service policy used by the server to perform the requested operation"
},
"returnSignatureCreationPolicyInfo": {
"type": "boolean",
"description": "to obtain the name of the signature creation policy used by the server to perform the requested signature creation operation"
},
"returnCredentialAuthorizationModeInfo": {
"type": "boolean",
"description": "to obtain the authorization mode required by the signing key identified in the certificate information retrieval request"
},
"returnSoleControlAssuranceLevelInfo": {
"type": "boolean",
"description": "to obtain the sole control assurance level required by the signing key identified in the certificate information retrieval request"
},
"SAD": {
"type": "string",
"description": "Authentication data used to authorize the use of the signing key."
},
"SCAL": {
"type": "string",
"description": "Specifies the Sole Control Assurance Level required by the credential, as defined in CEN EN 419 241-1"
},
"servicePolicies": {
"type": "array",
"description": "List of the supported service policies names.",
"items": {
"type": "string",
"description": "Service policy name"
}
},
"signAlgo": {
"type": "string",
"description": "The element specifies the algorithm OID used for signing."
},
"signAlgoParams": {
"type": "string",
"description": "The element specifies the Base64-encoded of DER-encoded ASN.1 signature parameters."
},
"signature_format": {
"type": "string",
"description": "The required signature format."
},
"signatureFormats": {
"type": "array",
"description": "List of JSONObjects specifying the signature formats supported by the SCS.",
"items": {
"type": "object",
"description": "JSONObject specifying the signature formats supported by the SCS",
"required": [],
"properties": {
"signature_format": {
"$ref": "#/definitions/signature_format"
},
"conformance_level": {
"$ref": "#/definitions/conformance_level"
},
"signed_envelope_property": {
"$ref": "#/definitions/signed_envelope_property"
}
}
}
},
"signatureObject": {
"type": "array",
"description": "Base64-encoded signatures detached from the the documents.",
"items": {
"type": "string",
"description": "Base64-encoded signature"
}
},
"signaturePolicies": {
"type": "array",
"description": "List of the supported signature policies names.",
"items": {
"type": "string",
"description": "Signature policy name"
}
},
"signaturePolicyID": {
"type": "string",
"description": "The element that identifies a particular signature creation policy associated with the SCS."
},
"signaturePolicyLocations": {
"type": "array",
"description": "Every string element shall have the value of one location where the signature creation policy document can be accessed",
"items": {
"type": "string",
"description": "Signature policy location"
}
},
"signatures": {
"type": "array",
"description": "One or more base64-encoded signature value(s).",
"items": {
"type": "string",
"description": "Base64-encoded signature value."
}
},
"signed_envelope_property": {
"type": "string",
"description": "Signature further property"
},
"signed_props": {
"type": "array",
"description": "List of signed attributes.",
"items": {
"$ref": "#/definitions/attribute"
}
},
"signerIdentity": {
"type": "string",
"description": "The identifier associated to the signer identity."
},
"validity_period": {
"type": "number",
"description": "The element name"
},
"versions": {
"type": "array",
"description": "The versions of the protocol specifications supported by the SCS",
"items": {
"type": "string",
"description": "Single version"
}
},
"signature-request": {
"type": "object",
"description": "Profile for signature request",
"required": [
"profile",
"documents",
"documentDigests"
],
"properties": {
"operationMode": {
"$ref": "#/definitions/operationMode"
},
"requestID": {
"$ref": "#/definitions/requestID"
},
"SAD": {
"$ref": "#/definitions/SAD"
},
"optionalData": {
"$ref": "#/definitions/optionalData"
},
"validity_period": {
"$ref": "#/definitions/validity_period"
},
"credentialID": {
"$ref": "#/definitions/credentialID"
},
"lang": {
"$ref": "#/definitions/lang"
},
"numSignatures": {
"$ref": "#/definitions/numSignatures"
},
"policy": {
"$ref": "#/definitions/policy"
},
"signaturePolicyID": {
"$ref": "#/definitions/signaturePolicyID"
},
"signAlgo": {
"$ref": "#/definitions/signAlgo"
},
"signAlgoParams": {
"$ref": "#/definitions/signAlgoParams"
},
"signed_props": {
"$ref": "#/definitions/signed_props"
},
"profile": {
"$ref": "#/definitions/profile"
},
"signature_format": {
"$ref": "#/definitions/signature_format"
},
"conformance_level": {
"$ref": "#/definitions/conformance_level"
},
"signed_envelope_property": {
"$ref": "#/definitions/signed_envelope_property"
},
"response_uri": {
"$ref": "#/definitions/response_uri"
},
"documents": {
"$ref": "#/definitions/documents"
},
"documentDigests": {
"$ref": "#/definitions/documentDigests"
}
}
},
"signature-response": {
"type": "object",
"description": "Profile for signature response",
"required": [
"error",
"error_description",
],
"properties": {
"DocumentWithSignature": {
"$ref": "#/definitions/documentWithSignature"
},
"SignatureObject": {
"$ref": "#/definitions/signatureObject"
},
"cert": {
"$ref": "#/definitions/cert"
},
"key": {
"$ref": "#/definitions/key"
},
"multisign": {
"$ref": "#/definitions/multisign"
},
"error": {
"$ref": "#/definitions/error"
},
"error_description": {
"$ref": "#/definitions/error_description"
},
"policy": {
"$ref": "#/definitions/policy"
},
"responseID": {
"$ref": "#/definitions/responseID"
},
"signaturePolicyID": {
"$ref": "#/definitions/signaturePolicyID"
},
"signaturePolicyLocations": {
"$ref": "#/definitions/signaturePolicyLocations"
}
}
},
"DSV-creation-request": {
"type": "object",
"description": "Profile for DSVs creation request",
"required": [
"profile",
"documents",
"documentDigests"
],
"properties": {
"operationMode": {
"$ref": "#/definitions/operationMode"
},
"requestID": {
"$ref": "#/definitions/requestID"
},
"SAD": {
"$ref": "#/definitions/SAD"
},
"optionalData": {
"$ref": "#/definitions/optionalData"
},
"validity_period": {
"$ref": "#/definitions/validity_period"
},
"credentialID": {
"$ref": "#/definitions/credentialID"
},
"lang": {
"$ref": "#/definitions/lang"
},
"numSignatures": {
"$ref": "#/definitions/numSignatures"
},
"policy": {
"$ref": "#/definitions/policy"
},
"signaturePolicyID": {
"$ref": "#/definitions/signaturePolicyID"
},
"signAlgo": {
"$ref": "#/definitions/signAlgo"
},
"signAlgoParams": {
"$ref": "#/definitions/signAlgoParams"
},
"signed_props": {
"$ref": "#/definitions/signed_props"
},
"signature_format": {
"$ref": "#/definitions/signature_format"
},
"conformance_level": {
"$ref": "#/definitions/conformance_level"
},
"response_uri": {
"$ref": "#/definitions/response_uri"
},
"documents": {
"$ref": "#/definitions/documents"
},
"documentDigests": {
"$ref": "#/definitions/documentDigests"
}
}
},
"DSV-creation-response": {
"type": "object",
"description": "Profile for digital signature value response",
"required": [
"error",
"error_description"
],
"properties": {
"cert": {
"$ref": "#/definitions/cert"
},
"key": {
"$ref": "#/definitions/key"
},
"multisign": {
"$ref": "#/definitions/multisign"
},
"error": {
"$ref": "#/definitions/error"
},
"error_description": {
"$ref": "#/definitions/error_description"
},
"policy": {
"$ref": "#/definitions/policy"
},
"responseID": {
"$ref": "#/definitions/responseID"
},
"signaturePolicyID": {
"$ref": "#/definitions/signaturePolicyID"
},
"signaturePolicyLocations": {
"$ref": "#/definitions/signaturePolicyLocations"
},
"signatures": {
"$ref": "#/definitions/signatures"
}
}
},
"asynchronous-processing": {
"type": "object",
"description": "Profile for asynchronous processing",
"required": [
"profile"
],
"properties": {
"requestID": {
"$ref": "#/definitions/requestID"
},
"lang": {
"$ref": "#/definitions/lang"
},
"profile": {
"$ref": "#/definitions/profile"
}
}
},
"signing-certificates-list-request": {
"type": "object",
"description": "Profile for signing certificates list request",
"required": [
"profile",
"signerIdentity"
],
"properties": {
"requestID": {
"$ref": "#/definitions/requestID"
},
"lang": {
"$ref": "#/definitions/lang"
},
"certificates": {
"$ref": "#/definitions/certificates"
},
"certInfo": {
"$ref": "#/definitions/certInfo"
},
"authInfo": {
"$ref": "#/definitions/authInfo"
},
"profile": {
"$ref": "#/definitions/profile"
},
"signerIdentity": {
"$ref": "#/definitions/signerIdentity"
}
}
},
"signing-certificates-list-response": {
"type": "object",
"description": "Profile for signing certificates list response",
"required": [
"error",
"error_description"
],
"properties": {
"error": {
"$ref": "#/definitions/error"
},
"error_description": {
"$ref": "#/definitions/error_description"
},
"policy": {
"$ref": "#/definitions/policy"
},
"responseID": {
"$ref": "#/definitions/responseID"
}
}
},
"certificate-information-retrieval-request": {
"type": "object",
"description": "Profile for certificate information retrieval request",
"required": [
"profile"
],
"properties": {
"requestID": {
"$ref": "#/definitions/requestID"
},
"credentialID": {
"$ref": "#/definitions/credentialID"
},
"lang": {
"$ref": "#/definitions/lang"
},
"certificates": {
"$ref": "#/definitions/certificates"
},
"certInfo": {
"$ref": "#/definitions/certInfo"
},
"authInfo": {
"$ref": "#/definitions/authInfo"
},
"profile": {
"$ref": "#/definitions/profile"
}
}
},
"certificate-information-retrieval-response": {
"type": "object",
"description": "Profile for certificate information retrieval response",
"required": [
"error",
"error_description"
],
"properties": {
"cert": {
"$ref": "#/definitions/cert"
},
"key": {
"$ref": "#/definitions/key"
},
"multisign": {
"$ref": "#/definitions/multisign"
},
"error": {
"$ref": "#/definitions/error"
},
"error_description": {
"$ref": "#/definitions/error_description"
},
"authMode": {
"$ref": "#/definitions/authMode"
},
"SCAL": {
"$ref": "#/definitions/SCAL"
}
}
},
"service-information-request": {
"type": "object",
"description": "Profile for service information request",
"required": [],
"properties": {
"lang": {
"$ref": "#/definitions/lang"
}
}
},
"service-information-response": {
"type": "object",
"description": "Profile for service information response",
"required": [
"error",
"error_description"
],
"properties": {
"description": {
"$ref": "#/definitions/description"
},
"name": {
"$ref": "#/definitions/name"
},
"logo": {
"$ref": "#/definitions/logo"
},
"region": {
"$ref": "#/definitions/region"
},
"protocol": {
"$ref": "#/definitions/protocol"
},
"versions": {
"$ref": "#/definitions/versions"
},
"lang": {
"type": "array",
"description": "List of the supported languages in the service responses, specified according to RFC5646",
"items": {
"$ref": "#/definitions/lang"
}
},
"signaturePolicies": {
"$ref": "#/definitions/signaturePolicies"
},
"servicePolicies": {
"$ref": "#/definitions/servicePolicies"
},
"operationModes": {
"$ref": "#/definitions/operationModes"
},
"authType": {
"$ref": "#/definitions/authType"
},
"signatureFormats": {
"$ref": "#/definitions/signatureFormats"
},
"methods": {
"$ref": "#/definitions/methods"
}
}
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://www.etsi.org/ts19432/v1",
"type": "object",
"description": "The ETSI 119 432 version 1 schema objects",
"required": [],
"properties": {
"signature-request": {
"$ref": "#/definitions/signature-request"
},
"signature-response": {
"$ref": "#/definitions/signature-response"
},
"DSV-creation-request": {
"$ref": "#/definitions/DSV-creation-request"
},
"DSV-creation-response": {
"$ref": "#/definitions/DSV-creation-response"
},
"asynchronous-processing": {
"$ref": "#/definitions/asynchronous-processing"
},
"signing-certificates-list-request": {
"$ref": "#/definitions/signing-certificates-list-request"
},
"signing-certificates-list-response": {
"$ref": "#/definitions/signing-certificates-list-response"
},
"certificate-information-retrieval-request": {
"$ref": "#/definitions/certificate-information-retrieval-request"
},
"certificate-information-retrieval-response": {
"$ref": "#/definitions/certificate-information-retrieval-response"
},
"service-information-request": {
"$ref": "#/definitions/service-information-request"
},
"service-information-response": {
"$ref": "#/definitions/service-information-response"
}
}
}