Documentation ¶
Index ¶
- Constants
- func Discover(p *Protocol) http.HandlerFunc
- func Enrollment(p *Protocol) http.HandlerFunc
- func Manage(p *Protocol) http.HandlerFunc
- func MattraxDeviceOwnership(enrollmentType string) (ownership db.DeviceOwnership)
- func MattraxManagementScope(certStore string) (scope db.ManagementScope)
- func Policy(p *Protocol) http.HandlerFunc
- type Protocol
- func (p *Protocol) Events() protocol.EventHandlers
- func (p *Protocol) ID() string
- func (p *Protocol) Init(srv *mattrax.Server) (err error)
- func (p *Protocol) Mount(r *mux.Router) error
- func (p *Protocol) MountAPI(r *mux.Router, rUnauthenticated *mux.Router) error
- func (p *Protocol) Status() (interface{}, error)
Constants ¶
const EnrollmentPolicyFriendlyName = "Mattrax Identity Certificate Policy"
EnrollmentPolicyFriendlyName is the friendly name of the server's enrollment policy
const EnrollmentPolicyID = "mattrax-identity"
EnrollmentPolicyID is the unique ID of the MDM server's enrollment policy
const ProviderID = "Mattrax"
ProviderID is the unique ID used to identify the MDM server to the management client This is not shown to the user and should be globally identifying. It is required by some CSP's.
Variables ¶
This section is empty.
Functions ¶
func Discover ¶
func Discover(p *Protocol) http.HandlerFunc
Discover handles the discovery phase of enrollment.
func Enrollment ¶
func Enrollment(p *Protocol) http.HandlerFunc
Enrollment provisions the device's management client and issues it a certificate which is used for authentication
func Manage ¶
func Manage(p *Protocol) http.HandlerFunc
Manage handles the continued management of the device.
func MattraxDeviceOwnership ¶
func MattraxDeviceOwnership(enrollmentType string) (ownership db.DeviceOwnership)
func MattraxManagementScope ¶
func MattraxManagementScope(certStore string) (scope db.ManagementScope)
func Policy ¶
func Policy(p *Protocol) http.HandlerFunc
Policy instructs the client how the generate the identity certificate. This endpoint is part of the spec MS-XCEP.