Enum PatternModifiers
Pattern modifiers specify arbitrary extensions or modifications to the behavior specified by the handshake pattern.
Namespace: Noise
Assembly: Noise.dll
Syntax
[Flags]
public enum PatternModifiers
Fields
Name | Description |
---|---|
Fallback | The fallback modifier converts an Alice-initiated pattern to a Bob-initiated pattern by converting Alice's initial message to a pre-message that Bob must receive through some other means (e.g. as the initial field in an initial IK message from Alice). After this conversion, the rest of the handshake pattern is interpreted as a Bob-initiated handshake pattern. |
None | No pattern modifiers were selected. |
Psk0 | The modifier psk0 places a "psk" token at the beginning of the first handshake message. |
Psk1 | The modifier psk1 places a "psk" token at the end of the first handshake message. |
Psk2 | The modifier psk2 places a "psk" token at the end of the second handshake message. |
Psk3 | The modifier psk0 places a "psk" token at the end of the third handshake message. |