-
Notifications
You must be signed in to change notification settings - Fork 0
DiscoNet.Noise.Enums
Fasjeit edited this page Aug 17, 2018
·
2 revisions
Types of Noise handhske patterns
public enum DiscoNet.Noise.Enums.NoiseHandshakeType
: Enum, IComparable, IFormattable, IConvertible
Enum
Value | Name | Summary |
---|---|---|
0 |
Unknown | Unknown token |
1 |
NoiseN | Noise_N is a one-way pattern where a client can send data to a server with a known static key. The server can only receive data and cannot reply back. |
2 |
NoiseK | Noise_K is a one-way pattern where a client can send data to a server with a known static key. The server can only receive data and cannot reply back. The server authenticates the client via a known key. |
3 |
NoiseX | Noise_X is a one-way pattern where a client can send data to a server with a known static key. The server can only receive data and cannot reply back. The server authenticates the client via a key transmitted as part of the handshake. |
4 |
NoiseKK | Noise_KK is a pattern where both the client static key and the server static key are known. |
5 |
NoiseNX | Noise_NX is a "HTTPS"-like pattern where the client is not authenticated, and the static public key of the server is transmitted during the handshake. It is the responsability of the client to validate the received key properly. |
6 |
NoiseNK | Noise_NK is a "Public Key Pinning"-like pattern where the client is not authenticated, and the static public key of the server is already known. |
7 |
NoiseXX | Noise_XX is a pattern where both static keys are transmitted. It is the responsability of the server and of the client to validate the received keys properly. |
8 |
NoiseKX | Not documented |
9 |
NoiseXK | Not documented |
10 |
NoiseIK | Not documented |
11 |
NoiseIX | Not documented |
12 |
NoiseNNpsk2 | Not documented |
13 |
NoiseNN | Not implemented |
14 |
NoiseKN | Not implemented |
15 |
NoiseXN | Not implemented |
16 |
NoiseIN | Not implemented |
Noise tokens
public enum DiscoNet.Noise.Enums.Tokens
: Enum, IComparable, IFormattable, IConvertible
Enum
Value | Name | Summary |
---|---|---|
0 |
TokenE | Token e |
1 |
TokenS | Token s |
2 |
TokenES | Token es |
3 |
TokenSE | Token se |
4 |
TokenSS | Token ss |
5 |
TokenEE | Token ee |
6 |
TokenPsk | Token psk |