Code example for KeyStore

Methods: getCertificate

0
      return var2;
   } 
 
   public X509Certificate getCertificate(String var1) throws CertificateManagerException {
      try { 
         X509Certificate var2 = (X509Certificate)this.mKeyStore.getCertificate(var1);
         return var2;
      } catch (Exception var4) {
         String var3 = var4.getMessage();
         throw new CertificateManagerException(var3);
      } 
   } 
 
   public Certificate[] getCertificateChain(String var1) throws CertificateManagerException {
      try { 
         Certificate[] var2 = this.mKeyStore.getCertificateChain(var1);
         return var2;
      } catch (Exception var4) {
         String var3 = var4.getMessage();
         throw new CertificateManagerException(var3);
      }