Align naming in Operational Credentials cluster with the spec. (#24472)
* Align naming in Operational Credentials cluster with the spec.
* Regenerate generated files.
diff --git a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter
index 1cc0aa7..1b36a25 100644
--- a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter
+++ b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter
@@ -1104,8 +1104,13 @@
}
server cluster OperationalCredentials = 62 {
- enum OperationalCertStatus : ENUM8 {
- kSuccess = 0;
+ enum CertificateChainTypeEnum : ENUM8 {
+ kDACCertificate = 1;
+ kPAICertificate = 2;
+ }
+
+ enum NodeOperationalCertStatusEnum : ENUM8 {
+ kOk = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
kInvalidNOC = 3;
@@ -1123,17 +1128,17 @@
fabric_idx fabricIndex = 254;
}
- fabric_scoped struct FabricDescriptor {
+ fabric_scoped struct FabricDescriptorStruct {
octet_string<65> rootPublicKey = 1;
- vendor_id vendorId = 2;
- fabric_id fabricId = 3;
- node_id nodeId = 4;
+ vendor_id vendorID = 2;
+ fabric_id fabricID = 3;
+ node_id nodeID = 4;
char_string<32> label = 5;
fabric_idx fabricIndex = 254;
}
readonly attribute access(read: administer) NOCStruct NOCs[] = 0;
- readonly attribute FabricDescriptor fabrics[] = 1;
+ readonly attribute FabricDescriptorStruct fabrics[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
@@ -1146,7 +1151,7 @@
}
request struct CertificateChainRequestRequest {
- INT8U certificateType = 0;
+ CertificateChainTypeEnum certificateType = 0;
}
request struct CSRRequestRequest {
@@ -1176,12 +1181,12 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCertificate = 0;
+ OCTET_STRING rootCACertificate = 0;
}
response struct AttestationResponse = 1 {
OCTET_STRING attestationElements = 0;
- OCTET_STRING signature = 1;
+ OCTET_STRING attestationSignature = 1;
}
response struct CertificateChainResponse = 3 {
@@ -1194,7 +1199,7 @@
}
response struct NOCResponse = 8 {
- OperationalCertStatus statusCode = 0;
+ NodeOperationalCertStatusEnum statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}
diff --git a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter
index 1895d3f..41a65b5 100644
--- a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter
+++ b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter
@@ -923,8 +923,13 @@
}
server cluster OperationalCredentials = 62 {
- enum OperationalCertStatus : ENUM8 {
- kSuccess = 0;
+ enum CertificateChainTypeEnum : ENUM8 {
+ kDACCertificate = 1;
+ kPAICertificate = 2;
+ }
+
+ enum NodeOperationalCertStatusEnum : ENUM8 {
+ kOk = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
kInvalidNOC = 3;
@@ -942,17 +947,17 @@
fabric_idx fabricIndex = 254;
}
- fabric_scoped struct FabricDescriptor {
+ fabric_scoped struct FabricDescriptorStruct {
octet_string<65> rootPublicKey = 1;
- vendor_id vendorId = 2;
- fabric_id fabricId = 3;
- node_id nodeId = 4;
+ vendor_id vendorID = 2;
+ fabric_id fabricID = 3;
+ node_id nodeID = 4;
char_string<32> label = 5;
fabric_idx fabricIndex = 254;
}
readonly attribute access(read: administer) NOCStruct NOCs[] = 0;
- readonly attribute FabricDescriptor fabrics[] = 1;
+ readonly attribute FabricDescriptorStruct fabrics[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
@@ -965,7 +970,7 @@
}
request struct CertificateChainRequestRequest {
- INT8U certificateType = 0;
+ CertificateChainTypeEnum certificateType = 0;
}
request struct CSRRequestRequest {
@@ -995,12 +1000,12 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCertificate = 0;
+ OCTET_STRING rootCACertificate = 0;
}
response struct AttestationResponse = 1 {
OCTET_STRING attestationElements = 0;
- OCTET_STRING signature = 1;
+ OCTET_STRING attestationSignature = 1;
}
response struct CertificateChainResponse = 3 {
@@ -1013,7 +1018,7 @@
}
response struct NOCResponse = 8 {
- OperationalCertStatus statusCode = 0;
+ NodeOperationalCertStatusEnum statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}
diff --git a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
index c69ee13..c0273c7 100644
--- a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
+++ b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
@@ -839,8 +839,13 @@
}
server cluster OperationalCredentials = 62 {
- enum OperationalCertStatus : ENUM8 {
- kSuccess = 0;
+ enum CertificateChainTypeEnum : ENUM8 {
+ kDACCertificate = 1;
+ kPAICertificate = 2;
+ }
+
+ enum NodeOperationalCertStatusEnum : ENUM8 {
+ kOk = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
kInvalidNOC = 3;
@@ -858,17 +863,17 @@
fabric_idx fabricIndex = 254;
}
- fabric_scoped struct FabricDescriptor {
+ fabric_scoped struct FabricDescriptorStruct {
octet_string<65> rootPublicKey = 1;
- vendor_id vendorId = 2;
- fabric_id fabricId = 3;
- node_id nodeId = 4;
+ vendor_id vendorID = 2;
+ fabric_id fabricID = 3;
+ node_id nodeID = 4;
char_string<32> label = 5;
fabric_idx fabricIndex = 254;
}
readonly attribute access(read: administer) NOCStruct NOCs[] = 0;
- readonly attribute FabricDescriptor fabrics[] = 1;
+ readonly attribute FabricDescriptorStruct fabrics[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
@@ -881,7 +886,7 @@
}
request struct CertificateChainRequestRequest {
- INT8U certificateType = 0;
+ CertificateChainTypeEnum certificateType = 0;
}
request struct CSRRequestRequest {
@@ -911,12 +916,12 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCertificate = 0;
+ OCTET_STRING rootCACertificate = 0;
}
response struct AttestationResponse = 1 {
OCTET_STRING attestationElements = 0;
- OCTET_STRING signature = 1;
+ OCTET_STRING attestationSignature = 1;
}
response struct CertificateChainResponse = 3 {
@@ -929,7 +934,7 @@
}
response struct NOCResponse = 8 {
- OperationalCertStatus statusCode = 0;
+ NodeOperationalCertStatusEnum statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}
diff --git a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
index 27653cb..dc4e9b8 100644
--- a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
+++ b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
@@ -988,8 +988,13 @@
}
server cluster OperationalCredentials = 62 {
- enum OperationalCertStatus : ENUM8 {
- kSuccess = 0;
+ enum CertificateChainTypeEnum : ENUM8 {
+ kDACCertificate = 1;
+ kPAICertificate = 2;
+ }
+
+ enum NodeOperationalCertStatusEnum : ENUM8 {
+ kOk = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
kInvalidNOC = 3;
@@ -1007,17 +1012,17 @@
fabric_idx fabricIndex = 254;
}
- fabric_scoped struct FabricDescriptor {
+ fabric_scoped struct FabricDescriptorStruct {
octet_string<65> rootPublicKey = 1;
- vendor_id vendorId = 2;
- fabric_id fabricId = 3;
- node_id nodeId = 4;
+ vendor_id vendorID = 2;
+ fabric_id fabricID = 3;
+ node_id nodeID = 4;
char_string<32> label = 5;
fabric_idx fabricIndex = 254;
}
readonly attribute access(read: administer) NOCStruct NOCs[] = 0;
- readonly attribute FabricDescriptor fabrics[] = 1;
+ readonly attribute FabricDescriptorStruct fabrics[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
@@ -1030,7 +1035,7 @@
}
request struct CertificateChainRequestRequest {
- INT8U certificateType = 0;
+ CertificateChainTypeEnum certificateType = 0;
}
request struct CSRRequestRequest {
@@ -1060,12 +1065,12 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCertificate = 0;
+ OCTET_STRING rootCACertificate = 0;
}
response struct AttestationResponse = 1 {
OCTET_STRING attestationElements = 0;
- OCTET_STRING signature = 1;
+ OCTET_STRING attestationSignature = 1;
}
response struct CertificateChainResponse = 3 {
@@ -1078,7 +1083,7 @@
}
response struct NOCResponse = 8 {
- OperationalCertStatus statusCode = 0;
+ NodeOperationalCertStatusEnum statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}
diff --git a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
index ce5e527..56f3be8 100644
--- a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
+++ b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
@@ -839,8 +839,13 @@
}
server cluster OperationalCredentials = 62 {
- enum OperationalCertStatus : ENUM8 {
- kSuccess = 0;
+ enum CertificateChainTypeEnum : ENUM8 {
+ kDACCertificate = 1;
+ kPAICertificate = 2;
+ }
+
+ enum NodeOperationalCertStatusEnum : ENUM8 {
+ kOk = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
kInvalidNOC = 3;
@@ -858,17 +863,17 @@
fabric_idx fabricIndex = 254;
}
- fabric_scoped struct FabricDescriptor {
+ fabric_scoped struct FabricDescriptorStruct {
octet_string<65> rootPublicKey = 1;
- vendor_id vendorId = 2;
- fabric_id fabricId = 3;
- node_id nodeId = 4;
+ vendor_id vendorID = 2;
+ fabric_id fabricID = 3;
+ node_id nodeID = 4;
char_string<32> label = 5;
fabric_idx fabricIndex = 254;
}
readonly attribute access(read: administer) NOCStruct NOCs[] = 0;
- readonly attribute FabricDescriptor fabrics[] = 1;
+ readonly attribute FabricDescriptorStruct fabrics[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
@@ -881,7 +886,7 @@
}
request struct CertificateChainRequestRequest {
- INT8U certificateType = 0;
+ CertificateChainTypeEnum certificateType = 0;
}
request struct CSRRequestRequest {
@@ -911,12 +916,12 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCertificate = 0;
+ OCTET_STRING rootCACertificate = 0;
}
response struct AttestationResponse = 1 {
OCTET_STRING attestationElements = 0;
- OCTET_STRING signature = 1;
+ OCTET_STRING attestationSignature = 1;
}
response struct CertificateChainResponse = 3 {
@@ -929,7 +934,7 @@
}
response struct NOCResponse = 8 {
- OperationalCertStatus statusCode = 0;
+ NodeOperationalCertStatusEnum statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}
diff --git a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter
index 21f185e..235539e 100644
--- a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter
+++ b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter
@@ -988,8 +988,13 @@
}
server cluster OperationalCredentials = 62 {
- enum OperationalCertStatus : ENUM8 {
- kSuccess = 0;
+ enum CertificateChainTypeEnum : ENUM8 {
+ kDACCertificate = 1;
+ kPAICertificate = 2;
+ }
+
+ enum NodeOperationalCertStatusEnum : ENUM8 {
+ kOk = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
kInvalidNOC = 3;
@@ -1007,17 +1012,17 @@
fabric_idx fabricIndex = 254;
}
- fabric_scoped struct FabricDescriptor {
+ fabric_scoped struct FabricDescriptorStruct {
octet_string<65> rootPublicKey = 1;
- vendor_id vendorId = 2;
- fabric_id fabricId = 3;
- node_id nodeId = 4;
+ vendor_id vendorID = 2;
+ fabric_id fabricID = 3;
+ node_id nodeID = 4;
char_string<32> label = 5;
fabric_idx fabricIndex = 254;
}
readonly attribute access(read: administer) NOCStruct NOCs[] = 0;
- readonly attribute FabricDescriptor fabrics[] = 1;
+ readonly attribute FabricDescriptorStruct fabrics[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
@@ -1030,7 +1035,7 @@
}
request struct CertificateChainRequestRequest {
- INT8U certificateType = 0;
+ CertificateChainTypeEnum certificateType = 0;
}
request struct CSRRequestRequest {
@@ -1060,12 +1065,12 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCertificate = 0;
+ OCTET_STRING rootCACertificate = 0;
}
response struct AttestationResponse = 1 {
OCTET_STRING attestationElements = 0;
- OCTET_STRING signature = 1;
+ OCTET_STRING attestationSignature = 1;
}
response struct CertificateChainResponse = 3 {
@@ -1078,7 +1083,7 @@
}
response struct NOCResponse = 8 {
- OperationalCertStatus statusCode = 0;
+ NodeOperationalCertStatusEnum statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}
diff --git a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
index 5458817..9020bec 100644
--- a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
+++ b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
@@ -843,8 +843,13 @@
}
server cluster OperationalCredentials = 62 {
- enum OperationalCertStatus : ENUM8 {
- kSuccess = 0;
+ enum CertificateChainTypeEnum : ENUM8 {
+ kDACCertificate = 1;
+ kPAICertificate = 2;
+ }
+
+ enum NodeOperationalCertStatusEnum : ENUM8 {
+ kOk = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
kInvalidNOC = 3;
@@ -862,17 +867,17 @@
fabric_idx fabricIndex = 254;
}
- fabric_scoped struct FabricDescriptor {
+ fabric_scoped struct FabricDescriptorStruct {
octet_string<65> rootPublicKey = 1;
- vendor_id vendorId = 2;
- fabric_id fabricId = 3;
- node_id nodeId = 4;
+ vendor_id vendorID = 2;
+ fabric_id fabricID = 3;
+ node_id nodeID = 4;
char_string<32> label = 5;
fabric_idx fabricIndex = 254;
}
readonly attribute access(read: administer) NOCStruct NOCs[] = 0;
- readonly attribute FabricDescriptor fabrics[] = 1;
+ readonly attribute FabricDescriptorStruct fabrics[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
@@ -885,7 +890,7 @@
}
request struct CertificateChainRequestRequest {
- INT8U certificateType = 0;
+ CertificateChainTypeEnum certificateType = 0;
}
request struct CSRRequestRequest {
@@ -915,12 +920,12 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCertificate = 0;
+ OCTET_STRING rootCACertificate = 0;
}
response struct AttestationResponse = 1 {
OCTET_STRING attestationElements = 0;
- OCTET_STRING signature = 1;
+ OCTET_STRING attestationSignature = 1;
}
response struct CertificateChainResponse = 3 {
@@ -933,7 +938,7 @@
}
response struct NOCResponse = 8 {
- OperationalCertStatus statusCode = 0;
+ NodeOperationalCertStatusEnum statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}
diff --git a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
index 72618cd..62c4c0b 100644
--- a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
+++ b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
@@ -852,8 +852,13 @@
}
server cluster OperationalCredentials = 62 {
- enum OperationalCertStatus : ENUM8 {
- kSuccess = 0;
+ enum CertificateChainTypeEnum : ENUM8 {
+ kDACCertificate = 1;
+ kPAICertificate = 2;
+ }
+
+ enum NodeOperationalCertStatusEnum : ENUM8 {
+ kOk = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
kInvalidNOC = 3;
@@ -871,17 +876,17 @@
fabric_idx fabricIndex = 254;
}
- fabric_scoped struct FabricDescriptor {
+ fabric_scoped struct FabricDescriptorStruct {
octet_string<65> rootPublicKey = 1;
- vendor_id vendorId = 2;
- fabric_id fabricId = 3;
- node_id nodeId = 4;
+ vendor_id vendorID = 2;
+ fabric_id fabricID = 3;
+ node_id nodeID = 4;
char_string<32> label = 5;
fabric_idx fabricIndex = 254;
}
readonly attribute access(read: administer) NOCStruct NOCs[] = 0;
- readonly attribute FabricDescriptor fabrics[] = 1;
+ readonly attribute FabricDescriptorStruct fabrics[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
@@ -894,7 +899,7 @@
}
request struct CertificateChainRequestRequest {
- INT8U certificateType = 0;
+ CertificateChainTypeEnum certificateType = 0;
}
request struct CSRRequestRequest {
@@ -924,12 +929,12 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCertificate = 0;
+ OCTET_STRING rootCACertificate = 0;
}
response struct AttestationResponse = 1 {
OCTET_STRING attestationElements = 0;
- OCTET_STRING signature = 1;
+ OCTET_STRING attestationSignature = 1;
}
response struct CertificateChainResponse = 3 {
@@ -942,7 +947,7 @@
}
response struct NOCResponse = 8 {
- OperationalCertStatus statusCode = 0;
+ NodeOperationalCertStatusEnum statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}
diff --git a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter
index 48469c8..eb919db 100644
--- a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter
+++ b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter
@@ -981,8 +981,13 @@
}
server cluster OperationalCredentials = 62 {
- enum OperationalCertStatus : ENUM8 {
- kSuccess = 0;
+ enum CertificateChainTypeEnum : ENUM8 {
+ kDACCertificate = 1;
+ kPAICertificate = 2;
+ }
+
+ enum NodeOperationalCertStatusEnum : ENUM8 {
+ kOk = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
kInvalidNOC = 3;
@@ -1000,17 +1005,17 @@
fabric_idx fabricIndex = 254;
}
- fabric_scoped struct FabricDescriptor {
+ fabric_scoped struct FabricDescriptorStruct {
octet_string<65> rootPublicKey = 1;
- vendor_id vendorId = 2;
- fabric_id fabricId = 3;
- node_id nodeId = 4;
+ vendor_id vendorID = 2;
+ fabric_id fabricID = 3;
+ node_id nodeID = 4;
char_string<32> label = 5;
fabric_idx fabricIndex = 254;
}
readonly attribute access(read: administer) NOCStruct NOCs[] = 0;
- readonly attribute FabricDescriptor fabrics[] = 1;
+ readonly attribute FabricDescriptorStruct fabrics[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
@@ -1023,7 +1028,7 @@
}
request struct CertificateChainRequestRequest {
- INT8U certificateType = 0;
+ CertificateChainTypeEnum certificateType = 0;
}
request struct CSRRequestRequest {
@@ -1053,12 +1058,12 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCertificate = 0;
+ OCTET_STRING rootCACertificate = 0;
}
response struct AttestationResponse = 1 {
OCTET_STRING attestationElements = 0;
- OCTET_STRING signature = 1;
+ OCTET_STRING attestationSignature = 1;
}
response struct CertificateChainResponse = 3 {
@@ -1071,7 +1076,7 @@
}
response struct NOCResponse = 8 {
- OperationalCertStatus statusCode = 0;
+ NodeOperationalCertStatusEnum statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}
diff --git a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter
index f265729..0385a52 100644
--- a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter
+++ b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter
@@ -852,8 +852,13 @@
}
server cluster OperationalCredentials = 62 {
- enum OperationalCertStatus : ENUM8 {
- kSuccess = 0;
+ enum CertificateChainTypeEnum : ENUM8 {
+ kDACCertificate = 1;
+ kPAICertificate = 2;
+ }
+
+ enum NodeOperationalCertStatusEnum : ENUM8 {
+ kOk = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
kInvalidNOC = 3;
@@ -871,17 +876,17 @@
fabric_idx fabricIndex = 254;
}
- fabric_scoped struct FabricDescriptor {
+ fabric_scoped struct FabricDescriptorStruct {
octet_string<65> rootPublicKey = 1;
- vendor_id vendorId = 2;
- fabric_id fabricId = 3;
- node_id nodeId = 4;
+ vendor_id vendorID = 2;
+ fabric_id fabricID = 3;
+ node_id nodeID = 4;
char_string<32> label = 5;
fabric_idx fabricIndex = 254;
}
readonly attribute access(read: administer) NOCStruct NOCs[] = 0;
- readonly attribute FabricDescriptor fabrics[] = 1;
+ readonly attribute FabricDescriptorStruct fabrics[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
@@ -894,7 +899,7 @@
}
request struct CertificateChainRequestRequest {
- INT8U certificateType = 0;
+ CertificateChainTypeEnum certificateType = 0;
}
request struct CSRRequestRequest {
@@ -924,12 +929,12 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCertificate = 0;
+ OCTET_STRING rootCACertificate = 0;
}
response struct AttestationResponse = 1 {
OCTET_STRING attestationElements = 0;
- OCTET_STRING signature = 1;
+ OCTET_STRING attestationSignature = 1;
}
response struct CertificateChainResponse = 3 {
@@ -942,7 +947,7 @@
}
response struct NOCResponse = 8 {
- OperationalCertStatus statusCode = 0;
+ NodeOperationalCertStatusEnum statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}
diff --git a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
index db7357e..4679c73 100644
--- a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
+++ b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
@@ -852,8 +852,13 @@
}
server cluster OperationalCredentials = 62 {
- enum OperationalCertStatus : ENUM8 {
- kSuccess = 0;
+ enum CertificateChainTypeEnum : ENUM8 {
+ kDACCertificate = 1;
+ kPAICertificate = 2;
+ }
+
+ enum NodeOperationalCertStatusEnum : ENUM8 {
+ kOk = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
kInvalidNOC = 3;
@@ -871,17 +876,17 @@
fabric_idx fabricIndex = 254;
}
- fabric_scoped struct FabricDescriptor {
+ fabric_scoped struct FabricDescriptorStruct {
octet_string<65> rootPublicKey = 1;
- vendor_id vendorId = 2;
- fabric_id fabricId = 3;
- node_id nodeId = 4;
+ vendor_id vendorID = 2;
+ fabric_id fabricID = 3;
+ node_id nodeID = 4;
char_string<32> label = 5;
fabric_idx fabricIndex = 254;
}
readonly attribute access(read: administer) NOCStruct NOCs[] = 0;
- readonly attribute FabricDescriptor fabrics[] = 1;
+ readonly attribute FabricDescriptorStruct fabrics[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
@@ -894,7 +899,7 @@
}
request struct CertificateChainRequestRequest {
- INT8U certificateType = 0;
+ CertificateChainTypeEnum certificateType = 0;
}
request struct CSRRequestRequest {
@@ -924,12 +929,12 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCertificate = 0;
+ OCTET_STRING rootCACertificate = 0;
}
response struct AttestationResponse = 1 {
OCTET_STRING attestationElements = 0;
- OCTET_STRING signature = 1;
+ OCTET_STRING attestationSignature = 1;
}
response struct CertificateChainResponse = 3 {
@@ -942,7 +947,7 @@
}
response struct NOCResponse = 8 {
- OperationalCertStatus statusCode = 0;
+ NodeOperationalCertStatusEnum statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}
diff --git a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter
index 0be99f3..8e0f664 100644
--- a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter
+++ b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter
@@ -852,8 +852,13 @@
}
server cluster OperationalCredentials = 62 {
- enum OperationalCertStatus : ENUM8 {
- kSuccess = 0;
+ enum CertificateChainTypeEnum : ENUM8 {
+ kDACCertificate = 1;
+ kPAICertificate = 2;
+ }
+
+ enum NodeOperationalCertStatusEnum : ENUM8 {
+ kOk = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
kInvalidNOC = 3;
@@ -871,17 +876,17 @@
fabric_idx fabricIndex = 254;
}
- fabric_scoped struct FabricDescriptor {
+ fabric_scoped struct FabricDescriptorStruct {
octet_string<65> rootPublicKey = 1;
- vendor_id vendorId = 2;
- fabric_id fabricId = 3;
- node_id nodeId = 4;
+ vendor_id vendorID = 2;
+ fabric_id fabricID = 3;
+ node_id nodeID = 4;
char_string<32> label = 5;
fabric_idx fabricIndex = 254;
}
readonly attribute access(read: administer) NOCStruct NOCs[] = 0;
- readonly attribute FabricDescriptor fabrics[] = 1;
+ readonly attribute FabricDescriptorStruct fabrics[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
@@ -894,7 +899,7 @@
}
request struct CertificateChainRequestRequest {
- INT8U certificateType = 0;
+ CertificateChainTypeEnum certificateType = 0;
}
request struct CSRRequestRequest {
@@ -924,12 +929,12 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCertificate = 0;
+ OCTET_STRING rootCACertificate = 0;
}
response struct AttestationResponse = 1 {
OCTET_STRING attestationElements = 0;
- OCTET_STRING signature = 1;
+ OCTET_STRING attestationSignature = 1;
}
response struct CertificateChainResponse = 3 {
@@ -942,7 +947,7 @@
}
response struct NOCResponse = 8 {
- OperationalCertStatus statusCode = 0;
+ NodeOperationalCertStatusEnum statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}
diff --git a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
index 59102bd..6487d82 100644
--- a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
+++ b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
@@ -988,8 +988,13 @@
}
server cluster OperationalCredentials = 62 {
- enum OperationalCertStatus : ENUM8 {
- kSuccess = 0;
+ enum CertificateChainTypeEnum : ENUM8 {
+ kDACCertificate = 1;
+ kPAICertificate = 2;
+ }
+
+ enum NodeOperationalCertStatusEnum : ENUM8 {
+ kOk = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
kInvalidNOC = 3;
@@ -1007,17 +1012,17 @@
fabric_idx fabricIndex = 254;
}
- fabric_scoped struct FabricDescriptor {
+ fabric_scoped struct FabricDescriptorStruct {
octet_string<65> rootPublicKey = 1;
- vendor_id vendorId = 2;
- fabric_id fabricId = 3;
- node_id nodeId = 4;
+ vendor_id vendorID = 2;
+ fabric_id fabricID = 3;
+ node_id nodeID = 4;
char_string<32> label = 5;
fabric_idx fabricIndex = 254;
}
readonly attribute access(read: administer) NOCStruct NOCs[] = 0;
- readonly attribute FabricDescriptor fabrics[] = 1;
+ readonly attribute FabricDescriptorStruct fabrics[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
@@ -1030,7 +1035,7 @@
}
request struct CertificateChainRequestRequest {
- INT8U certificateType = 0;
+ CertificateChainTypeEnum certificateType = 0;
}
request struct CSRRequestRequest {
@@ -1060,12 +1065,12 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCertificate = 0;
+ OCTET_STRING rootCACertificate = 0;
}
response struct AttestationResponse = 1 {
OCTET_STRING attestationElements = 0;
- OCTET_STRING signature = 1;
+ OCTET_STRING attestationSignature = 1;
}
response struct CertificateChainResponse = 3 {
@@ -1078,7 +1083,7 @@
}
response struct NOCResponse = 8 {
- OperationalCertStatus statusCode = 0;
+ NodeOperationalCertStatusEnum statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}
diff --git a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter
index a7784c6..bbdb02e 100644
--- a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter
+++ b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter
@@ -931,8 +931,13 @@
}
server cluster OperationalCredentials = 62 {
- enum OperationalCertStatus : ENUM8 {
- kSuccess = 0;
+ enum CertificateChainTypeEnum : ENUM8 {
+ kDACCertificate = 1;
+ kPAICertificate = 2;
+ }
+
+ enum NodeOperationalCertStatusEnum : ENUM8 {
+ kOk = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
kInvalidNOC = 3;
@@ -950,17 +955,17 @@
fabric_idx fabricIndex = 254;
}
- fabric_scoped struct FabricDescriptor {
+ fabric_scoped struct FabricDescriptorStruct {
octet_string<65> rootPublicKey = 1;
- vendor_id vendorId = 2;
- fabric_id fabricId = 3;
- node_id nodeId = 4;
+ vendor_id vendorID = 2;
+ fabric_id fabricID = 3;
+ node_id nodeID = 4;
char_string<32> label = 5;
fabric_idx fabricIndex = 254;
}
readonly attribute access(read: administer) NOCStruct NOCs[] = 0;
- readonly attribute FabricDescriptor fabrics[] = 1;
+ readonly attribute FabricDescriptorStruct fabrics[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
@@ -973,7 +978,7 @@
}
request struct CertificateChainRequestRequest {
- INT8U certificateType = 0;
+ CertificateChainTypeEnum certificateType = 0;
}
request struct CSRRequestRequest {
@@ -1003,12 +1008,12 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCertificate = 0;
+ OCTET_STRING rootCACertificate = 0;
}
response struct AttestationResponse = 1 {
OCTET_STRING attestationElements = 0;
- OCTET_STRING signature = 1;
+ OCTET_STRING attestationSignature = 1;
}
response struct CertificateChainResponse = 3 {
@@ -1021,7 +1026,7 @@
}
response struct NOCResponse = 8 {
- OperationalCertStatus statusCode = 0;
+ NodeOperationalCertStatusEnum statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}
diff --git a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter
index 2c32faa..0d0be004 100644
--- a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter
+++ b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter
@@ -889,8 +889,13 @@
}
server cluster OperationalCredentials = 62 {
- enum OperationalCertStatus : ENUM8 {
- kSuccess = 0;
+ enum CertificateChainTypeEnum : ENUM8 {
+ kDACCertificate = 1;
+ kPAICertificate = 2;
+ }
+
+ enum NodeOperationalCertStatusEnum : ENUM8 {
+ kOk = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
kInvalidNOC = 3;
@@ -908,17 +913,17 @@
fabric_idx fabricIndex = 254;
}
- fabric_scoped struct FabricDescriptor {
+ fabric_scoped struct FabricDescriptorStruct {
octet_string<65> rootPublicKey = 1;
- vendor_id vendorId = 2;
- fabric_id fabricId = 3;
- node_id nodeId = 4;
+ vendor_id vendorID = 2;
+ fabric_id fabricID = 3;
+ node_id nodeID = 4;
char_string<32> label = 5;
fabric_idx fabricIndex = 254;
}
readonly attribute access(read: administer) NOCStruct NOCs[] = 0;
- readonly attribute FabricDescriptor fabrics[] = 1;
+ readonly attribute FabricDescriptorStruct fabrics[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
@@ -931,7 +936,7 @@
}
request struct CertificateChainRequestRequest {
- INT8U certificateType = 0;
+ CertificateChainTypeEnum certificateType = 0;
}
request struct CSRRequestRequest {
@@ -961,12 +966,12 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCertificate = 0;
+ OCTET_STRING rootCACertificate = 0;
}
response struct AttestationResponse = 1 {
OCTET_STRING attestationElements = 0;
- OCTET_STRING signature = 1;
+ OCTET_STRING attestationSignature = 1;
}
response struct CertificateChainResponse = 3 {
@@ -979,7 +984,7 @@
}
response struct NOCResponse = 8 {
- OperationalCertStatus statusCode = 0;
+ NodeOperationalCertStatusEnum statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}
diff --git a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter
index 1d12e24..92465c4 100644
--- a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter
+++ b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter
@@ -857,8 +857,13 @@
}
server cluster OperationalCredentials = 62 {
- enum OperationalCertStatus : ENUM8 {
- kSuccess = 0;
+ enum CertificateChainTypeEnum : ENUM8 {
+ kDACCertificate = 1;
+ kPAICertificate = 2;
+ }
+
+ enum NodeOperationalCertStatusEnum : ENUM8 {
+ kOk = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
kInvalidNOC = 3;
@@ -876,17 +881,17 @@
fabric_idx fabricIndex = 254;
}
- fabric_scoped struct FabricDescriptor {
+ fabric_scoped struct FabricDescriptorStruct {
octet_string<65> rootPublicKey = 1;
- vendor_id vendorId = 2;
- fabric_id fabricId = 3;
- node_id nodeId = 4;
+ vendor_id vendorID = 2;
+ fabric_id fabricID = 3;
+ node_id nodeID = 4;
char_string<32> label = 5;
fabric_idx fabricIndex = 254;
}
readonly attribute access(read: administer) NOCStruct NOCs[] = 0;
- readonly attribute FabricDescriptor fabrics[] = 1;
+ readonly attribute FabricDescriptorStruct fabrics[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
@@ -899,7 +904,7 @@
}
request struct CertificateChainRequestRequest {
- INT8U certificateType = 0;
+ CertificateChainTypeEnum certificateType = 0;
}
request struct CSRRequestRequest {
@@ -929,12 +934,12 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCertificate = 0;
+ OCTET_STRING rootCACertificate = 0;
}
response struct AttestationResponse = 1 {
OCTET_STRING attestationElements = 0;
- OCTET_STRING signature = 1;
+ OCTET_STRING attestationSignature = 1;
}
response struct CertificateChainResponse = 3 {
@@ -947,7 +952,7 @@
}
response struct NOCResponse = 8 {
- OperationalCertStatus statusCode = 0;
+ NodeOperationalCertStatusEnum statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}
diff --git a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
index 7ae15fd..f215a3a 100644
--- a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
+++ b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
@@ -979,8 +979,13 @@
}
server cluster OperationalCredentials = 62 {
- enum OperationalCertStatus : ENUM8 {
- kSuccess = 0;
+ enum CertificateChainTypeEnum : ENUM8 {
+ kDACCertificate = 1;
+ kPAICertificate = 2;
+ }
+
+ enum NodeOperationalCertStatusEnum : ENUM8 {
+ kOk = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
kInvalidNOC = 3;
@@ -998,17 +1003,17 @@
fabric_idx fabricIndex = 254;
}
- fabric_scoped struct FabricDescriptor {
+ fabric_scoped struct FabricDescriptorStruct {
octet_string<65> rootPublicKey = 1;
- vendor_id vendorId = 2;
- fabric_id fabricId = 3;
- node_id nodeId = 4;
+ vendor_id vendorID = 2;
+ fabric_id fabricID = 3;
+ node_id nodeID = 4;
char_string<32> label = 5;
fabric_idx fabricIndex = 254;
}
readonly attribute access(read: administer) NOCStruct NOCs[] = 0;
- readonly attribute FabricDescriptor fabrics[] = 1;
+ readonly attribute FabricDescriptorStruct fabrics[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
@@ -1021,7 +1026,7 @@
}
request struct CertificateChainRequestRequest {
- INT8U certificateType = 0;
+ CertificateChainTypeEnum certificateType = 0;
}
request struct CSRRequestRequest {
@@ -1051,12 +1056,12 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCertificate = 0;
+ OCTET_STRING rootCACertificate = 0;
}
response struct AttestationResponse = 1 {
OCTET_STRING attestationElements = 0;
- OCTET_STRING signature = 1;
+ OCTET_STRING attestationSignature = 1;
}
response struct CertificateChainResponse = 3 {
@@ -1069,7 +1074,7 @@
}
response struct NOCResponse = 8 {
- OperationalCertStatus statusCode = 0;
+ NodeOperationalCertStatusEnum statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}
diff --git a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter
index 2049ec0..66d1925 100644
--- a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter
+++ b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter
@@ -852,8 +852,13 @@
}
server cluster OperationalCredentials = 62 {
- enum OperationalCertStatus : ENUM8 {
- kSuccess = 0;
+ enum CertificateChainTypeEnum : ENUM8 {
+ kDACCertificate = 1;
+ kPAICertificate = 2;
+ }
+
+ enum NodeOperationalCertStatusEnum : ENUM8 {
+ kOk = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
kInvalidNOC = 3;
@@ -871,17 +876,17 @@
fabric_idx fabricIndex = 254;
}
- fabric_scoped struct FabricDescriptor {
+ fabric_scoped struct FabricDescriptorStruct {
octet_string<65> rootPublicKey = 1;
- vendor_id vendorId = 2;
- fabric_id fabricId = 3;
- node_id nodeId = 4;
+ vendor_id vendorID = 2;
+ fabric_id fabricID = 3;
+ node_id nodeID = 4;
char_string<32> label = 5;
fabric_idx fabricIndex = 254;
}
readonly attribute access(read: administer) NOCStruct NOCs[] = 0;
- readonly attribute FabricDescriptor fabrics[] = 1;
+ readonly attribute FabricDescriptorStruct fabrics[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
@@ -894,7 +899,7 @@
}
request struct CertificateChainRequestRequest {
- INT8U certificateType = 0;
+ CertificateChainTypeEnum certificateType = 0;
}
request struct CSRRequestRequest {
@@ -924,12 +929,12 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCertificate = 0;
+ OCTET_STRING rootCACertificate = 0;
}
response struct AttestationResponse = 1 {
OCTET_STRING attestationElements = 0;
- OCTET_STRING signature = 1;
+ OCTET_STRING attestationSignature = 1;
}
response struct CertificateChainResponse = 3 {
@@ -942,7 +947,7 @@
}
response struct NOCResponse = 8 {
- OperationalCertStatus statusCode = 0;
+ NodeOperationalCertStatusEnum statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}
diff --git a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
index 27132a0..33153dd 100644
--- a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
+++ b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
@@ -839,8 +839,13 @@
}
server cluster OperationalCredentials = 62 {
- enum OperationalCertStatus : ENUM8 {
- kSuccess = 0;
+ enum CertificateChainTypeEnum : ENUM8 {
+ kDACCertificate = 1;
+ kPAICertificate = 2;
+ }
+
+ enum NodeOperationalCertStatusEnum : ENUM8 {
+ kOk = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
kInvalidNOC = 3;
@@ -858,17 +863,17 @@
fabric_idx fabricIndex = 254;
}
- fabric_scoped struct FabricDescriptor {
+ fabric_scoped struct FabricDescriptorStruct {
octet_string<65> rootPublicKey = 1;
- vendor_id vendorId = 2;
- fabric_id fabricId = 3;
- node_id nodeId = 4;
+ vendor_id vendorID = 2;
+ fabric_id fabricID = 3;
+ node_id nodeID = 4;
char_string<32> label = 5;
fabric_idx fabricIndex = 254;
}
readonly attribute access(read: administer) NOCStruct NOCs[] = 0;
- readonly attribute FabricDescriptor fabrics[] = 1;
+ readonly attribute FabricDescriptorStruct fabrics[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
@@ -881,7 +886,7 @@
}
request struct CertificateChainRequestRequest {
- INT8U certificateType = 0;
+ CertificateChainTypeEnum certificateType = 0;
}
request struct CSRRequestRequest {
@@ -911,12 +916,12 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCertificate = 0;
+ OCTET_STRING rootCACertificate = 0;
}
response struct AttestationResponse = 1 {
OCTET_STRING attestationElements = 0;
- OCTET_STRING signature = 1;
+ OCTET_STRING attestationSignature = 1;
}
response struct CertificateChainResponse = 3 {
@@ -929,7 +934,7 @@
}
response struct NOCResponse = 8 {
- OperationalCertStatus statusCode = 0;
+ NodeOperationalCertStatusEnum statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}
diff --git a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter
index 58e6dd7..534b4de 100644
--- a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter
+++ b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter
@@ -839,8 +839,13 @@
}
server cluster OperationalCredentials = 62 {
- enum OperationalCertStatus : ENUM8 {
- kSuccess = 0;
+ enum CertificateChainTypeEnum : ENUM8 {
+ kDACCertificate = 1;
+ kPAICertificate = 2;
+ }
+
+ enum NodeOperationalCertStatusEnum : ENUM8 {
+ kOk = 0;
kInvalidPublicKey = 1;
kInvalidNodeOpId = 2;
kInvalidNOC = 3;
@@ -858,17 +863,17 @@
fabric_idx fabricIndex = 254;
}
- fabric_scoped struct FabricDescriptor {
+ fabric_scoped struct FabricDescriptorStruct {
octet_string<65> rootPublicKey = 1;
- vendor_id vendorId = 2;
- fabric_id fabricId = 3;
- node_id nodeId = 4;
+ vendor_id vendorID = 2;
+ fabric_id fabricID = 3;
+ node_id nodeID = 4;
char_string<32> label = 5;
fabric_idx fabricIndex = 254;
}
readonly attribute access(read: administer) NOCStruct NOCs[] = 0;
- readonly attribute FabricDescriptor fabrics[] = 1;
+ readonly attribute FabricDescriptorStruct fabrics[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
@@ -881,7 +886,7 @@
}
request struct CertificateChainRequestRequest {
- INT8U certificateType = 0;
+ CertificateChainTypeEnum certificateType = 0;
}
request struct CSRRequestRequest {
@@ -911,12 +916,12 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCertificate = 0;
+ OCTET_STRING rootCACertificate = 0;
}
response struct AttestationResponse = 1 {
OCTET_STRING attestationElements = 0;
- OCTET_STRING signature = 1;
+ OCTET_STRING attestationSignature = 1;
}
response struct CertificateChainResponse = 3 {
@@ -929,7 +934,7 @@
}
response struct NOCResponse = 8 {
- OperationalCertStatus statusCode = 0;
+ NodeOperationalCertStatusEnum statusCode = 0;
optional fabric_idx fabricIndex = 1;
optional CHAR_STRING debugText = 2;
}