Package org.apache.flex.swc

Examples of org.apache.flex.swc.SWCDigest


                else if (tagName.equals(TAG_DIGEST))
                {
                    String type = reader.getAttributeValue(null, ATTR_TYPE);
                    String value = reader.getAttributeValue(null, ATTR_VALUE);
                    boolean isSigned = Boolean.parseBoolean(reader.getAttributeValue(null, ATTR_SIGNED));
                    SWCDigest swcDigest = new SWCDigest();
                    swcDigest.setType(type);
                    swcDigest.setValue(value);
                    swcDigest.setSigned(isSigned);
                   
                    currentLibrary.addDigest(swcDigest);
                }
                else if (tagName.equals(TAG_METADATA))
                {
View Full Code Here


        if (library == null)
            throw new NullPointerException("library may not be null");
       
        if (digestStream != null)
        {
            SWCDigest swcDigest = new SWCDigest();
            swcDigest.setType(SWCDigest.SHA_256);
            swcDigest.setValue(digestStream.getMessageDigest().digest());
            library.addDigest(swcDigest);
        }
    }
View Full Code Here

TOP

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

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.