cert

package
v0.0.0-...-af6fd84 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(host string) (_key, _cert *bytes.Buffer)

func GenerateExchange

func GenerateExchange(privateKey, PublicKey *bytes.Buffer, password []byte, exchangeInfo *ExchangeInfo) []byte

Types

type ExchangeInfo

type ExchangeInfo struct {
	PublicKey   []byte
	ServerId    string
	Timestamp   int64
	UtilVersion string
}

func ExtractExchangeInfo

func ExtractExchangeInfo(password, cypher []byte) *ExchangeInfo

Jump to

Keyboard shortcuts

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