• API Reference
Show / Hide Table of Contents
  • Noise
    • CipherFunction
    • DhFunction
    • HandshakePattern
    • HandshakeState
    • HashFunction
    • KeyPair
    • MessagePattern
    • PatternModifiers
    • PreMessagePattern
    • Protocol
    • ProtocolConfig
    • Token
    • Transport

Class HandshakePattern

A handshake pattern consists of a pre-message pattern for the initiator, a pre-message pattern for the responder, and a sequence of message patterns for the actual handshake messages.

Inheritance
System.Object
HandshakePattern
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Noise
Assembly: Noise.dll
Syntax
public sealed class HandshakePattern

Fields

| Improve this Doc View Source

IK

IK():

- ← s

- ...

- → e, es, s, ss

- ← e, ee, se

Declaration
public static readonly HandshakePattern IK
Field Value
Type Description
HandshakePattern
| Improve this Doc View Source

IN

IN():

- → e, s

- ← e, ee, se

Declaration
public static readonly HandshakePattern IN
Field Value
Type Description
HandshakePattern
| Improve this Doc View Source

IX

IX():

- → e, s

- ← e, ee, se, s, es

Declaration
public static readonly HandshakePattern IX
Field Value
Type Description
HandshakePattern
| Improve this Doc View Source

K

K():

- → s

- ← s

- ...

- → e, es, ss

Declaration
public static readonly HandshakePattern K
Field Value
Type Description
HandshakePattern
| Improve this Doc View Source

KK

KK():

- → s

- ← s

- ...

- → e, es, ss

- ← e, ee, se

Declaration
public static readonly HandshakePattern KK
Field Value
Type Description
HandshakePattern
| Improve this Doc View Source

KN

KN():

- → s

- ...

- → e

- ← e, ee, se

Declaration
public static readonly HandshakePattern KN
Field Value
Type Description
HandshakePattern
| Improve this Doc View Source

KX

KX():

- → s

- ...

- → e

- ← e, ee, se, s, es

Declaration
public static readonly HandshakePattern KX
Field Value
Type Description
HandshakePattern
| Improve this Doc View Source

N

N():

- ← s

- ...

- → e, es

Declaration
public static readonly HandshakePattern N
Field Value
Type Description
HandshakePattern
| Improve this Doc View Source

NK

NK():

- ← s

- ...

- → e, es

- ← e, ee

Declaration
public static readonly HandshakePattern NK
Field Value
Type Description
HandshakePattern
| Improve this Doc View Source

NN

NN():

- → e

- ← e, ee

Declaration
public static readonly HandshakePattern NN
Field Value
Type Description
HandshakePattern
| Improve this Doc View Source

NX

NX():

- → e

- ← e, ee, s, es

Declaration
public static readonly HandshakePattern NX
Field Value
Type Description
HandshakePattern
| Improve this Doc View Source

X

X():

- ← s

- ...

- → e, es, s, ss

Declaration
public static readonly HandshakePattern X
Field Value
Type Description
HandshakePattern
| Improve this Doc View Source

XK

XK():

- ← s

- ...

- → e, es

- ← e, ee

- → s, se

Declaration
public static readonly HandshakePattern XK
Field Value
Type Description
HandshakePattern
| Improve this Doc View Source

XN

XN():

- → e

- ← e, ee

- → s, se

Declaration
public static readonly HandshakePattern XN
Field Value
Type Description
HandshakePattern
| Improve this Doc View Source

XX

XX():

- → e

- ← e, ee, s, es

- → s, se

Declaration
public static readonly HandshakePattern XX
Field Value
Type Description
HandshakePattern

Properties

| Improve this Doc View Source

Initiator

Gets the pre-message pattern for the initiator.

Declaration
public PreMessagePattern Initiator { get; }
Property Value
Type Description
PreMessagePattern
| Improve this Doc View Source

Name

Gets the name of the handshake pattern.

Declaration
public string Name { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Patterns

Gets the sequence of message patterns for the handshake messages.

Declaration
public IEnumerable<MessagePattern> Patterns { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<MessagePattern>
| Improve this Doc View Source

Responder

Gets the pre-message pattern for the responder.

Declaration
public PreMessagePattern Responder { get; }
Property Value
Type Description
PreMessagePattern
  • Improve this Doc
  • View Source
Back to top Generated by DocFX