Extend IKeyChainService AIDL with CACert retrieval
Bug:16029580 Change-Id: I41a3bd2f3bd95550e59f1d0d0acd0e765d7b62d7
This commit is contained in:
@@ -397,7 +397,8 @@ public final class KeyChain {
|
||||
return KeyStore.getInstance().isHardwareBacked(algorithm);
|
||||
}
|
||||
|
||||
private static X509Certificate toCertificate(byte[] bytes) {
|
||||
/** @hide */
|
||||
public static X509Certificate toCertificate(byte[] bytes) {
|
||||
if (bytes == null) {
|
||||
throw new IllegalArgumentException("bytes == null");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user