Matter::Certificate::CertificationDeclaration::CDContent
Inherits TLV::Serializable < Struct < Value < Object
CD TLV content structure Based on Matter Core Spec section 6.3.1
Constructors
new(format_version : UInt8, vendor_id : UInt16, product_ids : Array(UInt16), device_type_id : UInt32, certificate_id : String, security_level : UInt8, security_information : UInt16, version_number : UInt16, certification_type : UInt8)
Sourcenew(any : TLV::Any)
SourceClass methods
from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Sourcefrom_slice(bytes : Bytes)
Sourcefrom_tlv(any : TLV::Any)
Sourcefrom_tlv(data : Bytes)
SourceInstance methods
certificate_id
Sourcecertificate_id=(certificate_id : String)
Sourcecertification_type
Sourcecertification_type=(certification_type : UInt8)
Sourcedevice_type_id
Sourcedevice_type_id=(device_type_id : UInt32)
Sourceformat_version
Sourceformat_version=(format_version : UInt8)
Sourceproduct_ids
Sourceproduct_ids=(product_ids : Array(UInt16))
Sourcesecurity_information
Sourcesecurity_information=(security_information : UInt16)
Sourcesecurity_level
Sourcesecurity_level=(security_level : UInt8)
Sourceto_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Sourceto_slice
Sourceto_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Sourcevendor_id
Sourcevendor_id=(vendor_id : UInt16)
Sourceversion_number
Sourceversion_number=(version_number : UInt16)
Source