diff options
author | Kenny Root <kroot@google.com> | 2013-05-06 15:00:58 -0700 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2013-05-06 15:00:58 -0700 |
commit | 4b30e3391bda250975b43af43bad58c98fa73f84 (patch) | |
tree | 82abee4746206fb285ffd384f6d594872b71b706 /keystore/java | |
parent | 6d82f86fa01800ee0523743366e0dc1113178fd9 (diff) | |
download | frameworks_base-4b30e3391bda250975b43af43bad58c98fa73f84.zip frameworks_base-4b30e3391bda250975b43af43bad58c98fa73f84.tar.gz frameworks_base-4b30e3391bda250975b43af43bad58c98fa73f84.tar.bz2 |
Track change in NativeCrypto
Change-Id: Ic04d4ac5218795fc226f1751b6ae4db1ae73a930
Diffstat (limited to 'keystore/java')
-rw-r--r-- | keystore/java/android/security/KeyChain.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/keystore/java/android/security/KeyChain.java b/keystore/java/android/security/KeyChain.java index 825a062..0ad4d075 100644 --- a/keystore/java/android/security/KeyChain.java +++ b/keystore/java/android/security/KeyChain.java @@ -346,6 +346,8 @@ public final class KeyChain { List<X509Certificate> chain = store .getCertificateChain(toCertificate(certificateBytes)); return chain.toArray(new X509Certificate[chain.size()]); + } catch (CertificateException e) { + throw new KeyChainException(e); } catch (RemoteException e) { throw new KeyChainException(e); } catch (RuntimeException e) { |