struct Matter::Session::Case::Definitions::EncryptedDataSigma3

Overview

TLV structure for encrypted data in Sigma3 (TBE_Data3) This structure is decrypted from Sigma3.encrypted3

Included Modules

Defined in:

matter/session/case/definitions.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.from_bytes(data : Bytes) : EncryptedDataSigma3 #

DEPRECATED Use .from_slice instead


[View source]
def self.new(responder_noc : Bytes, responder_icac : Bytes | Nil, signature : Bytes) #

[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 responder_icac : Bytes | Nil #

Initiator's ICAC - optional (tag 2)


[View source]
def responder_icac=(responder_icac : Bytes | Nil) #

Initiator's ICAC - optional (tag 2)


[View source]
def responder_noc : Bytes #

Initiator's NOC (named responder_noc for consistency) (tag 1)


[View source]
def responder_noc=(responder_noc : Bytes) #

Initiator's NOC (named responder_noc for consistency) (tag 1)


[View source]
def signature : Bytes #

Signature (tag 3)


[View source]
def signature=(signature : Bytes) #

Signature (tag 3)


[View source]
def to_bytes : Bytes #

DEPRECATED Use #to_slice instead


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