Skip to main content

detect

Function detect 

Source
pub fn detect() -> Result<Box<dyn AttestationProvider>, AttestationError>
Expand description

Picks the provider matching the current hardware.

TTK_ATTESTATION=<name> overrides probing. Otherwise real hardware backends are probed in a fixed order, and the mock provider (if compiled in) is used only as a last resort.