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

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(any : TLV::Any) #

[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 : Matter::Session::Pase::Definitions::MrpParameters | Nil = nil) #

[View source]

Class Method Detail

def self.from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) #

[View source]
def self.from_slice(bytes : Bytes) #

[View source]
def self.from_tlv(any : TLV::Any) #

[View source]
def self.from_tlv(data : Bytes) #

[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 : MrpParameters | Nil #

MRP parameters (optional, tag 5)


[View source]
def mrp_parameters=(mrp_parameters : MrpParameters | Nil) #

MRP parameters (optional, tag 5)


[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 #

DEPRECATED Use #to_slice instead


[View source]
def to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil #

[View source]
def to_slice : Bytes #

[View source]
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any #

[View source]