Expand description
Hardware detection for license binding
This module provides functionality to detect hardware identifiers for binding licenses to specific machines.
§Pluggable environment
Use HardwareEnvironment to supply HardwareInfo for verification and attestation.
The default implementation calls detect_hardware. Integrators can provide a custom
implementation (for example TPM-derived material in the license HardwareBinding custom map) without
modifying this crate.
Structs§
- Default
Hardware Environment - Default probe: MAC addresses, disk IDs, hostname, machine ID via
detect_hardware. - Fixed
Hardware Environment - Fixed snapshot (tests, diagnostics, or air-gapped override).
- Hardware
Info - Detected hardware information from the current machine
Enums§
- Hardware
Binding Error - Hardware binding verification errors
Traits§
- Hardware
Environment - Supplies a snapshot of the current machine for license binding checks.
Functions§
- default_
hardware_ environment - Shared default implementation used by
LicenseVerifierandWitnessConfig. - detect_
hardware - Detect hardware information from the current machine
- verify_
hardware_ binding - Check if the current hardware matches the binding