summaryrefslogtreecommitdiff
path: root/keystore/java/android/security/GenerateRkpKeyException.java
AgeCommit message (Collapse)Author
2021-03-24Adding AIDL and functions for talking to RemoteProvisionerMax Bires
This change adds an AIDL interface which the RemoteProvisioner app implements that allows the keystore SPI to inform the app when an attestation key may have been used, and when the underlying attestation key pool is totally empty. The former is a non-blocking call, and the latter blocks until completion. Since the latter involves network, there are timeouts involved on the app side to ensure that the blocking call doesn't hang indefinitely if there's no network. Test: atest CtsKeystoreTestCases && atest RemoteProvisionerUnitTests Change-Id: Ie49e37659c96ce5c1626d1b99a4a7ccc62028156