@ Deprecated public KeyStore loadPKCS12File ( InputStream inputStreamOfP12 , String password ) throws CertificateException , IOException { try { return CertUtils . toKeyStore ( inputStreamOfP12 , password . toCharArray ( ) ) ; } catch ( IllegalStateException ex ) { throw new IOException ( "Key from the input stream could not be decrypted" , ex ) ; } }
Load the keystore from an already opened input stream .