Versions in this module Expand all Collapse all v1 v1.0.0 Mar 17, 2017 Changes in this version + func DecodeSCEPResponse(ctx context.Context, r *http.Response) (interface{}, error) + func EncodeSCEPRequest(ctx context.Context, r *http.Request, request interface{}) error + func ServiceHandler(ctx context.Context, svc Service, logger kitlog.Logger) http.Handler + type SCEPRequest struct + Err error + Message []byte + Operation string + type SCEPResponse struct + CACertNum int + Data []byte + Err error + type Service interface + GetCACaps func(ctx context.Context) ([]byte, error) + GetCACert func(ctx context.Context) ([]byte, int, error) + GetNextCACert func(ctx context.Context) ([]byte, error) + PKIOperation func(ctx context.Context, msg []byte) ([]byte, error) + func NewLoggingService(logger log.Logger, s Service) Service + func NewService(depot depot.Depot, opts ...ServiceOption) (Service, error) + type ServiceOption func(*service) error + func AllowRenewal(duration int) ServiceOption + func CAKeyPassword(pw []byte) ServiceOption + func ChallengePassword(pw string) ServiceOption + func ClientValidity(duration int) ServiceOption