estserver

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HTTPToContext

func HTTPToContext(logger log.Logger) httptransport.RequestFunc

func MakeHTTPHandler

func MakeHTTPHandler(service service.Service, logger log.Logger, cfg configs.Config, otTracer stdopentracing.Tracer) http.Handler

func NewEstService

func NewEstService(lamassuEstClient *lamassuestclient.LamassuEstClient, logger log.Logger) lamassuest.Service

Types

type EstService

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

func (*EstService) CACerts

func (s *EstService) CACerts(ctx context.Context, aps string, r *http.Request) ([]*x509.Certificate, error)

func (*EstService) Enroll

func (*EstService) Health

func (s *EstService) Health(ctx context.Context) bool

func (*EstService) Reenroll

func (*EstService) ServerKeyGen

func (s *EstService) ServerKeyGen(ctx context.Context, csr *x509.CertificateRequest, aps string, r *http.Request) (*x509.Certificate, []byte, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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