Skip to content

Commit e7ff132

Browse files
authored
Update operational credentials code to match the specifications (project-chip#7500)
* Move trusted root certs to operational credentials cluster * update zap files * Regenerate zap code and move trusted root code to op cred cluster * Send root cert before sending operational certificates * Add support for ICA certificates * fix telink build * fix build after rebase * add comment to describe why 2 certs are being stored * address review comments
1 parent 707a825 commit e7ff132

File tree

98 files changed

+2380
-3735
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+2380
-3735
lines changed

examples/all-clusters-app/all-clusters-common/all-clusters-app.zap

+17-70
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"featureLevel": 29,
2+
"featureLevel": 35,
33
"creator": "zap",
44
"keyValuePairs": [
55
{
@@ -3009,6 +3009,22 @@
30093009
"source": "client",
30103010
"incoming": 1,
30113011
"outgoing": 1
3012+
},
3013+
{
3014+
"name": "AddTrustedRootCertificate",
3015+
"code": 161,
3016+
"mfgCode": null,
3017+
"source": "client",
3018+
"incoming": 1,
3019+
"outgoing": 0
3020+
},
3021+
{
3022+
"name": "RemoveTrustedRootCertificate",
3023+
"code": 162,
3024+
"mfgCode": null,
3025+
"source": "client",
3026+
"incoming": 1,
3027+
"outgoing": 0
30123028
}
30133029
],
30143030
"attributes": [
@@ -3095,75 +3111,6 @@
30953111
}
30963112
]
30973113
},
3098-
{
3099-
"name": "Trusted Root Certificates",
3100-
"code": 63,
3101-
"mfgCode": null,
3102-
"define": "TRUSTED_ROOT_CERTIFICATES_CLUSTER",
3103-
"side": "client",
3104-
"enabled": 0,
3105-
"commands": [
3106-
{
3107-
"name": "AddTrustedRootCertificate",
3108-
"code": 0,
3109-
"mfgCode": null,
3110-
"source": "client",
3111-
"incoming": 1,
3112-
"outgoing": 1
3113-
},
3114-
{
3115-
"name": "RemoveTrustedRootCertificate",
3116-
"code": 1,
3117-
"mfgCode": null,
3118-
"source": "client",
3119-
"incoming": 1,
3120-
"outgoing": 1
3121-
}
3122-
],
3123-
"attributes": [
3124-
{
3125-
"name": "cluster revision",
3126-
"code": 65533,
3127-
"mfgCode": null,
3128-
"side": "client",
3129-
"included": 1,
3130-
"storageOption": "RAM",
3131-
"singleton": 0,
3132-
"bounded": 0,
3133-
"defaultValue": "0x0001",
3134-
"reportable": 0,
3135-
"minInterval": 0,
3136-
"maxInterval": 65344,
3137-
"reportableChange": 0
3138-
}
3139-
]
3140-
},
3141-
{
3142-
"name": "Trusted Root Certificates",
3143-
"code": 63,
3144-
"mfgCode": null,
3145-
"define": "TRUSTED_ROOT_CERTIFICATES_CLUSTER",
3146-
"side": "server",
3147-
"enabled": 1,
3148-
"commands": [],
3149-
"attributes": [
3150-
{
3151-
"name": "cluster revision",
3152-
"code": 65533,
3153-
"mfgCode": null,
3154-
"side": "server",
3155-
"included": 1,
3156-
"storageOption": "RAM",
3157-
"singleton": 0,
3158-
"bounded": 0,
3159-
"defaultValue": "0x0001",
3160-
"reportable": 0,
3161-
"minInterval": 0,
3162-
"maxInterval": 65344,
3163-
"reportableChange": 0
3164-
}
3165-
]
3166-
},
31673114
{
31683115
"name": "Door Lock",
31693116
"code": 257,

0 commit comments

Comments
 (0)