Code example for KeyStore

Methods: getKey

0
            return var2;
         } 
 
         KeyStore var3 = this.mKeyStore;
         char[] var4 = this.mPassword.toCharArray();
         var2 = var3.getKey(var1, var4);
         var5 = var2 instanceof PrivateKey;
      } catch (Exception var7) {
         String var6 = var7.getMessage();
         throw new CertificateManagerException(var6);
      } 
 
      if(!var5) {
         var2 = null;
      } 
 
      return var2;
   } 
 
   public String getSubject(String var1) throws CertificateManagerException {
      return this.getCertificate(var1).getSubjectDN().getName();