SYMBOL INDEX (265 symbols across 27 files) FILE: apple/provisions.py class ReceivedApp (line 20) | class ReceivedApp(object): method __init__ (line 21) | def __init__(self, path): method unpack_to_dir (line 24) | def unpack_to_dir(self, unpack_dir): class ReceivedIpaApp (line 31) | class ReceivedIpaApp(ReceivedApp): method unpack_to_dir (line 32) | def unpack_to_dir(self, target_dir): class App (line 37) | class App(object): method __init__ (line 38) | def __init__(self, path): method get_app_dir (line 46) | def get_app_dir(self): method provision (line 49) | def provision(self, provision_path): method create_entitlements (line 53) | def create_entitlements(self): method codesign (line 82) | def codesign(self, certificate, path, extra_args=[]): method sign (line 85) | def sign(self, certificate): method package (line 97) | def package(self, output_path): class IpaApp (line 104) | class IpaApp(App): method _get_payload_dir (line 105) | def _get_payload_dir(self): method get_app_dir (line 108) | def get_app_dir(self): method package (line 117) | def package(self, output_path): function absolute_path_argument (line 132) | def absolute_path_argument(path): function exists_absolute_path_argument (line 136) | def exists_absolute_path_argument(path): function app_argument (line 142) | def app_argument(path): function parse_args (line 155) | def parse_args(): FILE: isign/archive.py function get_helper (line 31) | def get_helper(helper_name): function make_temp_dir (line 42) | def make_temp_dir(): function get_watchkit_paths (line 46) | def get_watchkit_paths(root_bundle_path): function process_watchkit (line 73) | def process_watchkit(root_bundle_path, should_remove=False): class Archive (line 88) | class Archive(object): method unarchive_to_temp (line 94) | def unarchive_to_temp(self): method archive (line 99) | def archive(cls, path, output_path): method get_info (line 104) | def get_info(cls, path): method precheck (line 109) | def precheck(cls, path): method find_bundle_dir (line 114) | def find_bundle_dir(cls, path): class AppArchive (line 119) | class AppArchive(Archive): method find_bundle_dir (line 124) | def find_bundle_dir(cls, path): method _get_plist_path (line 130) | def _get_plist_path(cls, path): method get_info (line 134) | def get_info(cls, path): method precheck (line 138) | def precheck(cls, path): method archive (line 149) | def archive(cls, path, output_path): method __init__ (line 155) | def __init__(self, path): method unarchive_to_temp (line 160) | def unarchive_to_temp(self): class AppZipArchive (line 169) | class AppZipArchive(Archive): method is_helpers_present (line 177) | def is_helpers_present(cls): method is_archive_extension_match (line 188) | def is_archive_extension_match(cls, path): method find_bundle_dir (line 198) | def find_bundle_dir(cls, zipfile_obj): method _get_plist_path (line 216) | def _get_plist_path(cls, relative_bundle_dir): method precheck (line 220) | def precheck(cls, path): method get_info (line 246) | def get_info(cls, relative_bundle_dir, zipfile_obj): method __init__ (line 251) | def __init__(self, path): method unarchive_to_temp (line 258) | def unarchive_to_temp(self): method archive (line 266) | def archive(cls, containing_dir, output_path): class IpaArchive (line 290) | class IpaArchive(AppZipArchive): class UncompressedArchive (line 297) | class UncompressedArchive(object): method __init__ (line 305) | def __init__(self, path, relative_bundle_dir, archive_class): method archive (line 317) | def archive(self, output_path): method clone (line 322) | def clone(self, target_path): method remove (line 330) | def remove(self): function archive_factory (line 338) | def archive_factory(path): function view (line 350) | def view(input_path): function resign (line 367) | def resign(input_path, FILE: isign/bundle.py function is_info_plist_native (line 29) | def is_info_plist_native(plist): class Bundle (line 37) | class Bundle(object): method __init__ (line 44) | def __init__(self, path): method get_entitlements_path (line 59) | def get_entitlements_path(self): method get_executable_path (line 62) | def get_executable_path(self): method update_info_props (line 77) | def update_info_props(self, new_props): method info_props_changed (line 110) | def info_props_changed(self): method info_prop_changed (line 113) | def info_prop_changed(self, key): method get_info_prop (line 121) | def get_info_prop(self, key): method sign_dylibs (line 124) | def sign_dylibs(self, signer, path): method sign (line 130) | def sign(self, signer): method resign (line 174) | def resign(self, signer): class Framework (line 180) | class Framework(Bundle): method __init__ (line 189) | def __init__(self, path): class App (line 193) | class App(Bundle): method __init__ (line 201) | def __init__(self, path): method provision (line 208) | def provision(self, provision_path): method extract_entitlements (line 212) | def extract_entitlements(provision_path): method write_entitlements (line 233) | def write_entitlements(self, entitlements): method resign (line 239) | def resign(self, signer, provisioning_profile, alternate_entitlements_... FILE: isign/code_resources.py function writeValue (line 26) | def writeValue(self, value): class PathRule (line 41) | class PathRule(object): method __init__ (line 48) | def __init__(self, pattern='', properties=None): method is_optional (line 70) | def is_optional(self): method is_omitted (line 73) | def is_omitted(self): method is_nested (line 76) | def is_nested(self): method is_exclusion (line 79) | def is_exclusion(self): method is_top (line 82) | def is_top(self): method matches (line 85) | def matches(self, path): method __str__ (line 88) | def __str__(self): class ResourceBuilder (line 92) | class ResourceBuilder(object): method __init__ (line 95) | def __init__(self, app_path, rules_data, respect_omissions=False, incl... method find_rule (line 104) | def find_rule(self, path): method get_rule_and_paths (line 116) | def get_rule_and_paths(self, root, path): method scan (line 122) | def scan(self): function get_template (line 183) | def get_template(): function get_hash_hex (line 195) | def get_hash_hex(path, hash_type='sha1'): function get_hash_binary (line 213) | def get_hash_binary(path, hash_type='sha1'): function write_plist (line 218) | def write_plist(target_dir, plist): function make_seal (line 229) | def make_seal(source_app_path, target_dir=None): FILE: isign/codesig.py class CodeDirectorySlot (line 15) | class CodeDirectorySlot(object): method __init__ (line 19) | def __init__(self, codesig): method get_hash (line 22) | def get_hash(self, hash_algorithm): class DerEntitlementsSlot (line 30) | class DerEntitlementsSlot(CodeDirectorySlot): method get_contents (line 33) | def get_contents(self): class EntitlementsSlot (line 38) | class EntitlementsSlot(CodeDirectorySlot): method get_contents (line 41) | def get_contents(self): class ApplicationSlot (line 46) | class ApplicationSlot(CodeDirectorySlot): method get_hash (line 49) | def get_hash(self, hash_algorithm): class ResourceDirSlot (line 59) | class ResourceDirSlot(CodeDirectorySlot): method __init__ (line 62) | def __init__(self, seal_path): method get_contents (line 65) | def get_contents(self): class RequirementsSlot (line 69) | class RequirementsSlot(CodeDirectorySlot): method get_contents (line 72) | def get_contents(self): class InfoSlot (line 77) | class InfoSlot(CodeDirectorySlot): method __init__ (line 80) | def __init__(self, info_path): method get_contents (line 83) | def get_contents(self): class Codesig (line 89) | class Codesig(object): method __init__ (line 91) | def __init__(self, signable, data): method is_sha256_signature (line 96) | def is_sha256_signature(self): method build_data (line 99) | def build_data(self): method get_blobs (line 102) | def get_blobs(self, magic, min_expected=None, max_expected=None): method get_blob_data (line 120) | def get_blob_data(self, blob): method set_entitlements (line 124) | def set_entitlements(self, entitlements_path): method set_requirements (line 144) | def set_requirements(self, signer): method get_codedirectory_hash_index (line 198) | def get_codedirectory_hash_index(self, slot, code_directory): method has_codedirectory_slot (line 204) | def has_codedirectory_slot(self, slot, code_directory): method fill_codedirectory_slot (line 212) | def fill_codedirectory_slot(self, slot, code_directory, hash_algorithm): method set_codedirectories (line 217) | def set_codedirectories(self, seal_path, info_path, signer): method set_signature (line 262) | def set_signature(self, signer): method update_offsets (line 287) | def update_offsets(self): method resign (line 299) | def resign(self, bundle, signer): FILE: isign/der_encoder.py function encode (line 8) | def encode(element): function _turn_into_der_structure (line 12) | def _turn_into_der_structure(element): FILE: isign/exceptions.py class NotSignable (line 5) | class NotSignable(Exception): class NotMatched (line 11) | class NotMatched(Exception): class MissingHelpers (line 17) | class MissingHelpers(NotSignable): class MissingCredentials (line 22) | class MissingCredentials(Exception): class ImproperCredentials (line 27) | class ImproperCredentials(Exception): class OpenSslFailure (line 32) | class OpenSslFailure(Exception): FILE: isign/isign.py class NotSignable (line 18) | class NotSignable(Exception): function get_credential_paths (line 23) | def get_credential_paths(directory, file_names=DEFAULT_CREDENTIAL_FILE_N... function resign_with_creds_dir (line 53) | def resign_with_creds_dir(input_path, function resign (line 61) | def resign(input_path, function view (line 86) | def view(input_path): FILE: isign/macho_cs.py class PlistAdapter (line 14) | class PlistAdapter(Adapter): method _encode (line 15) | def _encode(self, obj, context): method _decode (line 18) | def _decode(self, obj, context): FILE: isign/makesig.py function make_arg (line 25) | def make_arg(data_type, arg): function make_expr (line 51) | def make_expr(op, *args): function make_requirements (line 68) | def make_requirements(drs, ident, common_name): function build_code_directory_blob (line 110) | def build_code_directory_blob(hash_algorithm, teamID, ident_for_signatur... function make_basic_codesig (line 177) | def make_basic_codesig(entitlements_file, drs, code_limit, hashes_sha1, ... function make_signature (line 311) | def make_signature(arch_macho, arch_offset, arch_size, cmds, f, entitlem... FILE: isign/multisign.py function resign (line 14) | def resign(args): function clone_ua (line 42) | def clone_ua(args): function multisign (line 50) | def multisign(original_path, cred_dirs_to_output_paths, info_props=None): function multisign_archive (line 70) | def multisign_archive(archive, cred_dirs_to_output_paths, info_props=None): FILE: isign/signable.py class Signable (line 28) | class Signable(object): method __init__ (line 33) | def __init__(self, bundle, path, signer): method _parse_arches (line 50) | def _parse_arches(self): method _get_arch (line 73) | def _get_arch(self, macho, arch_offset, arch_size): method _sign_arch (line 127) | def _sign_arch(self, arch, app, signer): method should_fill_slot (line 147) | def should_fill_slot(self, codesig, slot): method get_changed_bundle_id (line 167) | def get_changed_bundle_id(self): method sign (line 174) | def sign(self, app, signer): class Executable (line 264) | class Executable(Signable): class Dylib (line 274) | class Dylib(Signable): class Appex (line 287) | class Appex(Signable): class Framework (line 295) | class Framework(Signable): FILE: isign/signer.py function openssl_command (line 29) | def openssl_command(args, data=None, expect_err=False): function get_installed_openssl_version (line 59) | def get_installed_openssl_version(): function is_openssl_version_ok (line 65) | def is_openssl_version_ok(version, minimum): function openssl_version_to_tuple (line 72) | def openssl_version_to_tuple(s): class Signer (line 81) | class Signer(object): method __init__ (line 84) | def __init__(self, method check_openssl_version (line 108) | def check_openssl_version(self): method sign (line 114) | def sign(self, data, digest_algorithm = "sha1"): method get_common_name (line 137) | def get_common_name(self): method _log_parsed_asn1 (line 144) | def _log_parsed_asn1(self, data): method _get_team_id (line 149) | def _get_team_id(self): FILE: isign/utils.py function print_data (line 6) | def print_data(data): function round_up (line 13) | def round_up(x, k): function print_structure (line 17) | def print_structure(container, struct): function remove_control_char (line 22) | def remove_control_char(str): FILE: tests/generate_codesig_construct_txt.py function log_to_stderr (line 13) | def log_to_stderr(level=logging.INFO): FILE: tests/isign_base_test.py class IsignBaseTest (line 13) | class IsignBaseTest(unittest.TestCase): method setUp (line 39) | def setUp(self): method tearDown (line 43) | def tearDown(self): method resign (line 52) | def resign(self, filename, **args): method unlink (line 61) | def unlink(self, path): method get_temp_file (line 68) | def get_temp_file(self, prefix='isign-test-'): method get_temp_dir (line 75) | def get_temp_dir(self, prefix='isign-test-'): FILE: tests/monitor_temp_file.py class MonitorTempFile (line 14) | class MonitorTempFile(object): method mkdtemp (line 18) | def mkdtemp(cls, *args, **kwargs): method mkstemp (line 24) | def mkstemp(cls, *args, **kwargs): method NamedTemporaryFile (line 30) | def NamedTemporaryFile(cls, *args, **kwargs): method start (line 36) | def start(cls): method stop (line 57) | def stop(cls): method get_temp_files (line 70) | def get_temp_files(cls): method has_no_temp_files (line 74) | def has_no_temp_files(cls): FILE: tests/test_archive.py class TestArchive (line 8) | class TestArchive(IsignBaseTest): method _test_good (line 10) | def _test_good(self, filename, klass): method test_archive_factory_app (line 16) | def test_archive_factory_app(self): method test_archive_factory_appzip (line 19) | def test_archive_factory_appzip(self): method test_archive_factory_ipa (line 22) | def test_archive_factory_ipa(self): method test_archive_factory_nonapp_dir (line 25) | def test_archive_factory_nonapp_dir(self): method test_archive_factory_nonapp_ipa (line 29) | def test_archive_factory_nonapp_ipa(self): method test_archive_factory_nonapp_txt (line 33) | def test_archive_factory_nonapp_txt(self): method test_archive_factory_nonapp_simulator_app (line 37) | def test_archive_factory_nonapp_simulator_app(self): class TestBundleInfo (line 42) | class TestBundleInfo(IsignBaseTest): method _test_bundle_info (line 44) | def _test_bundle_info(self, filename): method test_app_archive_info (line 50) | def test_app_archive_info(self): method test_appzip_archive_info (line 53) | def test_appzip_archive_info(self): method test_ipa_archive_info (line 56) | def test_ipa_archive_info(self): class TestArchivePrecheck (line 60) | class TestArchivePrecheck(IsignBaseTest): method test_precheck_app (line 62) | def test_precheck_app(self): method test_precheck_appzip (line 65) | def test_precheck_appzip(self): method test_precheck_ipa (line 68) | def test_precheck_ipa(self): method test_bad_precheck_app (line 71) | def test_bad_precheck_app(self): method test_bad_precheck_appzip (line 76) | def test_bad_precheck_appzip(self): method test_bad_precheck_ipa (line 80) | def test_bad_precheck_ipa(self): FILE: tests/test_creds_dir.py class TestCredentialsDir (line 11) | class TestCredentialsDir(IsignBaseTest): method test_creds_dir (line 13) | def test_creds_dir(self): method test_bad_creds_dir (line 24) | def test_bad_creds_dir(self): FILE: tests/test_entitlements.py class TestEntitlements (line 8) | class TestEntitlements(IsignBaseTest): method test_entitlements_extraction (line 9) | def test_entitlements_extraction(self): FILE: tests/test_helpers.py class MissingHelpersArchive (line 12) | class MissingHelpersArchive(AppZipArchive): function dummy_find_executable (line 17) | def dummy_find_executable(name): class TestHelpers (line 21) | class TestHelpers(IsignBaseTest): method test_helpers_is_present (line 22) | def test_helpers_is_present(self): method test_helpers_become_present (line 27) | def test_helpers_become_present(self): FILE: tests/test_multisign.py class TestMultisign (line 10) | class TestMultisign(IsignBaseTest): method test_multisign (line 12) | def test_multisign(self): FILE: tests/test_parsing.py class TestParsing (line 9) | class TestParsing(IsignBaseTest): method test_app (line 16) | def test_app(self): FILE: tests/test_public_interface.py class TestPublicInterface (line 10) | class TestPublicInterface(IsignBaseTest): method _test_signable (line 12) | def _test_signable(self, filename, output_path): method _test_unsignable (line 18) | def _test_unsignable(self, filename, output_path): method test_app (line 23) | def test_app(self): method test_app_ipa (line 26) | def test_app_ipa(self): method test_app_with_frameworks_ipa (line 29) | def test_app_with_frameworks_ipa(self): method test_appzip (line 32) | def test_appzip(self): method test_non_app_txt (line 35) | def test_non_app_txt(self): method test_non_app_ipa (line 38) | def test_non_app_ipa(self): method test_simulator_app (line 41) | def test_simulator_app(self): FILE: tests/test_sig.py class TestSigner (line 6) | class TestSigner(IsignBaseTest): method test_bad_signature (line 8) | def test_bad_signature(self): FILE: tests/test_versioning.py class VersioningTestCase (line 11) | class VersioningTestCase(unittest.TestCase): method assert_proper_attribute (line 13) | def assert_proper_attribute(self, attribute): method test_version_attribute (line 20) | def test_version_attribute(self): method test_commit_attribute (line 32) | def test_commit_attribute(self): method test_build_attribute (line 35) | def test_build_attribute(self): FILE: tests/test_versus_apple.py class TestVersusApple (line 19) | class TestVersusApple(IsignBaseTest): method codesign_display (line 20) | def codesign_display(self, path): method codesign_display_parse (line 35) | def codesign_display_parse(self, out): method get_dict_with_key (line 106) | def get_dict_with_key(self, x, key): method get_hashes_from_codesign_output_info (line 116) | def get_hashes_from_codesign_output_info(self, info): method assert_common_signed_properties (line 122) | def assert_common_signed_properties(self, info): method assert_common_signed_hashes (line 168) | def assert_common_signed_hashes(self, info, start_index, end_index): method assert_hashes_for_signable (line 176) | def assert_hashes_for_signable(self, info, hashes_to_check): method assert_matching_identifier (line 198) | def assert_matching_identifier(self, app_path, expected): method check_bundle (line 203) | def check_bundle(self, path): method check_dylib (line 211) | def check_dylib(self, path): method test_override_identifier (line 216) | def test_override_identifier(self): method test_app (line 264) | def test_app(self): method test_app_from_scratch (line 301) | def test_app_from_scratch(self):