Versions in this module Expand all Collapse all v1 v1.0.0 Sep 3, 2026 Changes in this version + const ContentTypeCheckin + const ContentTypeConnect + func CertFromContext(ctx context.Context) *x509.Certificate + func CertFromHeader(name string) func(http.Handler) http.Handler + func CertFromMdmSignature(o cms.VerifyOptions, maxBytes int64) func(http.Handler) http.Handler + func CertFromTLS(next http.Handler) http.Handler + func CheckinHandler(cfg Config) http.Handler + func ConnectHandler(cfg Config) http.Handler + func Handler(cfg Config) http.Handler + func IsCertMissing(err error) bool + func WithCert(ctx context.Context, cert *x509.Certificate) context.Context + type Checkiner interface + Checkin func(ctx context.Context, r *mdm.Request, ck *mdm.Checkin) (*service.CheckinResult, error) + type Config struct + Checkin Checkiner + Connect Connecter + Decoder plist.Decoder + Logger *slog.Logger + Now func() time.Time + UnenrollUnknown bool + type Connecter interface + Connect func(ctx context.Context, r *mdm.Request, resp *mdm.Response) (*mdm.Command, error)