Keystore 2.0: Remove attestKey from KeyChain.
KeyChain supports device id attestation through KeyGenParameterSpec now. No need to call attest key individually. Also calling attest key individually is no longer supported by Keystore 2.0 and KeyMint. Also isBoundKeyAlgorithm returns true. Test: atest FrameworksServicesTests:DevicePolicyManagerTest Bug: 171305387 Change-Id: I759fe245b48fe435153fded2c74c9ae99634c146
This commit is contained in:
@@ -37,8 +37,6 @@ interface IKeyChainService {
|
||||
void setUserSelectable(String alias, boolean isUserSelectable);
|
||||
|
||||
int generateKeyPair(in String algorithm, in ParcelableKeyGenParameterSpec spec);
|
||||
int attestKey(in String alias, in byte[] challenge, in int[] idAttestationFlags,
|
||||
out KeymasterCertificateChain chain);
|
||||
boolean setKeyPairCertificate(String alias, in byte[] userCert, in byte[] certChain);
|
||||
|
||||
// APIs used by CertInstaller and DevicePolicyManager
|
||||
|
||||
Reference in New Issue
Block a user