pcs

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2025 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is an HTTP client for Intel Provisioning Certificate Service

func NewClient

func NewClient(apiKey, baseURL string) *Client

NewClient creates a new Intel PCS client

func (*Client) GetCRL

func (c *Client) GetCRL(crlURL string) (*Response, error)

GetCRL retrieves a CRL from a specific URL

func (*Client) GetEnclaveIdentity

func (c *Client) GetEnclaveIdentity(id, requestVersion, updateType string) (*Response, error)

GetEnclaveIdentity retrieves enclave identity (QE, QVE, or TDQE)

func (*Client) GetPCKCRL

func (c *Client) GetPCKCRL(ca string) (*Response, error)

GetPCKCRL retrieves PCK CRL

func (*Client) GetPCKCerts

func (c *Client) GetPCKCerts(encPPID, pceID string) (*Response, error)

GetPCKCerts retrieves all PCK certificates for a platform

func (*Client) GetPCKCertsWithManifest

func (c *Client) GetPCKCertsWithManifest(platformManifest, pceID string) (*Response, error)

GetPCKCertsWithManifest retrieves PCK certificates using platform manifest

func (*Client) GetRootCACRL

func (c *Client) GetRootCACRL(rootca string) (*Response, error)

GetRootCACRL retrieves root CA CRL

func (*Client) GetTCBInfo

func (c *Client) GetTCBInfo(prodType, fmspc, requestVersion, updateType string) (*Response, error)

GetTCBInfo retrieves TCB information for an FMSPC

func (*Client) GetTCBInfoForSGX

func (c *Client) GetTCBInfoForSGX(fmspc, requestVersion, updateType string) (*Response, error)

GetTCBInfoForSGX is a convenience method for SGX TCB info

func (*Client) GetTCBInfoForTDX

func (c *Client) GetTCBInfoForTDX(fmspc, requestVersion, updateType string) (*Response, error)

GetTCBInfoForTDX is a convenience method for TDX TCB info

type Response

type Response struct {
	StatusCode int
	Headers    http.Header
	Body       []byte
}

Response represents a response from Intel PCS

Jump to

Keyboard shortcuts

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