code: public final void init(KeyStore ks, char[] password) throws
              KeyStoreException, NoSuchAlgorithmException,
              UnrecoverableKeyException {
          factorySpi.engineInit(ks, password);
      }
docs: Initializes this factory with a source of key material.
  <P>
  The provider typically uses a KeyStore for obtaining
  key material for use during secure socket negotiations.
  The KeyStore is generally password-protected.
  <P>
  For more flexible initialization, please see
  {@link #init(ManagerFactoryParameters)}.
  <P>
  
  @param ks the key store or null
  @param password the password for recovering keys in the KeyStore
  @throws KeyStoreException if this operation fails
  @throws NoSuchAlgorithmException if the specified algorithm is not
  available from the specified provider.
  @throws UnrecoverableKeyException if the key cannot be recovered
  (e.g. the given password is wrong).