struct
Matter::Session::Case::Definitions::EncryptedDataSigma3
- Matter::Session::Case::Definitions::EncryptedDataSigma3
- Struct
- Value
- Object
Overview
TLV structure for encrypted data in Sigma3 (TBE_Data3) This structure is decrypted from Sigma3.encrypted3
Included Modules
- TLV::Serializable
Defined in:
matter/session/case/definitions.crConstructors
-
.from_bytes(data : Bytes) : EncryptedDataSigma3
DEPRECATED Use
.from_sliceinstead - .new(responder_noc : Bytes, responder_icac : Bytes | Nil, signature : Bytes)
- .new(any : TLV::Any)
Class Method Summary
- .from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
- .from_slice(bytes : Bytes)
- .from_tlv(any : TLV::Any)
Instance Method Summary
-
#responder_icac : Bytes | Nil
Initiator's ICAC - optional (tag 2)
-
#responder_icac=(responder_icac : Bytes | Nil)
Initiator's ICAC - optional (tag 2)
-
#responder_noc : Bytes
Initiator's NOC (named responder_noc for consistency) (tag 1)
-
#responder_noc=(responder_noc : Bytes)
Initiator's NOC (named responder_noc for consistency) (tag 1)
-
#signature : Bytes
Signature (tag 3)
-
#signature=(signature : Bytes)
Signature (tag 3)
-
#to_bytes : Bytes
DEPRECATED Use
#to_sliceinstead - #to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
- #to_slice : Bytes
- #to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Constructor Detail
def self.new(responder_noc : Bytes, responder_icac : Bytes | Nil, signature : Bytes)
#
Class Method Detail
Instance Method Detail
def responder_noc=(responder_noc : Bytes)
#
Initiator's NOC (named responder_noc for consistency) (tag 1)
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
#