Matter::Session::SecureContext
Inherits Reference < Object
Secure session context holding encryption keys and state
Constructors
Deserialize session from a hash
Instance methods
Session type and fabric association case_session: true for CASE sessions, false for PASE sessions fabric_index: the fabric index for CASE sessions (nil for PASE)
Session type and fabric association case_session: true for CASE sessions, false for PASE sessions fabric_index: the fabric index for CASE sessions (nil for PASE)
Check if session is expired based on idle time
All authenticated Subject IDs for the peer (NodeId + any CATs). Used for AccessControl evaluation (ACL subjects can be Node IDs or CATs).
All authenticated Subject IDs for the peer (NodeId + any CATs). Used for AccessControl evaluation (ACL subjects can be Node IDs or CATs).
Validate received message counter (prevent replay attacks)
Check if a message counter would be accepted (without updating state) Used for pre-checking duplicates before attempting decryption