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)
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
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