break;
case SecConst.TOKEN_TURKISHEID:
returnval = new TurkishEIDHardToken(includePUK);
break;
case SecConst.TOKEN_EID: // Left for backward compability
returnval = new EIDHardToken(includePUK);
break;
default:
returnval = new EIDHardToken(includePUK);
break;
}
returnval.loadData(data);
return returnval;