struct

Matter::Session::Case::Definitions::Sigma2

Inherits TLV::Serializable < Struct < Value < Object

CASE Sigma2 message Sent by responder (device) in response to Sigma1

Constructors

new(responder_random : Bytes, responder_session_id : UInt16, responder_eph_pub_key : Bytes, encrypted2 : Bytes, responder_session_params : SessionParameter | Nil = nil, resumption_id : Bytes | Nil = nil, responder_resume_mic : Bytes | Nil = nil)
Source
new(any : TLV::Any)
Source

Class methods

from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Source
from_slice(bytes : Bytes)
Source
from_tlv(any : TLV::Any)
Source
from_tlv(data : Bytes)
Source

Instance methods

encrypted2

Encrypted responder certificate (tag 4)

Source
encrypted2=(encrypted2 : Bytes)

Encrypted responder certificate (tag 4)

Source
responder_eph_pub_key

Responder's ephemeral public key (65 bytes EC point, tag 3)

Source
responder_eph_pub_key=(responder_eph_pub_key : Bytes)

Responder's ephemeral public key (65 bytes EC point, tag 3)

Source
responder_random

Responder's random value (32 bytes, tag 1)

Source
responder_random=(responder_random : Bytes)

Responder's random value (32 bytes, tag 1)

Source
responder_resume_mic

Optional responder resume MIC (tag 7)

Source
responder_resume_mic=(responder_resume_mic : Bytes | Nil)

Optional responder resume MIC (tag 7)

Source
responder_session_id

Responder's session ID (tag 2)

Source
responder_session_id=(responder_session_id : UInt16)

Responder's session ID (tag 2)

Source
responder_session_params

Optional responder session params (tag 5) - Structure containing session parameters

Source
responder_session_params=(responder_session_params : SessionParameter | Nil)

Optional responder session params (tag 5) - Structure containing session parameters

Source
resumption_id

Optional resumption ID (tag 6)

Source
resumption_id=(resumption_id : Bytes | Nil)

Optional resumption ID (tag 6)

Source
to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Source
to_slice
Source
to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Source