struct
Matter::Crypto::DNAttributes
- Matter::Crypto::DNAttributes
- Struct
- Value
- Object
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
- TLV::Serializable
Defined in:
matter/crypto/certificate.crConstructors
- .new(any : TLV::Any)
- .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)
Class Method Summary
- .from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
- .from_slice(bytes : Bytes)
- .from_tlv(any : TLV::Any)
Instance Method Summary
- #fabric_id : UInt64 | Nil
- #fabric_id=(fabric_id : UInt64 | Nil)
- #firmware_signing_id : UInt64 | Nil
- #firmware_signing_id=(firmware_signing_id : UInt64 | Nil)
- #icac_id : UInt64 | Nil
- #icac_id=(icac_id : UInt64 | Nil)
- #noc_cat : UInt32 | Nil
- #noc_cat=(noc_cat : UInt32 | Nil)
- #node_id : UInt64 | Nil
- #node_id=(node_id : UInt64 | Nil)
- #rcac_id : UInt64 | Nil
- #rcac_id=(rcac_id : UInt64 | Nil)
- #to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
- #to_slice : Bytes
- #to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Constructor Detail
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)
#
Class Method Detail
Instance Method Detail
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
#