for (int ii=0; ii<rawReturnValArr.length; ii++) {
if (securityInterceptor != null) { // decrypt return value ...
CryptDataHolder dataHolder = new CryptDataHolder(MethodName.ERASE, new MsgUnitRaw(null, (byte[])null, rawReturnValArr[ii]));
dataHolder.setReturnValue(true);
String xmlQos = securityInterceptor.importMessage(dataHolder).getQos();
retQosArr[ii] = new EraseReturnQos(glob, xmlQos);
}
}
try {
eraseEntry.setReturnObj(retQosArr);
}
catch (Throwable e) {
log.warning("Can't parse returned erase value setting to default: " + e.toString());
for (int ii=0; ii<rawReturnValArr.length; ii++) {
retQosArr[ii] = new EraseReturnQos(glob, "<qos/>");
}
eraseEntry.setReturnObj(retQosArr);
}
}
}