try{ rsaKeys = KeyTools.genKeys(1024); }catch(Exception e){}
    public BatchMakeP12()        throws javax.naming.NamingException, javax.ejb.CreateException, java.rmi.RemoteException,             java.io.IOException {        log.debug(">BatchMakeP12:");        administrator = new Admin(Admin.TYPE_BATCHCOMMANDLINE_USER);        // Bouncy Castle security provider        Security.addProvider(new BouncyCastleProvider());        Context jndiContext = getInitialContext();        Object obj = jndiContext.lookup("UserAdminSession");        adminhome = (IUserAdminSessionHome) javax.rmi.PortableRemoteObject.narrow(obj, IUserAdminSessionHome.class);        obj = jndiContext.lookup("RaAdminSession");        raadminhome = (IRaAdminSessionHome) javax.rmi.PortableRemoteObject.narrow(obj, IRaAdminSessionHome.class);                obj = jndiContext.lookup("RSASignSession");        signhome = (ISignSessionHome) javax.rmi.PortableRemoteObject.narrow(obj, ISignSessionHome.class);        IRaAdminSessionRemote raadmin = raadminhome.create();                usekeyrecovery = (raadmin.loadGlobalConfiguration(administrator)).getEnableKeyRecovery();        if(usekeyrecovery){          obj = jndiContext.lookup("KeyRecoverySession");          keyrecoveryhome = (IKeyRecoverySessionHome) javax.rmi.PortableRemoteObject.narrow(obj, IKeyRecoverySessionHome.class);        }      // TODO Remove       try{			rsaKeys = KeyTools.genKeys(1024);       }catch(Exception e){}               log.debug("<BatchMakeP12:");    }