windows

package
v0.0.0-...-2921379 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2021 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const EnrollmentPolicyFriendlyName = "Mattrax Identity Certificate Policy"

EnrollmentPolicyFriendlyName is the friendly name of the server's enrollment policy

View Source
const EnrollmentPolicyID = "mattrax-identity"

EnrollmentPolicyID is the unique ID of the MDM server's enrollment policy

View Source
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.

Types

type Protocol

type Protocol struct {
	// contains filtered or unexported fields
}

Protocol contains the handlers for the Base protocol

func (*Protocol) Events

func (p *Protocol) Events() protocol.EventHandlers

func (*Protocol) ID

func (p *Protocol) ID() string

TODO: Unused remove

func (*Protocol) Init

func (p *Protocol) Init(srv *mattrax.Server) (err error)

func (*Protocol) Mount

func (p *Protocol) Mount(r *mux.Router) error

func (*Protocol) MountAPI

func (p *Protocol) MountAPI(r *mux.Router, rUnauthenticated *mux.Router) error

func (*Protocol) Status

func (p *Protocol) Status() (interface{}, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL