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)
Sourcenew(any : TLV::Any)
SourceClass methods
from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Sourcefrom_slice(bytes : Bytes)
Sourcefrom_tlv(any : TLV::Any)
Sourcefrom_tlv(data : Bytes)
SourceInstance methods
responder_eph_pub_key=(responder_eph_pub_key : Bytes)
Responder's ephemeral public key (65 bytes EC point, tag 3)
responder_resume_mic=(responder_resume_mic : Bytes | Nil)
Optional responder resume MIC (tag 7)
responder_session_params
Optional responder session params (tag 5) - Structure containing session parameters
responder_session_params=(responder_session_params : SessionParameter | Nil)
Optional responder session params (tag 5) - Structure containing session parameters
to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Sourceto_slice
Sourceto_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Source