break;
case CAInfo.CATYPE_CVC:
ca = new CVCCA(data, getCaId().intValue(), getSubjectDN(), getName(), getStatus(), getUpdateTimeAsDate());
break;
}
final boolean upgradedExtendedService = ca.upgradeExtendedCAServices();
// Compare old version with current version and save the data if there has been a change
if ( ((ca != null) && (Float.compare(oldversion, ca.getVersion()) != 0)) || upgradedExtendedService) {
// Make sure we upgrade the CAToken as well, if needed
ca.getCAToken();
setCA(ca);