Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
schemagen
command
Package main implements the schemagen schema-generation command.
|
Package main implements the schemagen schema-generation command. |
|
devicemanagement
|
|
|
appleplatformservices/axm
Package axm provides a typed client for the Apple Business Manager and Apple School Manager APIs.
|
Package axm provides a typed client for the Apple Business Manager and Apple School Manager APIs. |
|
appleplatformservices/axm/axmtest
Package axmtest provides an in-process Apple Business Manager and Apple School Manager API fake.
|
Package axmtest provides an in-process Apple Business Manager and Apple School Manager API fake. |
|
appleplatformservices/dep
Package dep implements Apple's device enrollment service client, token exchange, device synchronization and profile assignment.
|
Package dep implements Apple's device enrollment service client, token exchange, device synchronization and profile assignment. |
|
appleplatformservices/dep/deptest
Package deptest provides a device enrollment service fake, store contract suites and failure injection.
|
Package deptest provides a device enrollment service fake, store contract suites and failure injection. |
|
appleplatformservices/gdmf
Package gdmf reads Apple's software lookup catalog and selects operating system versions for devices.
|
Package gdmf reads Apple's software lookup catalog and selects operating system versions for devices. |
|
appleplatformservices/gdmf/gdmftest
Package gdmftest supplies a fixture catalog, HTTP server and in-memory software Lookup for tests.
|
Package gdmftest supplies a fixture catalog, HTTP server and in-memory software Lookup for tests. |
|
appleplatformservices/push
Package push defines notification targets, results, certificate sources and coalescing for MDM pushes.
|
Package push defines notification targets, results, certificate sources and coalescing for MDM pushes. |
|
appleplatformservices/push/apns
Package apns implements certificate-authenticated APNs HTTP/2 clients for MDM wake-ups and ordinary app alert/background notifications.
|
Package apns implements certificate-authenticated APNs HTTP/2 clients for MDM wake-ups and ordinary app alert/background notifications. |
|
appleplatformservices/push/pushtest
Package pushtest provides a scripted push.Pusher and an in-process APNs server.
|
Package pushtest provides a scripted push.Pusher and an in-process APNs server. |
|
clock
Package clock abstracts time with a real clock and a manually advanced concurrent-safe fake.
|
Package clock abstracts time with a real clock and a manually advanced concurrent-safe fake. |
|
contentcache
Package contentcache decodes Apple Content Cache metrics and provides an embeddable receiver with caller-supplied authorization and storage.
|
Package contentcache decodes Apple Content Cache metrics and provides an embeddable receiver with caller-supplied authorization and storage. |
|
internal/canonjson
Package canonjson implements the JSON Canonicalization Scheme defined by RFC 8785.
|
Package canonjson implements the JSON Canonicalization Scheme defined by RFC 8785. |
|
internal/cbor
Package cbor encodes and decodes the CBOR subset used by Managed Device Attestation objects.
|
Package cbor encodes and decodes the CBOR subset used by Managed Device Attestation objects. |
|
internal/scepwire
Package scepwire builds SCEP CMS messages with per-message algorithms.
|
Package scepwire builds SCEP CMS messages with per-message algorithms. |
|
mdmprotocol/cms
Package cms signs and verifies attached and detached CMS signatures used by Apple device management.
|
Package cms signs and verifies attached and detached CMS signatures used by Apple device management. |
|
mdmprotocol/ddm
Package ddm implements declarations, membership, snapshots, synchronization tokens and status handling for declarative device management.
|
Package ddm implements declarations, membership, snapshots, synchronization tokens and status handling for declarative device management. |
|
mdmprotocol/ddm/predicate
Package predicate parses and evaluates a subset of NSPredicate syntax for declarative device management activations.
|
Package predicate parses and evaluates a subset of NSPredicate syntax for declarative device management activations. |
|
mdmprotocol/dmhook
Package dmhook defines service-operation metadata and the hook interface for observing or vetoing operations.
|
Package dmhook defines service-operation metadata and the hook interface for observing or vetoing operations. |
|
mdmprotocol/enroll
Package enroll builds MDM enrollment profiles and serves the over-the-air Profile Service protocol.
|
Package enroll builds MDM enrollment profiles and serves the over-the-air Profile Service protocol. |
|
mdmprotocol/enroll/accountdriven
Package accountdriven implements account-driven Device Enrollment and account-driven User Enrollment authentication.
|
Package accountdriven implements account-driven Device Enrollment and account-driven User Enrollment authentication. |
|
mdmprotocol/enroll/ade
Package ade serves Automated Device Enrollment profiles after parsing and verifying signed MachineInfo.
|
Package ade serves Automated Device Enrollment profiles after parsing and verifying signed MachineInfo. |
|
mdmprotocol/enroll/adetest
Package adetest constructs signed MachineInfo and its request carriers for Automated Device Enrollment tests.
|
Package adetest constructs signed MachineInfo and its request carriers for Automated Device Enrollment tests. |
|
mdmprotocol/enroll/discovery
Package discovery serves account-driven enrollment service discovery at /.well-known/com.apple.remotemanagement.
|
Package discovery serves account-driven enrollment service discovery at /.well-known/com.apple.remotemanagement. |
|
mdmprotocol/enroll/webauth
Package webauth implements an OpenID Connect relying party for enrollment browser authentication.
|
Package webauth implements an OpenID Connect relying party for enrollment browser authentication. |
|
mdmprotocol/enroll/webauth/webauthtest
Package webauthtest supplies an OpenID Connect provider and browser-flow helpers for enrollment tests.
|
Package webauthtest supplies an OpenID Connect provider and browser-flow helpers for enrollment tests. |
|
mdmprotocol/event
Package event provides an in-process bus for typed events with enrollment, actor and timestamp metadata.
|
Package event provides an in-process bus for typed events with enrollment, actor and timestamp metadata. |
|
mdmprotocol/mdm
Package mdm defines enrollment identities and decodes Apple MDM check-in, command and response envelopes.
|
Package mdm defines enrollment identities and decodes Apple MDM check-in, command and response envelopes. |
|
mdmprotocol/plist
Package plist wraps XML and binary property-list encoding and bounded decoding.
|
Package plist wraps XML and binary property-list encoding and bounded decoding. |
|
mdmprotocol/profile
Package profile composes, signs and parses Apple configuration profiles.
|
Package profile composes, signs and parses Apple configuration profiles. |
|
paging
Package paging defines cursor-page requests, generic results and shared page-size bounds.
|
Package paging defines cursor-page requests, generic results and shared page-size bounds. |
|
pki/acme
Package acme serves the ACME protocol used by Apple device identity payloads, including device-attest-01.
|
Package acme serves the ACME protocol used by Apple device identity payloads, including device-attest-01. |
|
pki/acme/attest
Package attest parses and verifies Managed Device Attestation certificate chains and objects.
|
Package attest parses and verifies Managed Device Attestation certificate chains and objects. |
|
pki/acme/attest/attesttest
Package attesttest generates Managed Device Attestation test chains and property extensions.
|
Package attesttest generates Managed Device Attestation test chains and property extensions. |
|
pki/acme/jose
Package jose parses, verifies and produces the JWS and JWK forms used by ACME.
|
Package jose parses, verifies and produces the JWS and JWK forms used by ACME. |
|
pki/ca
Package ca defines certificate signing, issuance storage and policy for enrollment identities.
|
Package ca defines certificate signing, issuance storage and policy for enrollment identities. |
|
pki/lifecycle
Package lifecycle manages certificate setup and renewal with persistent state.
|
Package lifecycle manages certificate setup and renewal with persistent state. |
|
pki/pushcert
Package pushcert inspects APNs certificates, validates MDM and app identities, and generates customer CSRs and Apple vendor-signed portal requests.
|
Package pushcert inspects APNs certificates, validates MDM and app identities, and generates customer CSRs and Apple vendor-signed portal requests. |
|
pki/revocation
Package revocation records issuance and irreversible revocation and publishes issuer-signed CRL and OCSP status.
|
Package revocation records issuance and irreversible revocation and publishes issuer-signed CRL and OCSP status. |
|
pki/scep
Package scep serves SCEP enrollment and renewal and provides a client for identity issuance.
|
Package scep serves SCEP enrollment and renewal and provides a client for identity issuance. |
|
ratelimit
Package ratelimit implements optional atomic GCRA quotas with bounded, expiring state.
|
Package ratelimit implements optional atomic GCRA quotas with bounded, expiring state. |
|
schema/checkin
Package checkin holds the MDM check-in messages generated from Apple's device management schema: 9 schema files and 14 types.
|
Package checkin holds the MDM check-in messages generated from Apple's device management schema: 9 schema files and 14 types. |
|
schema/commands
Package commands holds the MDM commands and their responses generated from Apple's device management schema: 67 schema files and 224 types.
|
Package commands holds the MDM commands and their responses generated from Apple's device management schema: 67 schema files and 224 types. |
|
schema/ddm
Package ddm holds the declarative device management declarations generated from Apple's device management schema: 64 schema files and 204 types.
|
Package ddm holds the declarative device management declarations generated from Apple's device management schema: 64 schema files and 204 types. |
|
schema/ddmproto
Package ddmproto holds the declarative device management protocol messages generated from Apple's device management schema: 3 schema files and 7 types.
|
Package ddmproto holds the declarative device management protocol messages generated from Apple's device management schema: 3 schema files and 7 types. |
|
schema/errors
Package errors holds the enrollment error response bodies generated from Apple's device management schema: 5 schema files and 10 types.
|
Package errors holds the enrollment error response bodies generated from Apple's device management schema: 5 schema files and 10 types. |
|
schema/internal/conformance
Package conformance supplies encoding round-trip and validation helpers for generated schema tests.
|
Package conformance supplies encoding round-trip and validation helpers for generated schema tests. |
|
schema/other
Package other holds the other device management data formats generated from Apple's device management schema: 5 schema files and 10 types.
|
Package other holds the other device management data formats generated from Apple's device management schema: 5 schema files and 10 types. |
|
schema/profiles
Package profiles holds the configuration profile payloads generated from Apple's device management schema: 127 schema files and 231 types.
|
Package profiles holds the configuration profile payloads generated from Apple's device management schema: 127 schema files and 231 types. |
|
schema/status
Package status holds the declarative device management status items generated from Apple's device management schema: 63 schema files and 100 types.
|
Package status holds the declarative device management status items generated from Apple's device management schema: 63 schema files and 100 types. |
|
schema/support
Package support queries generated platform, version, channel and enrollment-context metadata.
|
Package support queries generated platform, version, channel and enrollment-context metadata. |
|
schema/validation
Package validation collects constraint failures from generated schema validators.
|
Package validation collects constraint failures from generated schema validators. |
|
secrets
Package secrets provides named credential sources and a value type that redacts formatted output.
|
Package secrets provides named credential sources and a value type that redacts formatted output. |
|
simulator
Package simulator exercises modeled Apple MDM and enrollment flows as a device-side test client.
|
Package simulator exercises modeled Apple MDM and enrollment flows as a device-side test client. |
|
state
Package state defines transactional, expiring byte records for protocol state.
|
Package state defines transactional, expiring byte records for protocol state. |
|
storage
Package storage defines MDM persistence contracts and shared sentinel errors.
|
Package storage defines MDM persistence contracts and shared sentinel errors. |
|
storage/acme/acmetest
Package acmetest defines ACME store contracts, fixtures and controlled failures.
|
Package acmetest defines ACME store contracts, fixtures and controlled failures. |
|
storage/acme/inmem
Package inmem implements a mutex-protected in-memory acme.Store.
|
Package inmem implements a mutex-protected in-memory acme.Store. |
|
storage/crypt
Package crypt seals byte values with AES-256-GCM using named keys from secrets.Provider.
|
Package crypt seals byte values with AES-256-GCM using named keys from secrets.Provider. |
|
storage/ddm/ddmtest
Package ddmtest defines transactional declaration-store contracts and fixtures.
|
Package ddmtest defines transactional declaration-store contracts and fixtures. |
|
storage/ddm/inmem
Package inmem implements a mutex-protected in-memory ddm.Store.
|
Package inmem implements a mutex-protected in-memory ddm.Store. |
|
storage/dep/inmem
Package inmem implements a mutex-protected in-memory device enrollment service store.
|
Package inmem implements a mutex-protected in-memory device enrollment service store. |
|
storage/inmem
Package inmem implements a mutex-protected MDM store for tests and development.
|
Package inmem implements a mutex-protected MDM store for tests and development. |
|
storage/storagetest
Package storagetest defines the contract suites every MDM storage backend runs.
|
Package storagetest defines the contract suites every MDM storage backend runs. |
|
telemetry
Package telemetry provides explicit OpenTelemetry configuration, bounded vocabularies and outbound HTTP measurement.
|
Package telemetry provides explicit OpenTelemetry configuration, bounded vocabularies and outbound HTTP measurement. |
|
telemetry/telemetrytest
Package telemetrytest records OpenTelemetry measurements and spans for assertions.
|
Package telemetrytest records OpenTelemetry measurements and spans for assertions. |
|
testpki
Package testpki creates ephemeral certificate authorities and identities for tests and the device simulator.
|
Package testpki creates ephemeral certificate authorities and identities for tests and the device simulator. |
|
internal
|
|
|
httpsurl
Package httpsurl validates credential-bearing Apple service endpoints.
|
Package httpsurl validates credential-bearing Apple service endpoints. |
|
layout
Package layout builds repository import graphs for dependency-boundary tests.
|
Package layout builds repository import graphs for dependency-boundary tests. |
|
schemagen
Package schemagen generates schema types, registries, validators, support metadata and conformance tests from Apple's YAML.
|
Package schemagen generates schema types, registries, validators, support metadata and conformance tests from Apple's YAML. |
|
server
module
|
Click to show internal directories.
Click to hide internal directories.