Documentation
¶
Index ¶
- Constants
- func AgentID(trustDomain string, pubHash string) string
- func DecodeEK(pemBytes []byte) (*attest.EK, error)
- func EncodeEK(ek *attest.EK) ([]byte, error)
- func GetPubHash(ek *attest.EK) (string, error)
- func OpenTPMSocket(socketPath string) (attest.CommandChannelTPM20, error)
- type AttestationData
- type Challenge
- type ChallengeResponse
- type KeyData
- type SocketChannel
Constants ¶
View Source
const (
PluginName = "tpm"
)
Variables ¶
This section is empty.
Functions ¶
func OpenTPMSocket ¶
func OpenTPMSocket(socketPath string) (attest.CommandChannelTPM20, 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 SocketChannel ¶
func (*SocketChannel) MeasurementLog ¶
func (sc *SocketChannel) MeasurementLog() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.