-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathkmInternal.json
90 lines (90 loc) · 2.31 KB
/
kmInternal.json
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
{
"canon": "0.0.1",
"info": {
"title": "Symphony Key Manager Internal API - Not supported for customer use.",
"license": {
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
}
},
"id": "com.symphony.s2.model.internal.km",
"version": "1.0",
"model": {
"javaGenPackage": "com.symphony.oss.models.internal.km.canon",
"javaFacadePackage": "com.symphony.oss.models.internal.km.canon.facade"
},
"methods": {
"/keys/me": {
"get": {
"tags": [
"Keys"
],
"response": {
"required": true,
"multiple": false,
"schema": {
"$ref": "#/components/schemas/UserKeys"
}
}
}
},
"/keys/entityKey": {
"get": {
"tags": [
"Keys"
],
"response": {
"required": true,
"multiple": false,
"schema": {
"$ref": "#/components/schemas/WrappedEntityKey"
}
}
}
}
},
"components": {
"schemas": {
"UserKeys": {
"type": "object",
"facade": true,
"properties": {
"status": {
"type": "string"
},
"userId": {
"type": "integer",
"format": "int64"
},
"publicKey": {
"$ref": "https://models.oss.symphony.com/crypto.json#/components/schemas/PemPublicKey"
},
"privateKey": {
"$ref": "https://models.oss.symphony.com/crypto.json#/components/schemas/PemPrivateKey"
},
"certificate": {
"$ref": "https://models.oss.symphony.com/crypto.json#/components/schemas/PemCertificate"
},
"publicKeySignature": {
"$ref": "https://models.oss.symphony.com/crypto.json#/components/schemas/EncodedSignature"
},
"privateKeySignature": {
"$ref": "https://models.oss.symphony.com/crypto.json#/components/schemas/EncodedSignature"
}
}
},
"WrappedEntityKey": {
"type": "object",
"facade": false,
"properties": {
"status": {
"type": "string"
},
"entityKey": {
"$ref": "https://models.oss.symphony.com/crypto.json#/components/schemas/WrappedKey"
}
}
}
}
}
}