From 4b30e3391bda250975b43af43bad58c98fa73f84 Mon Sep 17 00:00:00 2001 From: Kenny Root Date: Mon, 6 May 2013 15:00:58 -0700 Subject: Track change in NativeCrypto Change-Id: Ic04d4ac5218795fc226f1751b6ae4db1ae73a930 --- keystore/java/android/security/KeyChain.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'keystore/java') 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 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) { -- cgit v1.1