#include "codesign.h"
#include "lipo.h"
#include "macho.h"
#include "core/io/plist.h"
#include "core/os/os.h"
#include "editor/editor_paths.h"
#include "editor/editor_settings.h"
#include "modules/modules_enabled.gen.h"
#include <ctime>
#ifdef MODULE_REGEX_ENABLED
String CodeSignCodeResources::hash_sha1_base64(const String &p_path) { … }
String CodeSignCodeResources::hash_sha256_base64(const String &p_path) { … }
void CodeSignCodeResources::add_rule1(const String &p_rule, const String &p_key, int p_weight, bool p_store) { … }
void CodeSignCodeResources::add_rule2(const String &p_rule, const String &p_key, int p_weight, bool p_store) { … }
CodeSignCodeResources::CRMatch CodeSignCodeResources::match_rules1(const String &p_path) const { … }
CodeSignCodeResources::CRMatch CodeSignCodeResources::match_rules2(const String &p_path) const { … }
bool CodeSignCodeResources::add_file1(const String &p_root, const String &p_path) { … }
bool CodeSignCodeResources::add_file2(const String &p_root, const String &p_path) { … }
bool CodeSignCodeResources::add_nested_file(const String &p_root, const String &p_path, const String &p_exepath) { … }
bool CodeSignCodeResources::add_folder_recursive(const String &p_root, const String &p_path, const String &p_main_exe_path) { … }
bool CodeSignCodeResources::save_to_file(const String &p_path) { … }
CodeSignRequirements::CodeSignRequirements() { … }
CodeSignRequirements::CodeSignRequirements(const PackedByteArray &p_data) { … }
_FORCE_INLINE_ void CodeSignRequirements::_parse_certificate_slot(uint32_t &r_pos, String &r_out, uint32_t p_rq_size) const { … }
_FORCE_INLINE_ void CodeSignRequirements::_parse_key(uint32_t &r_pos, String &r_out, uint32_t p_rq_size) const { … }
_FORCE_INLINE_ void CodeSignRequirements::_parse_oid_key(uint32_t &r_pos, String &r_out, uint32_t p_rq_size) const { … }
_FORCE_INLINE_ void CodeSignRequirements::_parse_hash_string(uint32_t &r_pos, String &r_out, uint32_t p_rq_size) const { … }
_FORCE_INLINE_ void CodeSignRequirements::_parse_value(uint32_t &r_pos, String &r_out, uint32_t p_rq_size) const { … }
_FORCE_INLINE_ void CodeSignRequirements::_parse_date(uint32_t &r_pos, String &r_out, uint32_t p_rq_size) const { … }
_FORCE_INLINE_ bool CodeSignRequirements::_parse_match(uint32_t &r_pos, String &r_out, uint32_t p_rq_size) const { … }
Vector<String> CodeSignRequirements::parse_requirements() const { … }
PackedByteArray CodeSignRequirements::get_hash_sha1() const { … }
PackedByteArray CodeSignRequirements::get_hash_sha256() const { … }
int CodeSignRequirements::get_size() const { … }
void CodeSignRequirements::write_to_file(Ref<FileAccess> p_file) const { … }
CodeSignEntitlementsText::CodeSignEntitlementsText() { … }
CodeSignEntitlementsText::CodeSignEntitlementsText(const String &p_string) { … }
PackedByteArray CodeSignEntitlementsText::get_hash_sha1() const { … }
PackedByteArray CodeSignEntitlementsText::get_hash_sha256() const { … }
int CodeSignEntitlementsText::get_size() const { … }
void CodeSignEntitlementsText::write_to_file(Ref<FileAccess> p_file) const { … }
CodeSignEntitlementsBinary::CodeSignEntitlementsBinary() { … }
CodeSignEntitlementsBinary::CodeSignEntitlementsBinary(const String &p_string) { … }
PackedByteArray CodeSignEntitlementsBinary::get_hash_sha1() const { … }
PackedByteArray CodeSignEntitlementsBinary::get_hash_sha256() const { … }
int CodeSignEntitlementsBinary::get_size() const { … }
void CodeSignEntitlementsBinary::write_to_file(Ref<FileAccess> p_file) const { … }
CodeSignCodeDirectory::CodeSignCodeDirectory() { … }
CodeSignCodeDirectory::CodeSignCodeDirectory(uint8_t p_hash_size, uint8_t p_hash_type, bool p_main, const CharString &p_id, const CharString &p_team_id, uint32_t p_page_size, uint64_t p_exe_limit, uint64_t p_code_limit) { … }
bool CodeSignCodeDirectory::set_hash_in_slot(const PackedByteArray &p_hash, int p_slot) { … }
int32_t CodeSignCodeDirectory::get_page_count() { … }
int32_t CodeSignCodeDirectory::get_page_remainder() { … }
PackedByteArray CodeSignCodeDirectory::get_hash_sha1() const { … }
PackedByteArray CodeSignCodeDirectory::get_hash_sha256() const { … }
int CodeSignCodeDirectory::get_size() const { … }
void CodeSignCodeDirectory::write_to_file(Ref<FileAccess> p_file) const { … }
CodeSignSignature::CodeSignSignature() { … }
PackedByteArray CodeSignSignature::get_hash_sha1() const { … }
PackedByteArray CodeSignSignature::get_hash_sha256() const { … }
int CodeSignSignature::get_size() const { … }
void CodeSignSignature::write_to_file(Ref<FileAccess> p_file) const { … }
bool CodeSignSuperBlob::add_blob(const Ref<CodeSignBlob> &p_blob) { … }
int CodeSignSuperBlob::get_size() const { … }
void CodeSignSuperBlob::write_to_file(Ref<FileAccess> p_file) const { … }
PackedByteArray CodeSign::file_hash_sha1(const String &p_path) { … }
PackedByteArray CodeSign::file_hash_sha256(const String &p_path) { … }
Error CodeSign::_codesign_file(bool p_use_hardened_runtime, bool p_force, const String &p_info, const String &p_exe_path, const String &p_bundle_path, const String &p_ent_path, bool p_ios_bundle, String &r_error_msg) { … }
Error CodeSign::codesign(bool p_use_hardened_runtime, bool p_force, const String &p_path, const String &p_ent_path, String &r_error_msg) { … }
#endif