Home
last modified time | relevance | path

Searched refs:private_key (Results 1 – 9 of 9) sorted by relevance

/base/update/packaging_tools/
Dbuild_pkcs7.py80 private_key = serialization.load_pem_private_key(
88 signature = private_key.sign(
104 private_key = serialization.load_pem_private_key(
109 signature = private_key.sign(
158 def sign_ota_package(package_path, signed_package, private_key): argument
161 signature = sign_digest(digest, private_key)
Dbuild_update.py225 OPTIONS_MANAGER.private_key = args.private_key
242 OPTIONS_MANAGER.private_key]
436 def check_miss_private_key(private_key): argument
442 if private_key is None:
772 def check_args(private_key, source_package, target_package, update_package): argument
781 if source_package is False or private_key is False or \
784 if check_miss_private_key(private_key) is False:
807 partition_file, signing_algorithm, hash_algorithm, private_key = \
833 if check_args(private_key, source_package,
Dupdate_package.py132 if OPTIONS_MANAGER.private_key == ON_SERVER:
133 private_key = "./update_package.py"
135 private_key = OPTIONS_MANAGER.private_key.encode("utf-8")
144 OPTIONS_MANAGER.private_key)
234 if OPTIONS_MANAGER.private_key == ON_SERVER:
Dcreate_update_package.py204 private_key = serialization.load_pem_private_key(
213 signature = private_key.sign(digset, pad, hashes.SHA256())
222 private_key = serialization.load_pem_private_key(
226 signature = private_key.sign(digset, padding.PKCS1v15(), hashes.SHA256())
DREADME_zh.md77 -pk PRIVATE_KEY, --private_key PRIVATE_KEY Private key file path.
Dutils.py144 self.private_key = None
441 OPTIONS_MANAGER.private_key = None
654 OPTIONS_MANAGER.private_key)
DREADME.md65 -pk PRIVATE_KEY, --private_key PRIVATE_KEY Private key file path.
/base/update/packaging_tools/test/
Dtest_update_package.py86 OPTIONS_MANAGER.private_key = "../"
105 OPTIONS_MANAGER.private_key = "../"
/base/security/huks/interfaces/innerkits/huks_lite/
Dhks_client.h234 const uint32_t agreement_alg, const struct hks_blob *private_key,