struct Matter::Session::Pase::Definitions::Pake2

Overview

PASE Pake2 message Sent by device with their public key (pB) and confirmation (cB)

Included Modules

Defined in:

matter/session/pase/definitions.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(y : Bytes, verifier : Bytes) #

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

[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 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]
def verifier : Bytes #

Device's confirmation value (cB, h_bx)


[View source]
def verifier=(verifier : Bytes) #

Device's confirmation value (cB, h_bx)


[View source]
def y : Bytes #

Device's public key (Y value, pB)


[View source]
def y=(y : Bytes) #

Device's public key (Y value, pB)


[View source]