class

Matter::Session::Pase::PaseResponder

Inherits Reference < Object

PASE session establishment (responder side - device)

Constructors

from_passcode_verifier(passcode_verifier : Bytes, pbkdf_params : PbkdfParameters = PbkdfParameters.default, crypto : Crypto::CryptoBase = Crypto::StandardCrypto.new, context : Bytes = "CHIP PAKE V1 Commissioning".to_slice) : PaseResponder

Build a responder that uses a pre-computed passcode verifier (w0 || L), as provided via AdministratorCommissioning OpenCommissioningWindow.

The passcode verifier is 97 bytes: w0 (32) + L (65).

Source
new(pin_code : UInt32, pbkdf_params : PbkdfParameters = PbkdfParameters.default, crypto : Crypto::CryptoBase = Crypto::StandardCrypto.new, context : Bytes = "CHIP PAKE V1 Commissioning".to_slice)
Source

Instance methods

context
Source
context=(context : Bytes)
Source
crypto
Source
crypto=(crypto : Crypto::CryptoBase)
Source
derive_session_keys

Derive session keys after successful PASE

Source
generate_pake3

Step 4: Generate confirmation value

Source
initialize_spake

Step 2: Initialize SPAKE2+ with w0 and L

Source
p_b=(p_b : Bytes | Nil)
Source
pbkdf_params
Source
pbkdf_params=(pbkdf_params : PbkdfParameters)
Source
pin_code
Source
pin_code=(pin_code : UInt32)
Source
process_pake1(p_a : Bytes) : Bytes

Step 3: Process pA (initiator's public value) and generate pB

Source
process_pbkdf_param_request(request : Bytes) : Bytes

Step 1: Process PBKDF parameter request and return parameters

Source
secret_and_verifiers
Source
secret_and_verifiers=(secret_and_verifiers : Crypto::Spake2p::SecretAndVerifiers | Nil)
Source
spake
Source
spake=(spake : Crypto::Spake2p | Nil)
Source
w0_l
Source
w0_l=(w0_l : Crypto::Spake2p::W0L | Nil)
Source