diff --git a/examples/air-purifier-app/air-purifier-common/air-purifier-app.matter b/examples/air-purifier-app/air-purifier-common/air-purifier-app.matter index f82745976b5f70..d210cebb350c3a 100644 --- a/examples/air-purifier-app/air-purifier-common/air-purifier-app.matter +++ b/examples/air-purifier-app/air-purifier-common/air-purifier-app.matter @@ -836,7 +836,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -844,14 +844,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -874,12 +874,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -890,7 +890,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matter b/examples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matter index 032dbbe7c26d2b..757daa911b73e7 100644 --- a/examples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matter +++ b/examples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matter @@ -1103,7 +1103,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1111,14 +1111,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1141,12 +1141,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1157,7 +1157,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter index 818ae5bb5e831a..0e5e992f2a80d8 100644 --- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter +++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter @@ -2268,7 +2268,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -2276,14 +2276,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -2306,12 +2306,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -2322,7 +2322,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter index ac2225d1ef30cb..dca5447c74ece8 100644 --- a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter +++ b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter @@ -1878,7 +1878,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1886,14 +1886,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1916,12 +1916,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1932,7 +1932,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/bridge-app/bridge-common/bridge-app.matter b/examples/bridge-app/bridge-common/bridge-app.matter index 3fb3ad1098657a..2e5edabc01249d 100644 --- a/examples/bridge-app/bridge-common/bridge-app.matter +++ b/examples/bridge-app/bridge-common/bridge-app.matter @@ -1460,7 +1460,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1468,14 +1468,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1498,12 +1498,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1514,7 +1514,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter index c6530ebd74bd0b..9122d0776bde85 100644 --- a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter +++ b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter @@ -1285,7 +1285,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1293,14 +1293,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1323,12 +1323,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1339,7 +1339,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matter b/examples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matter index fcd2e9524a1f7b..fc5295bf533e44 100644 --- a/examples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matter +++ b/examples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matter @@ -756,7 +756,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -764,14 +764,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -794,12 +794,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -810,7 +810,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter b/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter index fed80ee6a4c088..f0586b4412dc61 100644 --- a/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter +++ b/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter @@ -919,7 +919,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -927,14 +927,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -957,12 +957,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -973,7 +973,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter b/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter index 0d7a34db5a73cd..c1f34dfec009da 100644 --- a/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter +++ b/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter @@ -924,7 +924,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -932,14 +932,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -962,12 +962,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -978,7 +978,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter index 1785abe0718d04..c94c88d292bb1b 100644 --- a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter +++ b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter @@ -1101,7 +1101,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1109,14 +1109,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1139,12 +1139,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1155,7 +1155,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter index a1368474e20d04..a5e95aa3724459 100644 --- a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter +++ b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter @@ -1007,7 +1007,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1015,14 +1015,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1045,12 +1045,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1061,7 +1061,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter index 94497ea9517999..a3b3a03ff7d084 100644 --- a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter +++ b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter @@ -1157,7 +1157,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1165,14 +1165,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1195,12 +1195,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1211,7 +1211,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_dishwasher_cc105034fe.matter b/examples/chef/devices/rootnode_dishwasher_cc105034fe.matter index bcf10370da4989..d762a94ba1f721 100644 --- a/examples/chef/devices/rootnode_dishwasher_cc105034fe.matter +++ b/examples/chef/devices/rootnode_dishwasher_cc105034fe.matter @@ -802,7 +802,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -810,14 +810,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -840,12 +840,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -856,7 +856,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter index 94537055c7bfa4..c47f66f299dd04 100644 --- a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter +++ b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter @@ -1007,7 +1007,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1015,14 +1015,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1045,12 +1045,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1061,7 +1061,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter index 1d213db26a0bf1..c633c224718dd7 100644 --- a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter +++ b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter @@ -1157,7 +1157,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1165,14 +1165,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1195,12 +1195,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1211,7 +1211,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter index 649d845d2cedd7..bdaa7cf53f05f1 100644 --- a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter +++ b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter @@ -994,7 +994,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1002,14 +1002,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1032,12 +1032,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1048,7 +1048,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter index 4572534ad53621..5fe7d7dd1b78d4 100644 --- a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter +++ b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter @@ -1013,7 +1013,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1021,14 +1021,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1051,12 +1051,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1067,7 +1067,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_genericswitch_9866e35d0b.matter b/examples/chef/devices/rootnode_genericswitch_9866e35d0b.matter index c3459693bcf57b..3305b751649ce5 100644 --- a/examples/chef/devices/rootnode_genericswitch_9866e35d0b.matter +++ b/examples/chef/devices/rootnode_genericswitch_9866e35d0b.matter @@ -739,7 +739,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -747,14 +747,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -777,12 +777,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -793,7 +793,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter index 456ffdd0022833..2d71bc7ead0b2e 100644 --- a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter +++ b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter @@ -1151,7 +1151,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1159,14 +1159,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1189,12 +1189,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1205,7 +1205,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter index 4de43fc8c67207..aa56178ebd3882 100644 --- a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter +++ b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter @@ -1013,7 +1013,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1021,14 +1021,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1051,12 +1051,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1067,7 +1067,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_laundrywasher_fb10d238c8.matter b/examples/chef/devices/rootnode_laundrywasher_fb10d238c8.matter index 91083daf90c449..8dbae5065b0756 100644 --- a/examples/chef/devices/rootnode_laundrywasher_fb10d238c8.matter +++ b/examples/chef/devices/rootnode_laundrywasher_fb10d238c8.matter @@ -802,7 +802,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -810,14 +810,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -840,12 +840,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -856,7 +856,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter index 58af6be5dacaa0..2616596fe6e398 100644 --- a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter +++ b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter @@ -1013,7 +1013,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1021,14 +1021,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1051,12 +1051,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1067,7 +1067,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter index 298803acb4842b..b8e8679827989d 100644 --- a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter +++ b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter @@ -1013,7 +1013,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1021,14 +1021,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1051,12 +1051,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1067,7 +1067,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter index 2ad1a8a8395b82..43832bbd05b10a 100644 --- a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter +++ b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter @@ -1157,7 +1157,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1165,14 +1165,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1195,12 +1195,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1211,7 +1211,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_onofflight_samplemei.matter b/examples/chef/devices/rootnode_onofflight_samplemei.matter index f119f510914456..c8e86599111235 100644 --- a/examples/chef/devices/rootnode_onofflight_samplemei.matter +++ b/examples/chef/devices/rootnode_onofflight_samplemei.matter @@ -1157,7 +1157,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1165,14 +1165,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1195,12 +1195,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1211,7 +1211,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter index c47c0ff2178ab6..6715aca6c31645 100644 --- a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter +++ b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter @@ -1121,7 +1121,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1129,14 +1129,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1159,12 +1159,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1175,7 +1175,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter index 3fe9884671f64a..154c09b088284e 100644 --- a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter +++ b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter @@ -1056,7 +1056,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1064,14 +1064,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1094,12 +1094,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1110,7 +1110,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter index c16b6fc6a441f1..cb5100556ae8ea 100644 --- a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter +++ b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter @@ -1013,7 +1013,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1021,14 +1021,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1051,12 +1051,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1067,7 +1067,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_pump_5f904818cc.matter b/examples/chef/devices/rootnode_pump_5f904818cc.matter index d1422b6307504c..fc8f6d32e6a6c8 100644 --- a/examples/chef/devices/rootnode_pump_5f904818cc.matter +++ b/examples/chef/devices/rootnode_pump_5f904818cc.matter @@ -758,7 +758,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -766,14 +766,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -796,12 +796,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -812,7 +812,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_pump_a811bb33a0.matter b/examples/chef/devices/rootnode_pump_a811bb33a0.matter index 39f5ef1a9769d9..7f814f43e64f10 100644 --- a/examples/chef/devices/rootnode_pump_a811bb33a0.matter +++ b/examples/chef/devices/rootnode_pump_a811bb33a0.matter @@ -758,7 +758,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -766,14 +766,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -796,12 +796,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -812,7 +812,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matter b/examples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matter index f31c4cdbf57406..3479c924b2a5db 100644 --- a/examples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matter +++ b/examples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matter @@ -802,7 +802,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -810,14 +810,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -840,12 +840,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -856,7 +856,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matter b/examples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matter index b85baa83661958..ab6ae185cb21dc 100644 --- a/examples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matter +++ b/examples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matter @@ -756,7 +756,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -764,14 +764,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -794,12 +794,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -810,7 +810,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter b/examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter index ec3b0ebc2ab633..cb0b194a489307 100644 --- a/examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter +++ b/examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter @@ -801,7 +801,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -809,14 +809,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -839,12 +839,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -855,7 +855,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter b/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter index d202497a28e0ee..1ff0419a1af95d 100644 --- a/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter +++ b/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter @@ -988,7 +988,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -996,14 +996,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1026,12 +1026,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1042,7 +1042,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter index ee7ff1b79b7891..a9543c16f40ff4 100644 --- a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter +++ b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter @@ -1082,7 +1082,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1090,14 +1090,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1120,12 +1120,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1136,7 +1136,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter index a8748e38982e24..82b38670997e4f 100644 --- a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter +++ b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter @@ -1013,7 +1013,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1021,14 +1021,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1051,12 +1051,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1067,7 +1067,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter index 1759c382206b3a..a6c5f4c54d06bc 100644 --- a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter +++ b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter @@ -1007,7 +1007,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1015,14 +1015,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1045,12 +1045,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1061,7 +1061,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter index 1ba5b2d9d35021..3047f73f5a54bb 100644 --- a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter +++ b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter @@ -1007,7 +1007,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1015,14 +1015,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1045,12 +1045,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1061,7 +1061,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter index 286d0943178c3c..190d78c9c05892 100644 --- a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter +++ b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter @@ -1270,7 +1270,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1278,14 +1278,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1308,12 +1308,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1324,7 +1324,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/dishwasher-app/dishwasher-common/dishwasher-app.matter b/examples/dishwasher-app/dishwasher-common/dishwasher-app.matter index cbfef17a9af063..3ed55a9ed4b283 100644 --- a/examples/dishwasher-app/dishwasher-common/dishwasher-app.matter +++ b/examples/dishwasher-app/dishwasher-common/dishwasher-app.matter @@ -890,7 +890,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -898,14 +898,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -928,12 +928,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -944,7 +944,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/light-switch-app/light-switch-common/light-switch-app.matter b/examples/light-switch-app/light-switch-common/light-switch-app.matter index eb236fc027f126..8a7c646fdf7dad 100644 --- a/examples/light-switch-app/light-switch-common/light-switch-app.matter +++ b/examples/light-switch-app/light-switch-common/light-switch-app.matter @@ -1776,7 +1776,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1784,14 +1784,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1814,12 +1814,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1830,7 +1830,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter b/examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter index e49cf70fe9ebc8..320d90679f6c9b 100644 --- a/examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter +++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter @@ -1203,7 +1203,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1211,14 +1211,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1241,12 +1241,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1257,7 +1257,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter b/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter index e66503d6af8c9b..14275388158fb2 100644 --- a/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter +++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter @@ -1326,7 +1326,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1334,14 +1334,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1364,12 +1364,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1380,7 +1380,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter b/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter index 6e05bea7ee5e59..532d346f6fc1fc 100644 --- a/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter +++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter @@ -1236,7 +1236,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1244,14 +1244,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1274,12 +1274,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1290,7 +1290,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/lighting-app/lighting-common/lighting-app.matter b/examples/lighting-app/lighting-common/lighting-app.matter index 9c80cb25f6e38d..e69c91577158ca 100644 --- a/examples/lighting-app/lighting-common/lighting-app.matter +++ b/examples/lighting-app/lighting-common/lighting-app.matter @@ -1640,7 +1640,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1648,14 +1648,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1678,12 +1678,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1694,7 +1694,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/lighting-app/nxp/zap/lighting-on-off.matter b/examples/lighting-app/nxp/zap/lighting-on-off.matter index a3b640bec36a33..8cf9aaefc7f49c 100644 --- a/examples/lighting-app/nxp/zap/lighting-on-off.matter +++ b/examples/lighting-app/nxp/zap/lighting-on-off.matter @@ -1200,7 +1200,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1208,14 +1208,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1238,12 +1238,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1254,7 +1254,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/lighting-app/qpg/zap/light.matter b/examples/lighting-app/qpg/zap/light.matter index e70cc6d81deac9..0f1c6d97ce4561 100644 --- a/examples/lighting-app/qpg/zap/light.matter +++ b/examples/lighting-app/qpg/zap/light.matter @@ -1266,7 +1266,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1274,14 +1274,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1304,12 +1304,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1320,7 +1320,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/lighting-app/silabs/data_model/lighting-thread-app.matter b/examples/lighting-app/silabs/data_model/lighting-thread-app.matter index 7fba724a460eac..7c500008381e80 100644 --- a/examples/lighting-app/silabs/data_model/lighting-thread-app.matter +++ b/examples/lighting-app/silabs/data_model/lighting-thread-app.matter @@ -1732,7 +1732,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1740,14 +1740,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1770,12 +1770,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1786,7 +1786,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter b/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter index 7a76484abf4fa3..96787523fa0d33 100644 --- a/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter +++ b/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter @@ -1622,7 +1622,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1630,14 +1630,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1660,12 +1660,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1676,7 +1676,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/lock-app/lock-common/lock-app.matter b/examples/lock-app/lock-common/lock-app.matter index a406d82ab875c5..7f8b6d004493db 100644 --- a/examples/lock-app/lock-common/lock-app.matter +++ b/examples/lock-app/lock-common/lock-app.matter @@ -1507,7 +1507,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1515,14 +1515,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1545,12 +1545,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1561,7 +1561,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/lock-app/nxp/zap/lock-app.matter b/examples/lock-app/nxp/zap/lock-app.matter index b0b78a78d95ffc..1020b464b61a4d 100644 --- a/examples/lock-app/nxp/zap/lock-app.matter +++ b/examples/lock-app/nxp/zap/lock-app.matter @@ -818,7 +818,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -826,14 +826,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -856,12 +856,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -872,7 +872,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/lock-app/qpg/zap/lock.matter b/examples/lock-app/qpg/zap/lock.matter index b195e0e68c1cbc..3e953684c4ca5f 100644 --- a/examples/lock-app/qpg/zap/lock.matter +++ b/examples/lock-app/qpg/zap/lock.matter @@ -1099,7 +1099,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1107,14 +1107,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1137,12 +1137,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1153,7 +1153,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/log-source-app/log-source-common/log-source-app.matter b/examples/log-source-app/log-source-common/log-source-app.matter index df7f7fe64beaef..207575f2e08c50 100644 --- a/examples/log-source-app/log-source-common/log-source-app.matter +++ b/examples/log-source-app/log-source-common/log-source-app.matter @@ -367,7 +367,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -375,14 +375,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -400,12 +400,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -416,7 +416,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter b/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter index 10737bfd5a1bfe..f06772b7d23f79 100644 --- a/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter +++ b/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter @@ -803,7 +803,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -811,14 +811,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -841,12 +841,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -857,7 +857,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter index fa22896c19fc20..cadac4c45ea769 100644 --- a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter +++ b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter @@ -986,7 +986,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -994,14 +994,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1024,12 +1024,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1040,7 +1040,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/placeholder/linux/apps/app1/config.matter b/examples/placeholder/linux/apps/app1/config.matter index 45d3d97e0c5383..119e2b6eba63d1 100644 --- a/examples/placeholder/linux/apps/app1/config.matter +++ b/examples/placeholder/linux/apps/app1/config.matter @@ -2441,12 +2441,12 @@ client cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } request struct CertificateChainRequestRequest { @@ -2454,11 +2454,11 @@ client cluster OperationalCredentials = 62 { } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } @@ -2468,9 +2468,9 @@ client cluster OperationalCredentials = 62 { } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -2483,7 +2483,7 @@ client cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } request struct UpdateFabricLabelRequest { @@ -2565,7 +2565,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -2573,14 +2573,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -2603,12 +2603,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -2619,7 +2619,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/placeholder/linux/apps/app2/config.matter b/examples/placeholder/linux/apps/app2/config.matter index 597a4142603e0c..0fd6a2c6d0c1b2 100644 --- a/examples/placeholder/linux/apps/app2/config.matter +++ b/examples/placeholder/linux/apps/app2/config.matter @@ -2400,12 +2400,12 @@ client cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } request struct CertificateChainRequestRequest { @@ -2413,11 +2413,11 @@ client cluster OperationalCredentials = 62 { } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } @@ -2427,9 +2427,9 @@ client cluster OperationalCredentials = 62 { } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -2442,7 +2442,7 @@ client cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } request struct UpdateFabricLabelRequest { @@ -2524,7 +2524,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -2532,14 +2532,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -2562,12 +2562,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -2578,7 +2578,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/pump-app/pump-common/pump-app.matter b/examples/pump-app/pump-common/pump-app.matter index 6f2564240c2e86..b73ddb2d490f40 100644 --- a/examples/pump-app/pump-common/pump-app.matter +++ b/examples/pump-app/pump-common/pump-app.matter @@ -1058,7 +1058,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1066,14 +1066,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1096,12 +1096,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1112,7 +1112,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/pump-app/silabs/data_model/pump-thread-app.matter b/examples/pump-app/silabs/data_model/pump-thread-app.matter index ecff28c2b3f874..1738d10a837777 100644 --- a/examples/pump-app/silabs/data_model/pump-thread-app.matter +++ b/examples/pump-app/silabs/data_model/pump-thread-app.matter @@ -1058,7 +1058,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1066,14 +1066,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1096,12 +1096,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1112,7 +1112,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/pump-app/silabs/data_model/pump-wifi-app.matter b/examples/pump-app/silabs/data_model/pump-wifi-app.matter index ecff28c2b3f874..1738d10a837777 100644 --- a/examples/pump-app/silabs/data_model/pump-wifi-app.matter +++ b/examples/pump-app/silabs/data_model/pump-wifi-app.matter @@ -1058,7 +1058,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1066,14 +1066,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1096,12 +1096,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1112,7 +1112,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter b/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter index 8e772d50f88fb8..0f95bb9b2ac941 100644 --- a/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter +++ b/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter @@ -983,7 +983,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -991,14 +991,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1021,12 +1021,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1037,7 +1037,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/refrigerator-app/refrigerator-common/refrigerator-app.matter b/examples/refrigerator-app/refrigerator-common/refrigerator-app.matter index 38c1f5042b6363..90aec364488d93 100644 --- a/examples/refrigerator-app/refrigerator-common/refrigerator-app.matter +++ b/examples/refrigerator-app/refrigerator-common/refrigerator-app.matter @@ -757,7 +757,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -765,14 +765,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -795,12 +795,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -811,7 +811,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/resource-monitoring-app/resource-monitoring-common/resource-monitoring-app.matter b/examples/resource-monitoring-app/resource-monitoring-common/resource-monitoring-app.matter index 478a98e2976219..10a315c77baa95 100644 --- a/examples/resource-monitoring-app/resource-monitoring-common/resource-monitoring-app.matter +++ b/examples/resource-monitoring-app/resource-monitoring-common/resource-monitoring-app.matter @@ -1322,7 +1322,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1330,14 +1330,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1360,12 +1360,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1376,7 +1376,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/rvc-app/rvc-common/rvc-app.matter b/examples/rvc-app/rvc-common/rvc-app.matter index 2b09d5cd27e3d9..4822febc1d0239 100644 --- a/examples/rvc-app/rvc-common/rvc-app.matter +++ b/examples/rvc-app/rvc-common/rvc-app.matter @@ -687,7 +687,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -695,14 +695,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -725,12 +725,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -741,7 +741,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matter b/examples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matter index b1f953f847ecfa..d6d288d445433c 100644 --- a/examples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matter +++ b/examples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matter @@ -1389,7 +1389,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1397,14 +1397,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1427,12 +1427,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1443,7 +1443,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter b/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter index e4411dc96ff263..ad188caf841c77 100644 --- a/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter +++ b/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter @@ -854,7 +854,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -862,14 +862,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -892,12 +892,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -908,7 +908,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/thermostat/nxp/zap/thermostat_matter_thread.matter b/examples/thermostat/nxp/zap/thermostat_matter_thread.matter index 7ce046e5c72fc2..88b3c1b390f486 100644 --- a/examples/thermostat/nxp/zap/thermostat_matter_thread.matter +++ b/examples/thermostat/nxp/zap/thermostat_matter_thread.matter @@ -1524,7 +1524,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1532,14 +1532,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1562,12 +1562,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1578,7 +1578,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/thermostat/nxp/zap/thermostat_matter_wifi.matter b/examples/thermostat/nxp/zap/thermostat_matter_wifi.matter index 52de8d4d2f25d6..5b9518590b59c4 100644 --- a/examples/thermostat/nxp/zap/thermostat_matter_wifi.matter +++ b/examples/thermostat/nxp/zap/thermostat_matter_wifi.matter @@ -1433,7 +1433,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1441,14 +1441,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1471,12 +1471,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1487,7 +1487,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/thermostat/thermostat-common/thermostat.matter b/examples/thermostat/thermostat-common/thermostat.matter index 9da24508679c42..1c8eb24f2e4dfe 100644 --- a/examples/thermostat/thermostat-common/thermostat.matter +++ b/examples/thermostat/thermostat-common/thermostat.matter @@ -1357,7 +1357,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1365,14 +1365,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1395,12 +1395,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1411,7 +1411,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/tv-app/tv-common/tv-app.matter b/examples/tv-app/tv-common/tv-app.matter index 6f987a961de244..3f80e94dd80635 100644 --- a/examples/tv-app/tv-common/tv-app.matter +++ b/examples/tv-app/tv-common/tv-app.matter @@ -1510,12 +1510,12 @@ client cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } request struct CertificateChainRequestRequest { @@ -1523,11 +1523,11 @@ client cluster OperationalCredentials = 62 { } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } @@ -1537,9 +1537,9 @@ client cluster OperationalCredentials = 62 { } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1552,7 +1552,7 @@ client cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } request struct UpdateFabricLabelRequest { @@ -1634,7 +1634,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1642,14 +1642,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1672,12 +1672,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1688,7 +1688,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter index 57b5751770c639..02fcda0cfd0cab 100644 --- a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter +++ b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter @@ -1190,7 +1190,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1198,14 +1198,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1228,12 +1228,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1244,7 +1244,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/virtual-device-app/virtual-device-common/virtual-device-app.matter b/examples/virtual-device-app/virtual-device-common/virtual-device-app.matter index 2d6d9c13d74b5c..4f934ebe6de8c8 100644 --- a/examples/virtual-device-app/virtual-device-common/virtual-device-app.matter +++ b/examples/virtual-device-app/virtual-device-common/virtual-device-app.matter @@ -1645,7 +1645,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1653,14 +1653,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1683,12 +1683,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1699,7 +1699,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/window-app/common/window-app.matter b/examples/window-app/common/window-app.matter index 9ca68b8aad1419..7108c8045a2cc2 100644 --- a/examples/window-app/common/window-app.matter +++ b/examples/window-app/common/window-app.matter @@ -1489,7 +1489,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1497,14 +1497,14 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -1527,12 +1527,12 @@ server cluster OperationalCredentials = 62 { } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } response struct CSRResponse = 5 { @@ -1543,7 +1543,7 @@ server cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/src/app/zap-templates/zcl/data-model/chip/operational-credentials-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/operational-credentials-cluster.xml index 0590efbe501263..d79cbb845c7827 100644 --- a/src/app/zap-templates/zcl/data-model/chip/operational-credentials-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/operational-credentials-cluster.xml @@ -71,14 +71,14 @@ limitations under the License. Sender is requesting attestation information from the receiver. - + An attestation information confirmation from the server. - - + + @@ -89,12 +89,12 @@ limitations under the License. A device attestation certificate (DAC) or product attestation intermediate (PAI) certificate from the server. - + Sender is requesting a certificate signing request (CSR) from the receiver. - + @@ -108,9 +108,9 @@ limitations under the License. Sender is requesting to add the new node operational certificates. - - - + + + @@ -127,7 +127,7 @@ limitations under the License. Response to AddNOC or UpdateNOC commands. - + diff --git a/src/controller/data_model/controller-clusters.matter b/src/controller/data_model/controller-clusters.matter index 213eb39c8ba56a..38db3098172601 100644 --- a/src/controller/data_model/controller-clusters.matter +++ b/src/controller/data_model/controller-clusters.matter @@ -2490,12 +2490,12 @@ client cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - octet_string attestationNonce = 0; + octet_string<32> attestationNonce = 0; } response struct AttestationResponse = 1 { - octet_string attestationElements = 0; - octet_string attestationSignature = 1; + octet_string<900> attestationElements = 0; + octet_string<64> attestationSignature = 1; } request struct CertificateChainRequestRequest { @@ -2503,11 +2503,11 @@ client cluster OperationalCredentials = 62 { } response struct CertificateChainResponse = 3 { - octet_string certificate = 0; + octet_string<600> certificate = 0; } request struct CSRRequestRequest { - octet_string CSRNonce = 0; + octet_string<32> CSRNonce = 0; optional boolean isForUpdateNOC = 1; } @@ -2517,9 +2517,9 @@ client cluster OperationalCredentials = 62 { } request struct AddNOCRequest { - octet_string NOCValue = 0; - optional octet_string ICACValue = 1; - octet_string IPKValue = 2; + octet_string<400> NOCValue = 0; + optional octet_string<400> ICACValue = 1; + octet_string<16> IPKValue = 2; int64u caseAdminSubject = 3; vendor_id adminVendorId = 4; } @@ -2532,7 +2532,7 @@ client cluster OperationalCredentials = 62 { response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional char_string debugText = 2; + optional char_string<128> debugText = 2; } request struct UpdateFabricLabelRequest {