struct

Matter::Cluster::Definitions::OperationalCredentials::NOC

Inherits TLV::Serializable < Struct < Value < Object

This encodes a fabric sensitive NOC chain, underpinning a commissioned Operational Identity for a given Node.

Note that the Trusted Root CA Certificate is not included in this structure. The roots are available in the TrustedRootCertificates attribute of the Node Operational Credentials cluster.

Constructors

new(noc : Slice(UInt8), icac : Slice(UInt8) | Nil, fabric_index : UInt8)
Source
new(any : TLV::Any)
Source

Class methods

from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Source
from_slice(bytes : Bytes)
Source
from_tlv(any : TLV::Any)
Source
from_tlv(data : Bytes)
Source

Instance methods

fabric_index
Source
fabric_index=(fabric_index : UInt8)
Source
icac

This field shall contain the ICAC or the struct's associated fabric, encoded using Matter Certificate Encoding. If no ICAC is present in the chain, this field shall be set to null.

Source
icac=(icac : Slice(UInt8) | Nil)

This field shall contain the ICAC or the struct's associated fabric, encoded using Matter Certificate Encoding. If no ICAC is present in the chain, this field shall be set to null.

Source
noc

This field shall contain the NOC for the struct's associated fabric, encoded using Matter Certificate Encoding.

Source
noc=(noc : Slice(UInt8))

This field shall contain the NOC for the struct's associated fabric, encoded using Matter Certificate Encoding.

Source
to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Source
to_slice
Source
to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Source