struct Matter::Session::Pase::Definitions::PbkdfParamRequest

Overview

PBKDF Parameter Request message Sent by commissioner to request PBKDF parameters from the device

Included Modules

Defined in:

matter/session/pase/definitions.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : Slice(UInt8)) #

[View source]
def self.new(initiator_random : Slice(UInt8) | Nil = nil, initiator_session_id : UInt16 | Nil = nil, passcode_id : UInt16 | Nil = nil, has_pbkdf_parameters : Bool | Nil = nil, mrp_parameters : Nil | Hash(String | Tuple(Int32 | Nil, Int32) | UInt8 | Nil, TLV::Value) = nil) #

[View source]

Instance Method Detail

def has_pbkdf_parameters : Bool | Nil #

Has PBKDF parameters (optional, tag 4)


[View source]
def has_pbkdf_parameters=(has_pbkdf_parameters : Bool | Nil) #

Has PBKDF parameters (optional, tag 4)


[View source]
def initiator_random : Bytes | Nil #

Initiator random (optional, tag 1)


[View source]
def initiator_random=(initiator_random : Bytes | Nil) #

Initiator random (optional, tag 1)


[View source]
def initiator_session_id : UInt16 | Nil #

Initiator session ID (optional, tag 2)


[View source]
def initiator_session_id=(initiator_session_id : UInt16 | Nil) #

Initiator session ID (optional, tag 2)


[View source]
def mrp_parameters : Hash(String | Tuple(Int32 | Nil, Int32) | UInt8 | Nil, TLV::Value) | Nil #

MRP parameters (optional, tag 5) - we'll store as raw TLV for now


[View source]
def mrp_parameters=(mrp_parameters : Hash(String | Tuple(Int32 | Nil, Int32) | UInt8 | Nil, TLV::Value) | Nil) #

MRP parameters (optional, tag 5) - we'll store as raw TLV for now


[View source]
def passcode_id : UInt16 | Nil #

Passcode ID (optional, tag 3)


[View source]
def passcode_id=(passcode_id : UInt16 | Nil) #

Passcode ID (optional, tag 3)


[View source]
def to_bytes : Bytes #

Encode to TLV bytes


[View source]