tpm

package
v0.2.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeEK

func EncodeEK(ek *attest.EK) ([]byte, error)

func Get

func Get(cacerts []byte, url string, header http.Header) ([]byte, error)

func GetPubHash

func GetPubHash() (string, error)

func ResolveToken

func ResolveToken(token string) (bool, string, error)

Types

type AttestationData

type AttestationData struct {
	EK []byte
	AK *attest.AttestationParameters
}

type Challenge

type Challenge struct {
	EC *attest.EncryptedCredential
}

type ChallengeResponse

type ChallengeResponse struct {
	Secret []byte
}

type KeyData

type KeyData struct {
	Keys []string `json:"keys"`
}

Jump to

Keyboard shortcuts

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