messages

package
v0.0.0-...-5301c9a Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttestationParameters

type AttestationParameters struct {
	Public                  []byte `json:"public"`
	UseTCSDActivationFormat bool   `json:"use_tcsd_activation_format"`
	CreateData              []byte `json:"create_data"`
	CreateAttestation       []byte `json:"create_attestation"`
	CreateSignature         []byte `json:"create_signature"`
}

type CertificationParameters

type CertificationParameters struct {
	Public            []byte
	CreateData        []byte
	CreateAttestation []byte
	CreateSignature   []byte
}

type ChallengeProof

type ChallengeProof struct {
	ChallengeID             string                  `json:"challenge_id"`
	Secret                  []byte                  `json:"secret"`
	CertificationParameters CertificationParameters `json:"certification_parameters"`
	RoleARN                 string                  `json:"role_arn"`
}

type ChallengeResponse

type ChallengeResponse struct {
	ChallengeID string `json:"challenge_id"`
	Credential  []byte `json:"credential"`
	Secret      []byte `json:"secret"`
}

type Credentials

type Credentials struct {
	Credentials *sts.Credentials `json:"credentials"`
	Region      string           `json:"region"`
}

type RequestChallenge

type RequestChallenge struct {
	TPMVersion            int                   `json:"tpm_version"`
	EndorsementKeyPem     string                `json:"endorsement_key"`
	AttestationParameters AttestationParameters `json:"attestation_parameters"`
}

Jump to

Keyboard shortcuts

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