client

package
v0.0.0-...-7444359 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateHello

func CreateHello(name string)

func EncryptAppData

func EncryptAppData(data []byte) []byte

func SendApplicationData

func SendApplicationData(data []byte)

func SendChangeCipherSpec

func SendChangeCipherSpec()

func SendHandshakeFinished

func SendHandshakeFinished()

func SendHello

func SendHello(name string)

Types

type ClientHello

type ClientHello struct {
	Rh  []byte
	Hh  []byte
	Cv  []byte
	Cr  []byte
	Sid []byte
	Cs  []byte
	Cm  []byte
	El  []byte
	//----extensions
	Sn  []byte
	Sg  []byte
	Sa  []byte
	Sv  []byte
	Psk []byte
	Ks  []byte
}
var Ch ClientHello

Jump to

Keyboard shortcuts

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