Documentation
¶
Overview ¶
Package api defines the IAS interfaces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterService ¶
RegisterService registers a new IAS service with the given gRPC server.
Types ¶
type Endpoint ¶
type Endpoint interface {
// VerifyEvidence takes the provided quote, (optional) PSE manifest, and
// (optional) nonce, and returns the corresponding AVR, signature, and
// certificate chain respectively.
VerifyEvidence(ctx context.Context, evidence *Evidence) (*ias.AVRBundle, error)
// GetSPID returns the SPID and associated info used by the endpoint.
GetSPIDInfo(ctx context.Context) (*SPIDInfo, error)
// GetSigRL returns the Signature Revocation List for a given EPID group.
GetSigRL(ctx context.Context, epidGID uint32) ([]byte, error)
// Cleanup performs post-termination service cleanup.
Cleanup()
}
Endpoint is an attestation validation endpoint, likely remote.
func NewEndpointClient ¶
func NewEndpointClient(c *grpc.ClientConn) Endpoint
NewEndpointClient creates a new gRPC IAS endpoint client service.
Click to show internal directories.
Click to hide internal directories.