struct
Matter::Session::Pase::Definitions::PbkdfParamResponse
- Matter::Session::Pase::Definitions::PbkdfParamResponse
- Struct
- Value
- Object
Overview
PBKDF Parameter Response message Sent by device in response to PbkdfParamRequest
Included Modules
- TLV::Serializable
Defined in:
matter/session/pase/definitions.crConstructors
- .new(initiator_random : Bytes, responder_random : Bytes, responder_session_id : UInt16, pbkdf_parameters : PbkdfParametersTLV | Nil = nil, mrp_parameters : MrpParameters | Nil = nil)
-
.new(initiator_random : Bytes, responder_random : Bytes, responder_session_id : UInt16, iterations : UInt32, salt : Bytes)
Convenience constructor with iterations and salt directly
- .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_random : Bytes
Initiator random (echo from request, tag 1)
-
#initiator_random=(initiator_random : Bytes)
Initiator random (echo from request, tag 1)
-
#mrp_parameters : MrpParameters | Nil
MRP parameters (optional, tag 5)
-
#mrp_parameters=(mrp_parameters : MrpParameters | Nil)
MRP parameters (optional, tag 5)
-
#pbkdf_parameters : PbkdfParametersTLV | Nil
PBKDF parameters (nested structure, optional, tag 4)
-
#pbkdf_parameters=(pbkdf_parameters : PbkdfParametersTLV | Nil)
PBKDF parameters (nested structure, optional, tag 4)
-
#responder_random : Bytes
Responder random (new 32-byte random, tag 2)
-
#responder_random=(responder_random : Bytes)
Responder random (new 32-byte random, tag 2)
-
#responder_session_id : UInt16
Responder session ID (tag 3)
-
#responder_session_id=(responder_session_id : UInt16)
Responder session ID (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(initiator_random : Bytes, responder_random : Bytes, responder_session_id : UInt16, pbkdf_parameters : PbkdfParametersTLV | Nil = nil, mrp_parameters : MrpParameters | Nil = nil)
#
def self.new(initiator_random : Bytes, responder_random : Bytes, responder_session_id : UInt16, iterations : UInt32, salt : Bytes)
#
Convenience constructor with iterations and salt directly
Class Method Detail
Instance Method Detail
def pbkdf_parameters : PbkdfParametersTLV | Nil
#
PBKDF parameters (nested structure, optional, tag 4)
def pbkdf_parameters=(pbkdf_parameters : PbkdfParametersTLV | Nil)
#
PBKDF parameters (nested structure, optional, tag 4)
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
#