Extend IKeyChainService AIDL with CACert retrieval

Bug:16029580
Change-Id: I41a3bd2f3bd95550e59f1d0d0acd0e765d7b62d7
This commit is contained in:
Zoltan Szatmary-Ban
2014-08-18 10:48:33 +01:00
parent 97e75e1da9
commit f0ae135049
3 changed files with 61 additions and 1 deletions

View File

@@ -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");
}