NoiseStateMachine class

Manages state transitions for the Noise XX handshake pattern

Constructors

NoiseStateMachine.new(bool _isInitiator)

Properties

hashCode int
The hash code for this object.
no setterinherited
isComplete bool
Returns true if the handshake is complete
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state XXHandshakeState
Gets the current state
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
transitionAfterRead() → void
Transitions to the next state after a successful read
transitionAfterWrite() → void
Transitions to the next state after a successful write
transitionToError() → void
Transitions to error state
validateRead() → void
Validates if a read operation is allowed in the current state
validateWrite() → void
Validates if a write operation is allowed in the current state

Operators

operator ==(Object other) bool
The equality operator.
inherited