struct

Matter::Session::Case::Definitions::EncryptedDataSigma2

Inherits TLV::Serializable < Struct < Value < Object

TLV structure for encrypted data in Sigma2 This structure is TLV-encoded, then encrypted

Constructors

new(responder_noc : Bytes, responder_icac : Bytes | Nil, signature : Bytes, resumption_id : Bytes)
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

responder_icac

Responder ICAC - optional (tag 2)

Source
responder_icac=(responder_icac : Bytes | Nil)

Responder ICAC - optional (tag 2)

Source
responder_noc

Responder NOC (tag 1)

Source
responder_noc=(responder_noc : Bytes)

Responder NOC (tag 1)

Source
resumption_id

Resumption ID (tag 4)

Source
resumption_id=(resumption_id : Bytes)

Resumption ID (tag 4)

Source
signature

Signature (tag 3)

Source
signature=(signature : Bytes)

Signature (tag 3)

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