commit | 4b30e3391bda250975b43af43bad58c98fa73f84 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Mon May 06 15:00:58 2013 -0700 |
committer | Kenny Root <kroot@google.com> | Mon May 06 15:00:58 2013 -0700 |
tree | 82abee4746206fb285ffd384f6d594872b71b706 | |
parent | 6d82f86fa01800ee0523743366e0dc1113178fd9 [diff] |
Track change in NativeCrypto Change-Id: Ic04d4ac5218795fc226f1751b6ae4db1ae73a930
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 @@ 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) {