handshake

package
v0.0.0-...-fa48a8f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SharedKey = "ecdh.shared_key"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtocolECDH

type ProtocolECDH struct{}

func NewECDH

func NewECDH() ProtocolECDH

func (ProtocolECDH) Client

func (ProtocolECDH) Client(
	info noise.Info, ctx context.Context, auth string, conn net.Conn,
) (net.Conn, error)

func (ProtocolECDH) Server

func (ProtocolECDH) Server(info noise.Info, conn net.Conn) (net.Conn, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL