(self, ciscp_content, source=None)
return packages
Returns a list of STIX_Package etree Element objects
        that have been broken out from a CISCP STIX_Packages container.

        Each STIX Package has had the following operations performed on it:
        + Domain Object of type "FQDN" converted to URI Object of type "Domain Name"

        Keyword arguments:
        ciscp_content -- a filename or filelike object containing the CISCP STIX_Packages element
Returns a list of STIX_Package etree Element objects
        that have been broken out from a CISCP STIX_Packages container.
Returns a list of STIX_Package etree Element objects that have been broken out from a CISCP STIX_Packages container .
def convert_ciscp(self, ciscp_content, source=None):
        """Returns a list of STIX_Package etree Element objects
        that have been broken out from a CISCP STIX_Packages container.

        Each STIX Package has had the following operations performed on it:
        + Domain Object of type "FQDN" converted to URI Object of type "Domain Name"

        Keyword arguments:
        ciscp_content -- a filename or filelike object containing the CISCP STIX_Packages element
        """
        root = self._get_etree_root(ciscp_content)
        packages = self._get_stix_package_list(root)

        for package in packages:
            self._fix_domain_obj(root)
            self._fix_information_source(package, source)

        return packages
def convert_ciscp ( self , ciscp_content , source = None ) : root = self . _get_etree_root ( ciscp_content ) packages = self . _get_stix_package_list ( root ) for package in packages : self . _fix_domain_obj ( root ) self . _fix_information_source ( package , source ) return packages