logback-android/src/main/java/ch/qos/logback/core/net/ssl/KeyStoreFactoryBean.java
private KeyStore newKeyStore() throws NoSuchAlgorithmException,
      NoSuchProviderException, KeyStoreException {

    return getProvider() != null ?
        KeyStore.getInstance(getType(), getProvider())
        : KeyStore.getInstance(getType());
  }
private KeyStore newKeyStore() throws NoSuchAlgorithmException,
      NoSuchProviderException, KeyStoreException {

    return getProvider() != null ?
        KeyStore.getInstance(getType(), getProvider())
        : KeyStore.getInstance(getType());
  }
Invokes the appropriate JCE factory method to obtain a new
{@link KeyStore} object.