struct Matter::Crypto::DNAttributes

Overview

Distinguished Name (DN) attributes for certificate subject/issuer These appear as context-tagged elements within a LIST (not Structure) Matter uses TLV List format for DN attributes

Included Modules

Defined in:

matter/crypto/certificate.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(any : TLV::Any) #

[View source]
def self.new(node_id : UInt64 | Nil = nil, fabric_id : UInt64 | Nil = nil, icac_id : UInt64 | Nil = nil, rcac_id : UInt64 | Nil = nil, firmware_signing_id : UInt64 | Nil = nil, noc_cat : UInt32 | Nil = nil) #

[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 fabric_id : UInt64 | Nil #

[View source]
def fabric_id=(fabric_id : UInt64 | Nil) #

[View source]
def firmware_signing_id : UInt64 | Nil #

[View source]
def firmware_signing_id=(firmware_signing_id : UInt64 | Nil) #

[View source]
def icac_id : UInt64 | Nil #

[View source]
def icac_id=(icac_id : UInt64 | Nil) #

[View source]
def noc_cat : UInt32 | Nil #

[View source]
def noc_cat=(noc_cat : UInt32 | Nil) #

[View source]
def node_id : UInt64 | Nil #

[View source]
def node_id=(node_id : UInt64 | Nil) #

[View source]
def rcac_id : UInt64 | Nil #

[View source]
def rcac_id=(rcac_id : UInt64 | Nil) #

[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]