README.md
1# Android components for Nugget
2
3Android communicates with Nugget apps in order to implement security related
4HALs. Currently, those HALs are Keymaster, Weaver and OemLock.
5
6### Services
7
8Apps that define a protobuf service will have an app interface class
9autogenerated. These classes will wrap a `NuggetClient`. The generator can be
10found in the `generator` directory.
11
12### Asynchronous communication
13
14Work in progress.
15
16Currently, everything is synchronous and just exposes the `call_application()`
17function from the Nugget transport API. In future, asynchronous calls may be
18desired. Support for this could be added in:
19
20 * Nugget transport API
21 * `NuggetClient` on top of `call_application()`
22 * Generated services
23
24## `citadel`
25
26This directory contains the components to support Citadel connected to Android.
27