Lines Matching refs:key_path
347 def __init__(self, key_path): argument
363 args = ['openssl', 'rsa', '-in', key_path, '-modulus', '-noout']
393 def encode_rsa_key(key_path): argument
405 key = RSAPublicKey(key_path)
441 algorithm_name, signature_num_bytes, key_path, argument
465 [signing_helper_with_files, algorithm_name, key_path, signing_file.name])
474 [signing_helper, algorithm_name, key_path],
480 ['openssl', 'rsautl', '-sign', '-inkey', key_path, '-raw'],
2223 …def verify_image(self, image_filename, key_path, expected_chain_partitions, follow_chain_partition… argument
2250 if key_path:
2251 print 'Verifying image {} using key at {}'.format(image_filename, key_path)
2252 key_blob = encode_rsa_key(key_path)
2303 self.verify_image(chained_image_filename, key_path, None, False)
2550 key_path, public_key_metadata_path, rollback_index, argument
2608 algorithm_name, key_path, public_key_metadata_path, descriptors,
2624 def _generate_vbmeta_blob(self, algorithm_name, key_path, argument
2794 if not key_path:
2797 encoded_key = encode_rsa_key(key_path)
2861 alg.signature_num_bytes, key_path,
2873 def extract_public_key(self, key_path, output): argument
2880 output.write(encode_rsa_key(key_path))
2966 key_path, argument
3106 algorithm_name, key_path, public_key_metadata_path, [h_desc],
3165 key_path, argument
3380 algorithm_name, key_path, public_key_metadata_path, [ht_desc],