Documentation ¶
Index ¶
- func HTTPToContext(logger log.Logger) httptransport.RequestFunc
- func MakeHTTPHandler(service service.Service, logger log.Logger, cfg configs.Config, ...) http.Handler
- func NewEstService(lamassuEstClient *lamassuestclient.LamassuEstClient, logger log.Logger) lamassuest.Service
- type EstService
- func (s *EstService) CACerts(ctx context.Context, aps string, r *http.Request) ([]*x509.Certificate, error)
- func (s *EstService) Enroll(ctx context.Context, csr *x509.CertificateRequest, aps string, ...) (*x509.Certificate, error)
- func (s *EstService) Health(ctx context.Context) bool
- func (s *EstService) Reenroll(ctx context.Context, cert *x509.Certificate, csr *x509.CertificateRequest, ...) (*x509.Certificate, error)
- func (s *EstService) ServerKeyGen(ctx context.Context, csr *x509.CertificateRequest, aps string, r *http.Request) (*x509.Certificate, []byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPToContext ¶
func HTTPToContext(logger log.Logger) httptransport.RequestFunc
func MakeHTTPHandler ¶
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 (s *EstService) Enroll(ctx context.Context, csr *x509.CertificateRequest, aps string, cert *x509.Certificate, r *http.Request) (*x509.Certificate, error)
func (*EstService) Reenroll ¶
func (s *EstService) Reenroll(ctx context.Context, cert *x509.Certificate, csr *x509.CertificateRequest, aps string, r *http.Request) (*x509.Certificate, error)
func (*EstService) ServerKeyGen ¶
func (s *EstService) ServerKeyGen(ctx context.Context, csr *x509.CertificateRequest, aps string, r *http.Request) (*x509.Certificate, []byte, error)
Click to show internal directories.
Click to hide internal directories.