-
Notifications
You must be signed in to change notification settings - Fork 2
/
config-enrollee.schema.json
93 lines (93 loc) · 3.7 KB
/
config-enrollee.schema.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
91
92
93
{
"$id": "https://developer.microsoft.com/wifi-ztp/ztpd/config-enrollee.schema.json",
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"title": "ztpd enrollee configuration.",
"description": "ztpd Device Provisioning Protocol (DPP) enrollee role configuration.",
"default": {},
"examples": [
{
"bootstrap.info": {
"type": "qrcode",
"keyId": "0x81000009",
"engineId": "tpm2tss",
"enginePath": "/usr/lib/x86_64-linux-gnu/engines-1.1/libtpm2tss.so"
}
}
],
"required": [
"bootstrap.info"
],
"properties": {
"bootstrap.info": {
"$id": "#/properties/bootstrap.info",
"default": {},
"description": "Device provisioning protocol bootstrapping information.",
"examples": [
{
"type": "qrcode",
"keyId": "0x81000009",
"engineId": "tpm2tss",
"enginePath": "/usr/lib/x86_64-linux-gnu/engines-1.1/libtpm2tss.so"
}
],
"required": [
"type",
"keyId",
"engineId",
"enginePath"
],
"title": "Device Provisioning Protocol (DPP) bootstrapping information.",
"type": "object",
"properties": {
"type": {
"$id": "#/properties/bootstrap.info/properties/type",
"default": "",
"description": "Device Provisioning Protocol (DPP) bootstrapping method.",
"enum": [
"qrcode",
"pkex",
"nfc",
"bluetooth",
"cloud"
],
"examples": [
"qrcode"
],
"title": "Device Provisioning Protocol (DPP) bootstrapping type.",
"type": "string"
},
"keyId": {
"$id": "#/properties/bootstrap.info/properties/keyId",
"default": "",
"description": "A unique identifier for the device provisioning protocol bootstrapping key as it is represented in the configured OpenSSL engine. OpenSSL egnines may have specific key encoding rules and so the value format is specific to the engine being used.",
"examples": [
"0x81000009"
],
"title": "OpenSSL bootstrapping key identifier.",
"type": "string"
},
"engineId": {
"$id": "#/properties/bootstrap.info/properties/engineId",
"default": "",
"description": "The OpenSSL engine (name) to use for device provisioning protocol bootstrapping private key operations.",
"examples": [
"tpm2tss"
],
"title": "OpenSSL engine identifier.",
"type": "string"
},
"enginePath": {
"$id": "#/properties/bootstrap.info/properties/enginePath",
"default": "",
"description": "The absolute path to the OpenSSL engine shared object.",
"examples": [
"/usr/lib/x86_64-linux-gnu/engines-1.1/libtpm2tss.so"
],
"title": "OpenSSL engine shared object path.",
"type": "string"
}
}
}
}
}