Documentation
¶
Index ¶
- func SevSnpGuestDeviceExists() bool
- func SevSnpGuestvTPMExists() bool
- func TDXGuestDeviceExists() bool
- 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 PlatformType
- type Provider
- type Verifier
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SevSnpGuestDeviceExists ¶
func SevSnpGuestDeviceExists() bool
func SevSnpGuestvTPMExists ¶
func SevSnpGuestvTPMExists() bool
func TDXGuestDeviceExists ¶
func TDXGuestDeviceExists() bool
Types ¶
type EmptyProvider ¶
type EmptyProvider struct{}
func (*EmptyProvider) Attestation ¶
func (e *EmptyProvider) Attestation(teeNonce []byte, vTpmNonce []byte) ([]byte, error)
func (*EmptyProvider) AzureAttestationToken ¶
func (e *EmptyProvider) AzureAttestationToken(nonce []byte) ([]byte, error)
func (*EmptyProvider) TeeAttestation ¶
func (e *EmptyProvider) TeeAttestation(teeNonce []byte) ([]byte, error)
func (*EmptyProvider) VTpmAttestation ¶
func (e *EmptyProvider) VTpmAttestation(vTpmNonce []byte) ([]byte, error)
type PlatformType ¶
type PlatformType int
const ( SNP PlatformType = iota VTPM SNPvTPM Azure TDX NoCC )
func CCPlatform ¶
func CCPlatform() PlatformType
CCPlatform returns the type of the confidential computing platform.
Click to show internal directories.
Click to hide internal directories.