if(i != SENDNOTIFICATION){
if(i != SENDNOTIFICATION && i != OTHERNAME && i != X400ADDRESS && i != EDIPARTNAME && i != REGISTEREDID && i != DIRECTORYNAME ){
    private void init(boolean emptyprofile){      if(emptyprofile){        // initialize profile data        ArrayList numberoffields = new ArrayList(NUMBEROFPARAMETERS);        for(int i =0; i < NUMBEROFPARAMETERS; i++){          numberoffields.add(new Integer(0));        }        data.put(NUMBERARRAY,numberoffields);        data.put(SUBJECTDNFIELDORDER,new ArrayList());        data.put(SUBJECTALTNAMEFIELDORDER,new ArrayList());        for(int i=0; i < NUMBEROFPARAMETERS; i++){          if(i != SENDNOTIFICATION){	             addField(i);             setValue(i,0,"");             setRequired(i,0,false);             setUse(i,0,true);             setModifyable(i,0,true);          }          }        setRequired(USERNAME,0,true);        setRequired(PASSWORD,0,true);        setRequired(COMMONNAME,0,true);        setRequired(DEFAULTCERTPROFILE,0,true);        setRequired(AVAILCERTPROFILES,0,true);        setRequired(DEFKEYSTORE,0,true);        setRequired(AVAILKEYSTORE,0,true);        setRequired(DEFAULTCA,0,true);        setRequired(AVAILCAS,0,true);        setValue(DEFAULTCERTPROFILE,0,"1");        setValue(AVAILCERTPROFILES,0,"1");        setValue(DEFKEYSTORE,0, "" + SecConst.TOKEN_SOFT_BROWSERGEN);        setValue(AVAILKEYSTORE,0, SecConst.TOKEN_SOFT_BROWSERGEN + ";" + SecConst.TOKEN_SOFT_P12 +  ";" + SecConst.TOKEN_SOFT_JKS + ";" + SecConst.TOKEN_SOFT_PEM);        setValue(AVAILCAS,0, Integer.toString(SecConst.ALLCAS));        // Do not use hard token issuers by default.        setUse(AVAILTOKENISSUER, 0, false);      }else{         // initialize profile data         ArrayList numberoffields = new ArrayList(NUMBEROFPARAMETERS);         for(int i =0; i < NUMBEROFPARAMETERS; i++){           numberoffields.add(new Integer(0));         }         data.put(NUMBERARRAY,numberoffields);         data.put(SUBJECTDNFIELDORDER,new ArrayList());         data.put(SUBJECTALTNAMEFIELDORDER,new ArrayList());         addField(USERNAME);         addField(PASSWORD);         addField(COMMONNAME);         addField(EMAIL);         addField(DEFAULTCERTPROFILE);         addField(AVAILCERTPROFILES);         addField(DEFKEYSTORE);         addField(AVAILKEYSTORE);         addField(DEFAULTTOKENISSUER);         addField(AVAILTOKENISSUER);         addField(AVAILCAS);         addField(DEFAULTCA);                           setRequired(USERNAME,0,true);         setRequired(PASSWORD,0,true);         setRequired(COMMONNAME,0,true);         setRequired(DEFAULTCERTPROFILE,0,true);         setRequired(AVAILCERTPROFILES,0,true);         setRequired(DEFKEYSTORE,0,true);         setRequired(AVAILKEYSTORE,0,true);         setRequired(DEFAULTCA,0,true);         setRequired(AVAILCAS,0,true);                  setValue(DEFAULTCERTPROFILE,0,"1");         setValue(AVAILCERTPROFILES,0,"1;2;3");         setValue(DEFKEYSTORE,0, "" + SecConst.TOKEN_SOFT_BROWSERGEN);         setValue(AVAILKEYSTORE,0, SecConst.TOKEN_SOFT_BROWSERGEN + ";" + SecConst.TOKEN_SOFT_P12 +  ";" + SecConst.TOKEN_SOFT_JKS + ";" + SecConst.TOKEN_SOFT_PEM);         // Do not use hard token issuers by default.         setUse(AVAILTOKENISSUER, 0, false);      }    }