Matter::Cluster::OperationalCredentialsCluster
Inherits Matter::Cluster::Base < Reference < Object
Operational Credentials Cluster (0x003E)
Functionality to manage operational certificates and fabric membership. This cluster is required for Matter commissioning and fabric management.
Matter Specification: Core 1.4 § 11.17 - Operational Credentials Cluster
Commands:
- AttestationRequest (0x00): Request device attestation
- CertificateChainRequest (0x02): Request DAC/PAI certificate
- CSRRequest (0x04): Request Certificate Signing Request for NOC
- AddNOC (0x06): Add a Node Operational Certificate
- UpdateNOC (0x07): Update existing NOC
- UpdateFabricLabel (0x09): Update fabric label
- RemoveFabric (0x0A): Remove a fabric
- AddTrustedRootCertificate (0x0B): Add trusted root CA cert
Attributes:
- NOCs (0x00): List of NOC certificates
- Fabrics (0x01): List of fabric descriptors
- SupportedFabrics (0x02): Maximum supported fabrics
- CommissionedFabrics (0x03): Current number of fabrics
- TrustedRootCertificates (0x04): List of trusted root certs
- CurrentFabricIndex (0x05): Fabric index of current session
Constants
Attributes
Commands
Constructors
Overload for tests that pass fabric_table and acl_cluster directly
Class methods
Operational Credentials Cluster (0x003E)
Functionality to manage operational certificates and fabric membership. This cluster is required for Matter commissioning and fabric management.
Matter Specification: Core 1.4 § 11.17 - Operational Credentials Cluster
Commands:
- AttestationRequest (0x00): Request device attestation
- CertificateChainRequest (0x02): Request DAC/PAI certificate
- CSRRequest (0x04): Request Certificate Signing Request for NOC
- AddNOC (0x06): Add a Node Operational Certificate
- UpdateNOC (0x07): Update existing NOC
- UpdateFabricLabel (0x09): Update fabric label
- RemoveFabric (0x0A): Remove a fabric
- AddTrustedRootCertificate (0x0B): Add trusted root CA cert
Attributes:
- NOCs (0x00): List of NOC certificates
- Fabrics (0x01): List of fabric descriptors
- SupportedFabrics (0x02): Maximum supported fabrics
- CommissionedFabrics (0x03): Current number of fabrics
- TrustedRootCertificates (0x04): List of trusted root certs
- CurrentFabricIndex (0x05): Fabric index of current session
Instance methods
CurrentFabricIndex helper method (returns passed value or stored value)
Alias for session_fabric_index to match base Cluster interface The base Cluster.invoke_command sets fabric_index= from the session
Get fabric descriptor by index (for tests)
AddNOC command (0x06) Add a Node Operational Certificate (commission into a fabric)
AddTrustedRootCertificate command (0x0B) Add a trusted root CA certificate
AttestationRequest command (0x00) Request device attestation during commissioning
CertificateChainRequest command (0x02) Request DAC or PAI certificate
CSRRequest command (0x04) Generate a Certificate Signing Request for NOC
RemoveFabric command (0x0A) Remove a fabric from the device
UpdateFabricLabel command (0x09) Update the label of a fabric
UpdateNOC command (0x07) Update an existing NOC certificate
NOCs attribute (0x00) - Fabric-scoped list of NOC certificates NOCs attribute for specific fabric (0x00)
New failsafe armed - reset context for new commissioning session This is called by GeneralCommissioning when a new failsafe is created. It ensures that state from a previous commissioning session (like noc_added_or_updated) doesn't interfere with the new session.
CurrentFabricIndex attribute (0x05) - Fabric index from session context
Restore a root certificate from persisted fabric data Called during device startup to restore TrustedRootCertificates
Configure device attestation credentials Should be called during device initialization with factory credentials
Initialize attestation from certificate manager Generates DAC and PAI certificates for the specified vendor/product
TrustedRootCertificates attribute (0x04) - List of trusted root certs
Write an attribute value
Nested types
- Matter::Cluster::OperationalCredentialsCluster::AddNOCCommand
- Matter::Cluster::OperationalCredentialsCluster::AddTrustedRootCertificateCommand
- Matter::Cluster::OperationalCredentialsCluster::AttestationElements
- Matter::Cluster::OperationalCredentialsCluster::AttestationRequestCommand
- Matter::Cluster::OperationalCredentialsCluster::AttestationResponse
- Matter::Cluster::OperationalCredentialsCluster::CSRElements
- Matter::Cluster::OperationalCredentialsCluster::CSRRequestCommand
- Matter::Cluster::OperationalCredentialsCluster::CSRResponse
- Matter::Cluster::OperationalCredentialsCluster::CertificateChainRequestCommand
- Matter::Cluster::OperationalCredentialsCluster::CertificateChainResponse
- Matter::Cluster::OperationalCredentialsCluster::CertificateChainType
- Matter::Cluster::OperationalCredentialsCluster::FabricDescriptorStruct
- Matter::Cluster::OperationalCredentialsCluster::FailsafeContext
- Matter::Cluster::OperationalCredentialsCluster::NOCResponse
- Matter::Cluster::OperationalCredentialsCluster::NOCStruct
- Matter::Cluster::OperationalCredentialsCluster::NodeOperationalCertStatus
- Matter::Cluster::OperationalCredentialsCluster::RemoveFabricCommand
- Matter::Cluster::OperationalCredentialsCluster::UpdateFabricLabelCommand
- Matter::Cluster::OperationalCredentialsCluster::UpdateNOCCommand