info.addInstruction(ABCConstants.OP_pushstring, urls.getPolicyFileURL());
ISWC swc = swcManager.get(new File(rslSettings.getLibraryFile().getPath()));
boolean isSignedRSL = RSLSettings.isSignedRSL(urls.getRSLURL());
ISWCDigest swcDigest = getSWCDigest(Iterables.getFirst(swc.getLibraries(), null),
isSignedRSL);
if (swcDigest == null)
{
if (isSignedRSL)
problemCollection.add(new MissingSignedDigestProblem(swc.getSWCFile().getAbsolutePath()));
else
problemCollection.add(new MissingUnsignedDigestProblem(swc.getSWCFile().getAbsolutePath()));
continue;
}
info.addInstruction(ABCConstants.OP_pushstring, swcDigest.getValue());
info.addInstruction(ABCConstants.OP_pushstring, swcDigest.getType());
info.addInstruction(isSignedRSL ? ABCConstants.OP_pushtrue : ABCConstants.OP_pushfalse);
info.addInstruction(rslSettings.getVerifyDigest() ? ABCConstants.OP_pushtrue : ABCConstants.OP_pushfalse);
info.addInstruction(ABCConstants.OP_pushstring,
rslSettings.getApplicationDomain().getApplicationDomainValue());