integrity

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RemoteIntegrityComponent = "Remote Integrity Collection Module"
)

Functions

func Collect

func Collect(serviceId string, nonce []byte) ([]byte, error)

Collect collects integrity information from prover

func WithAdditionalGRPCOpts

func WithAdditionalGRPCOpts(opts ...grpc.DialOption) service.ServiceOption[Server]

WithAdditionalGRPCOpts is an option to configure additional gRPC options.

func WithOAuth2Authorizer added in v0.2.0

func WithOAuth2Authorizer(config *clientcredentials.Config) service.ServiceOption[Server]

WithOAuth2Authorizer is an option to use an OAuth 2.0 authorizer

Types

type Server added in v0.2.0

type Server struct {
	apicollection.UnimplementedCollectionServer
	// contains filtered or unexported fields
}

func (*Server) Authorizer added in v0.2.0

func (srv *Server) Authorizer() clapi.Authorizer

Authorizer implements UsesAuthorizer

func (*Server) SetAuthorizer added in v0.2.0

func (srv *Server) SetAuthorizer(auth clapi.Authorizer)

SetAuthorizer implements UsesAuthorizer

func (*Server) StartCollecting added in v0.2.0

func (*Server) StopCollecting added in v0.2.0

type SystemComponentsIntegrity

type SystemComponentsIntegrity struct {
	Status bool `json:"status"`
}

type Value

type Value struct {
	voc.Resource

	SystemComponentsIntegrity `json:"systemComponentsIntegrity"`
}

Jump to

Keyboard shortcuts

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