@Override
  public void engineStore(OutputStream stream, char[] password) throws IOException, NoSuchAlgorithmException, CertificateException {
    try {
      getDelegate().store(stream, password);
    }
    catch (KeyStoreException e) {
      throw new IllegalStateException(e);
    }
  }
@Override
  public void engineStore(OutputStream stream, char[] password)