Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifyCertificateMiddleware ¶ added in v1.5.0
func VerifyCertificateMiddleware(validateSCEPIssuer bool, validateSCEPExpiration bool, store ScepVerifyDepot, logger log.Logger) mdm.Middleware
Types ¶
type ScepVerifyDepot ¶ added in v1.5.0
type ScepVerifyDepot interface { CA(pass []byte) ([]*x509.Certificate, *rsa.PrivateKey, error) HasCN(cn string, allowTime int, cert *x509.Certificate, revokeOldCertificate bool) (bool, error) }
type Server ¶
type Server struct { ConfigPath string Depsim string PubClient pubsub.PublishSubscriber DB *bolt.DB ServerPublicURL string SCEPChallenge string SCEPClientValidity int TLSCertPath string SCEPDepot depot.Depot UseDynSCEPChallenge bool GenDynSCEPChallenge bool SCEPChallengeDepot challenge.Store ProfileDB profile.Store ConfigDB config.Store RemoveDB block.Store CommandWebhookURL string DEPClient *dep.Client SyncDB *syncbuiltin.DB NoCmdHistory bool ValidateSCEPIssuer bool ValidateSCEPExpiration bool UDIDCertAuthWarnOnly bool Queue string APNSPushService apns.Service CommandService command.Service MDMService mdm.Service EnrollService enroll.Service SCEPService scep.Service ConfigService config.Service WebhooksHTTPClient *http.Client }
func (*Server) CreateDEPSyncer ¶
Click to show internal directories.
Click to hide internal directories.