critOids = new HashSet(); nonCritOids = new HashSet();
  public X509Certificate(InputStream encoded)    throws CertificateException, IOException  {    super();    extensions = new HashMap();    critOids = new HashSet();    nonCritOids = new HashSet();    try      {        parse(encoded);      }    catch (IOException ioe)      {        throw ioe;      }    catch (Exception e)      {        throw new CertificateException(e.toString());      }  }