Skip to content

Commit b9e4caf

Browse files
Add VID Verification commands to ZAP XML
Regen Zap
1 parent 08535fd commit b9e4caf

File tree

1 file changed

+30
-4
lines changed

1 file changed

+30
-4
lines changed

src/app/zap-templates/zcl/data-model/chip/operational-credentials-cluster.xml

+30-4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ limitations under the License.
2424
<item fieldId="3" name="FabricID" type="fabric_id"/>
2525
<item fieldId="4" name="NodeID" type="node_id"/>
2626
<item fieldId="5" name="Label" type="char_string" length="32"/>
27+
<item fieldId="6" name="VidVerificationStatement" type="octet_string" optional="true" length="85"/>
2728
</struct>
2829

2930
<enum name="NodeOperationalCertStatusEnum" type="enum8">
@@ -42,8 +43,9 @@ limitations under the License.
4243

4344
<struct name="NOCStruct" isFabricScoped="true">
4445
<cluster code="0x003E"/>
45-
<item fieldId="1" name="NOC" type="octet_string" isFabricSensitive="true"/>
46-
<item fieldId="2" name="ICAC" type="octet_string" isNullable="true" isFabricSensitive="true"/>
46+
<item fieldId="1" name="NOC" type="octet_string"/>
47+
<item fieldId="2" name="ICAC" type="octet_string" isNullable="true"/>
48+
<item fieldId="3" name="VVSC" type="octet_string" optional="true"/>
4749
</struct>
4850

4951
<enum name="CertificateChainTypeEnum" type="enum8">
@@ -114,7 +116,6 @@ limitations under the License.
114116
<mandatoryConform/>
115117
</command>
116118

117-
<!-- TODO: Fix to match chip-spec:#3346 -->
118119
<command source="server" code="0x05" name="CSRResponse" optional="false">
119120
<description>A certificate signing request (CSR) from the server.</description>
120121
<arg name="NOCSRElements" type="octet_string"/>
@@ -158,7 +159,7 @@ limitations under the License.
158159

159160
<command source="client" code="0x0a" name="RemoveFabric" response="NOCResponse" optional="false">
160161
<description>This command is used by Administrative Nodes to remove a given fabric index and delete all associated fabric-scoped data.</description>
161-
<arg name="FabricIndex" type="fabric_idx"/>
162+
<arg id="0" name="FabricIndex" type="fabric_idx"/>
162163
<access op="invoke" privilege="administer"/>
163164
<mandatoryConform/>
164165
</command>
@@ -169,5 +170,30 @@ limitations under the License.
169170
<access op="invoke" privilege="administer"/>
170171
<mandatoryConform/>
171172
</command>
173+
174+
<command source="client" code="0x0c" name="SetVidVerificationStatement" isFabricScoped="true" optional="false" apiMaturity="provisional">
175+
<description>This command SHALL be used to update any of the accessing fabric's associated VendorID, VidVerificatioNStatement or VVSC (Vendor Verification Signing Certificate).</description>
176+
<arg id="0" name="VendorID" type="vendor_id" optional="true"/>
177+
<arg id="1" name="VidVerificationStatement" type="octet_string" optional="true"/>
178+
<arg id="2" name="VVSC" type="octet_string" optional="true"/>
179+
<access op="invoke" privilege="administer"/>
180+
<mandatoryConform/>
181+
</command>
182+
183+
<command source="client" code="0x0d" name="SignVidVerificationRequest" response="SignVidVerificationResponse" optional="false" apiMaturity="provisional">
184+
<description>This command SHALL be used to request that the server authenticate the fabric associated with the FabricIndex given.</description>
185+
<arg id="0" name="FabricIndex" type="fabric_idx" min="1" max="254"/>
186+
<arg id="1" name="ClientChallenge" type="octet_string" length="32"/>
187+
<access op="invoke" privilege="administer"/>
188+
<mandatoryConform/>
189+
</command>
190+
191+
<command source="server" code="0x0e" name="SignVidVerificationResponse" optional="false" apiMaturity="provisional">
192+
<description>This command SHALL contain the response of the SignVidVerificationRequest.</description>
193+
<arg id="0" name="FabricIndex" type="fabric_idx" min="1" max="254"/>
194+
<arg id="1" name="FabricBindingVersion" type="int8u" min="1" max="255"/>
195+
<arg id="2" name="Signature" type="octet_string"/>
196+
<mandatoryConform/>
197+
</command>
172198
</cluster>
173199
</configurator>

0 commit comments

Comments
 (0)