# Package com.codename1.security.shield.spi

package com.codename1.security.shield.spi

Service-provider interface between the public shield API and the attestation engine.

Application code does not use this package. It exists so the engine that performs attestation, pin enforcement and tamper detection can be supplied separately from the framework, while `AppShield` keeps a single stable surface that compiles and runs whether or not an engine is present.

See `ShieldEngine` for the contract, and in particular for the list of responsibilities an engine must not delegate back into open framework code.

- Related Packages
  Package
  Description
  com.codename1.security.shield
  API shielding: attestation tokens, over-the-air certificate pinning, and runtime self-protection reporting.
- Class
  Description
  EngineContext
  The narrow set of framework services lent to a `ShieldEngine`.
  ShieldEngine
  The service-provider seam between the public shield API and the attestation engine that implements it.
  ShieldEngineRegistry
  Where the attestation engine registers itself.