Documentation
¶
Index ¶
- Variables
- func SevSnpGuestDeviceExists() bool
- func SevSnpGuestvTPMExists() bool
- func TDXGuestDeviceExists() bool
- type Config
- type EmptyProvider
- func (e *EmptyProvider) Attestation(teeNonce []byte, vTpmNonce []byte) ([]byte, error)
- func (e *EmptyProvider) AzureAttestationToken(nonce []byte) ([]byte, error)
- func (e *EmptyProvider) TeeAttestation(teeNonce []byte) ([]byte, error)
- func (e *EmptyProvider) VTpmAttestation(vTpmNonce []byte) ([]byte, error)
- type PcrConfig
- type PcrValues
- type PlatformType
- type Provider
- type Verifier
Constants ¶
This section is empty.
Variables ¶
View Source
var AttestationPolicyPath string
Functions ¶
func SevSnpGuestDeviceExists ¶ added in v0.7.0
func SevSnpGuestDeviceExists() bool
func SevSnpGuestvTPMExists ¶ added in v0.7.0
func SevSnpGuestvTPMExists() bool
func TDXGuestDeviceExists ¶ added in v0.7.0
func TDXGuestDeviceExists() bool
Types ¶
type EmptyProvider ¶ added in v0.6.0
type EmptyProvider struct{}
func (*EmptyProvider) Attestation ¶ added in v0.6.0
func (e *EmptyProvider) Attestation(teeNonce []byte, vTpmNonce []byte) ([]byte, error)
func (*EmptyProvider) AzureAttestationToken ¶ added in v0.6.0
func (e *EmptyProvider) AzureAttestationToken(nonce []byte) ([]byte, error)
func (*EmptyProvider) TeeAttestation ¶ added in v0.6.0
func (e *EmptyProvider) TeeAttestation(teeNonce []byte) ([]byte, error)
func (*EmptyProvider) VTpmAttestation ¶ added in v0.6.0
func (e *EmptyProvider) VTpmAttestation(vTpmNonce []byte) ([]byte, error)
type PlatformType ¶ added in v0.6.0
type PlatformType int
const ( SNP PlatformType = iota VTPM SNPvTPM Azure TDX NoCC )
func CCPlatform ¶ added in v0.6.0
func CCPlatform() PlatformType
CCPlatform returns the type of the confidential computing platform.
Click to show internal directories.
Click to hide internal directories.