Home
last modified time | relevance | path

Searched refs:unsigned_package (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/update/packaging_tools/
H A Dbuild_module_package.py295 def write_signed_package(unsigned_package, signature, signed_package): argument
305 remain_len = os.path.getsize(unsigned_package) - 2
306 with open(unsigned_package, 'rb') as f_unsign:
390 unsigned_package = os.path.join(
393 zip_file = zipfile.ZipFile(unsigned_package, 'w')
410 align_cmd = ['java', '-jar', SIGN_TOOL_PATH, unsigned_package, align_package, '4096']
433 if os.path.exists(unsigned_package):
434 os.remove(unsigned_package)
H A Dbuild_pkcs7.py129 def write_signed_package(unsigned_package, signature, signed_package): argument
139 remain_len = os.path.getsize(unsigned_package) - 2
140 with open(unsigned_package, 'rb') as f_unsign: