File tree Expand file tree Collapse file tree 1 file changed +41
-1
lines changed Expand file tree Collapse file tree 1 file changed +41
-1
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,26 @@ paths:
51
51
' 200 ' :
52
52
$ref : ' #/components/responses/VerificationResponse'
53
53
54
+ /pkcs12/aliases :
55
+ post :
56
+ tags :
57
+ - Info
58
+ summary : Возвращает список алиасов для ключей.
59
+ requestBody :
60
+ content :
61
+ application/json :
62
+ schema :
63
+ type : object
64
+ properties :
65
+ keys :
66
+ type : array
67
+ minItems : 1
68
+ items :
69
+ $ref : ' #/components/schemas/SignerRequest'
70
+ responses :
71
+ ' 200 ' :
72
+ $ref : ' #/components/responses/AliasesResponse'
73
+
54
74
/x509/info :
55
75
post :
56
76
tags :
@@ -322,6 +342,25 @@ components:
322
342
xml :
323
343
$ref : ' #/components/schemas/SignedXML'
324
344
345
+ AliasesResponse :
346
+ description : Список алиасов для каждого сертификата.
347
+ content :
348
+ application/json :
349
+ schema :
350
+ allOf :
351
+ - $ref : ' #/components/schemas/ResponseStatus'
352
+ - properties :
353
+ aliases :
354
+ type : array
355
+ description : Список алиасов для каждого ключа.
356
+ items :
357
+ type : array
358
+ description : Список алиасов.
359
+ items :
360
+ type : string
361
+ description : Алиас.
362
+ example : e3fe35adda3b45cbea3a3f1ed48f263dc55c556e
363
+
325
364
VerificationResponse :
326
365
description : Результат проверки подписей в XML
327
366
content :
@@ -399,7 +438,8 @@ components:
399
438
SignerAlias :
400
439
type : string
401
440
description : Алиас ключа в хранилище PKCS12
402
- example : e3fe35adda3b45cbea3a3f1ed48f263dc55c556e
441
+ nullable : true
442
+ example : null
403
443
404
444
SignerRequest :
405
445
type : object
You can’t perform that action at this time.
0 commit comments