use of iso.std.iso_iec._24727.tech.schema.DSIRead in project open-ecard by ecsec.
the class DataSetInfo method read.
public byte[] read() throws WSHelper.WSException {
if (cachedData == null) {
select();
DSIRead req = new DSIRead();
req.setConnectionHandle(didInfos.getHandle(application));
req.setDSIName(datasetNameTarget.getDataSetName());
DSIReadResponse res = (DSIReadResponse) didInfos.getDispatcher().safeDeliver(req);
WSHelper.checkResult(res);
cachedData = res.getDSIContent();
}
// copy to be safe from cache manipulation
return ByteUtils.clone(cachedData);
}
Aggregations