Package org.apache.flex.swc

Examples of org.apache.flex.swc.ISWCDigest


                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());
               
View Full Code Here

TOP

Related Classes of org.apache.flex.swc.ISWCDigest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.