utils

package
v0.0.0-...-f305c36 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckReport

func CheckReport(report attestation.Report, certBytes, signer, uniqueID []byte) error

func CreateCertificate

func CreateCertificate(serverName string) ([]byte, crypto.PrivateKey, tls.Config)

func HttpGet

func HttpGet(tlsConfig *tls.Config, url string) []byte

func VerifySever

func VerifySever(address string, signer, uniqueID []byte, verifyReport func(reportBytes, certBytes, signer, uniqueID []byte) error) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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