struct Matter::Certificate::CertificationDeclaration::CDContent

Overview

CD TLV content structure Based on Matter Core Spec section 6.3.1

Included Modules

Defined in:

matter/certificate/certification_declaration.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.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) #

[View source]
def self.new(any : TLV::Any) #

[View source]

Class Method Detail

def self.from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) #

[View source]
def self.from_slice(bytes : Bytes) #

[View source]
def self.from_tlv(any : TLV::Any) #

[View source]

Instance Method Detail

def certificate_id : String #

[View source]
def certificate_id=(certificate_id : String) #

[View source]
def certification_type : UInt8 #

[View source]
def certification_type=(certification_type : UInt8) #

[View source]
def device_type_id : UInt32 #

[View source]
def device_type_id=(device_type_id : UInt32) #

[View source]
def format_version : UInt8 #

[View source]
def format_version=(format_version : UInt8) #

[View source]
def product_ids : Array(UInt16) #

[View source]
def product_ids=(product_ids : Array(UInt16)) #

[View source]
def security_information : UInt16 #

[View source]
def security_information=(security_information : UInt16) #

[View source]
def security_level : UInt8 #

[View source]
def security_level=(security_level : UInt8) #

[View source]
def to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil #

[View source]
def to_slice : Bytes #

[View source]
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any #

[View source]
def vendor_id : UInt16 #

[View source]
def vendor_id=(vendor_id : UInt16) #

[View source]
def version_number : UInt16 #

[View source]
def version_number=(version_number : UInt16) #

[View source]