Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLogDcapQuote ¶
func SetLogDcapQuote(logQuote bool)
Types ¶
type Issuer ¶
Issuer is the TDX attestation issuer.
func NewIssuer ¶
func NewIssuer(log attestation.Logger) *Issuer
NewIssuer initializes a new TDX Issuer.
type RemoteIssuer ¶ added in v0.1.8
RemoteIssuer is a TDX attestation issuer that uses a remote quote provider service
func NewRemoteIssuer ¶ added in v0.1.8
func NewRemoteIssuer(config *RemoteQuoteProviderConfig, log attestation.Logger) *RemoteIssuer
NewRemoteIssuer initializes a new TDX Issuer that uses a remote quote provider
type RemoteQuoteProviderConfig ¶ added in v0.1.8
type RemoteQuoteProviderConfig struct {
// BaseURL is the base URL of the remote TDX quote provider service
BaseURL string
// HTTPClient is the HTTP client used to communicate with the remote service
HTTPClient *http.Client
// Timeout is the maximum duration to wait for a response from the remote service
Timeout time.Duration
}
RemoteQuoteProviderConfig holds configuration for the remote TDX quote provider
func DefaultRemoteQuoteProviderConfig ¶ added in v0.1.8
func DefaultRemoteQuoteProviderConfig(url string) *RemoteQuoteProviderConfig
DefaultRemoteQuoteProviderConfig returns a default configuration for the remote TDX quote provider
type Validator ¶
Validator is the TDX attestation validator.
func NewValidator ¶
func NewValidator(cfg *config.QEMUTDX, log attestation.Logger) *Validator
NewValidator initializes a new TDX Validator.
Click to show internal directories.
Click to hide internal directories.