returnval = certstoresession.getCertificateProfile(administrator, certprofile) .getAvailableBitLengths();
CertificateProfile p = certstoresession.getCertificateProfile(administrator, certprofile); returnval = p.getAvailableBitLengths();
    public int[] availableBitLengths(String username) throws Exception {        int[] returnval = null;                IUserAdminSessionRemote useradminsession = useradminhome.create();        if(!username.equals(this.username) || this.useradmindata == null){                  try {            this.useradmindata = useradminsession.findUser(administrator, username);          } catch (FinderException fe) {          }        }          if (useradmindata != null) {            ICertificateStoreSessionRemote certstoresession = certificatesessionhome.create();            int certprofile = useradmindata.getCertificateProfileId();            if (certprofile != SecConst.PROFILE_NO_PROFILE) {                returnval = certstoresession.getCertificateProfile(administrator, certprofile)                                            .getAvailableBitLengths();            }        }        this.username = username;        return returnval;    }