struct
Matter::Session::Case::Definitions::SignedData
- Matter::Session::Case::Definitions::SignedData
- Struct
- Value
- Object
Overview
TLV structure for signed data in Sigma2 Used as input for signature generation
Included Modules
- TLV::Serializable
Defined in:
matter/session/case/definitions.crConstructors
- .new(responder_noc : Bytes, responder_icac : Bytes | Nil, responder_public_key : Bytes, initiator_public_key : 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)
- .from_tlv(data : Bytes)
Instance Method Summary
-
#initiator_public_key : Bytes
Initiator public key (tag 4)
-
#initiator_public_key=(initiator_public_key : Bytes)
Initiator public key (tag 4)
-
#responder_icac : Bytes | Nil
Responder ICAC - optional (tag 2)
-
#responder_icac=(responder_icac : Bytes | Nil)
Responder ICAC - optional (tag 2)
-
#responder_noc : Bytes
Responder NOC (tag 1)
-
#responder_noc=(responder_noc : Bytes)
Responder NOC (tag 1)
-
#responder_public_key : Bytes
Responder public key (tag 3)
-
#responder_public_key=(responder_public_key : Bytes)
Responder public key (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, responder_public_key : Bytes, initiator_public_key : Bytes)
#
Class Method Detail
Instance Method Detail
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
#