Matter::Session::Case::CaseInitiator
Inherits Reference < Object
CASE session establishment (initiator side - controller/commissioner)
Constants
Log = ::Log.for("matter.session.case.initiator")
Constructors
new(operational_cert : Bytes, operational_key : Crypto::Key, fabric_id : UInt64, node_id : UInt64, crypto : Crypto::CryptoBase = Crypto::StandardCrypto.new)
SourceInstance methods
crypto
Sourcecrypto=(crypto : Crypto::CryptoBase)
Sourceephemeral_key
Sourceephemeral_key=(ephemeral_key : Crypto::Key | Nil)
Sourcefabric_id
Sourcefabric_id=(fabric_id : UInt64)
Sourcenode_id
Sourcenode_id=(node_id : UInt64)
Sourceoperational_cert
Sourceoperational_cert=(operational_cert : Bytes)
Sourceoperational_key
Sourceoperational_key=(operational_key : Crypto::Key)
Sourcepeer_cert
Sourcepeer_cert=(peer_cert : Bytes | Nil)
Sourcepeer_ephemeral_key
Sourcepeer_ephemeral_key=(peer_ephemeral_key : Bytes | Nil)
Sourceprocess_sigma2(peer_ephemeral_public_key : Bytes, peer_random : Bytes, peer_encrypted_cert : Bytes, peer_session_id : UInt16) : NamedTuple(encrypted_cert: Bytes, signature: Bytes)
Step 2: Process Sigma2 response and generate Sigma3
validate_certificate_chain(trusted_roots : Array(Bytes | OpenSSL::X509::Certificate), intermediate_certs : Array(Bytes | OpenSSL::X509::Certificate) | Nil = nil) : Bool
Validate peer certificate chain against trusted roots
@param trusted_roots Array of trusted root certificates (DER or Certificate objects) @param intermediate_certs Optional array of intermediate certificates @return true if chain is valid, false otherwise
verify_sigma3(signature : Bytes, transcript : Bytes | Nil = nil) : Bool
Verify Sigma3 confirmation