Lines Matching refs:key_path
348 def __init__(self, key_path): argument
364 args = ['openssl', 'rsa', '-in', key_path, '-modulus', '-noout']
394 def encode_rsa_key(key_path): argument
406 key = RSAPublicKey(key_path)
442 algorithm_name, signature_num_bytes, key_path, argument
466 [signing_helper_with_files, algorithm_name, key_path, signing_file.name])
475 [signing_helper, algorithm_name, key_path],
481 ['openssl', 'rsautl', '-sign', '-inkey', key_path, '-raw'],
2139 def verify_image(self, image_filename, key_path, expected_chain_partitions): argument
2165 if key_path:
2166 print 'Verifying image {} using key at {}'.format(image_filename, key_path)
2167 key_blob = encode_rsa_key(key_path)
2367 key_path, public_key_metadata_path, rollback_index, argument
2425 algorithm_name, key_path, public_key_metadata_path, descriptors,
2441 def _generate_vbmeta_blob(self, algorithm_name, key_path, argument
2611 if not key_path:
2614 encoded_key = encode_rsa_key(key_path)
2678 alg.signature_num_bytes, key_path,
2690 def extract_public_key(self, key_path, output): argument
2697 output.write(encode_rsa_key(key_path))
2783 key_path, argument
2922 algorithm_name, key_path, public_key_metadata_path, [h_desc],
2981 key_path, argument
3185 algorithm_name, key_path, public_key_metadata_path, [ht_desc],