Home
last modified time | relevance | path

Searched refs:metadata_signature (Results 1 – 17 of 17) sorted by relevance

/system/update_engine/payload_consumer/
Dpayload_metadata.cc135 const string& metadata_signature, in ValidateMetadataSignature() argument
145 if (!metadata_signature.empty()) { in ValidateMetadataSignature()
147 if (!brillo::data_encoding::Base64Decode(metadata_signature, in ValidateMetadataSignature()
150 << metadata_signature; in ValidateMetadataSignature()
Dinstall_plan.h64 std::string metadata_signature; // signature of the metadata in base64 member
75 metadata_signature == that.metadata_signature &&
Dpayload_metadata.h71 const std::string& metadata_signature,
Ddelta_performer_integration_test.cc196 brillo::Blob metadata_signature, payload_signature; in SignGeneratedPayload() local
200 metadata_hash, private_key_path, &metadata_signature)); in SignGeneratedPayload()
204 {metadata_signature}, in SignGeneratedPayload()
251 brillo::Blob metadata_hash, metadata_signature; in SignGeneratedShellPayloadWithKeys() local
254 PayloadSigner::SignHash(metadata_hash, key_path, &metadata_signature)); in SignGeneratedShellPayloadWithKeys()
258 metadata_signature)); in SignGeneratedShellPayloadWithKeys()
781 &install_plan->payloads[0].metadata_signature)); in ApplyDeltaFile()
782 EXPECT_FALSE(install_plan->payloads[0].metadata_signature.empty()); in ApplyDeltaFile()
Dinstall_plan.cc79 payload.metadata_signature.c_str(), in Dump()
Ddelta_performer_unittest.cc370 payload_.metadata_signature.clear(); in DoMetadataSignatureTest()
379 payload_.metadata_signature = kBogusMetadataSignature1; in DoMetadataSignatureTest()
393 &payload_.metadata_signature)); in DoMetadataSignatureTest()
394 EXPECT_FALSE(payload_.metadata_signature.empty()); in DoMetadataSignatureTest()
Ddelta_performer.cc518 payload, payload_->metadata_signature, *payload_verifier); in ParsePayloadMetadata()
679 if (!payload_->metadata_signature.empty()) { in Write()
/system/update_engine/payload_generator/
Dpayload_signer.cc92 const string& metadata_signature, in AddSignatureBlobToPayload() argument
108 uint32_t metadata_signature_size_be = htobe32(metadata_signature.size()); in AddSignatureBlobToPayload()
117 metadata_signature.begin(), in AddSignatureBlobToPayload()
118 metadata_signature.end()); in AddSignatureBlobToPayload()
119 metadata_signature_size = metadata_signature.size(); in AddSignatureBlobToPayload()
458 string payload_signature, metadata_signature; in AddSignatureToPayload() local
463 metadata_signatures, padded_signature_sizes, &metadata_signature)); in AddSignatureToPayload()
470 metadata_signature, in AddSignatureToPayload()
Dpayload_file.cc222 string metadata_signature; in WritePayload() local
224 metadata_hash, {private_key_path}, &metadata_signature)); in WritePayload()
226 writer.Write(metadata_signature.data(), metadata_signature.size())); in WritePayload()
Dpayload_properties_unittest.cc116 R"("metadata_signature":"",)" in TEST_F()
/system/update_engine/scripts/update_payload/
Dpayload.py129 self.metadata_signature = None
221 self.metadata_signature = update_metadata_pb2.Signatures()
222 self.metadata_signature.ParseFromString(metadata_signature_raw)
/system/update_engine/
Domaha_response.h49 std::string metadata_signature; member
Domaha_response_handler_action.cc107 .metadata_signature = package.metadata_signature, in PerformAction()
Dpayload_state_unittest.cc75 .metadata_signature = "metasign", in SetupPayloadStateWith2Urls()
154 .metadata_signature = "msign", in TEST()
206 .metadata_signature = "metasign", in TEST()
1675 .metadata_signature = "msign", in TEST()
1680 .metadata_signature = "msign", in TEST()
1705 .metadata_signature = "msign", in TEST()
1727 .metadata_signature = "msign", in TEST()
1751 .metadata_signature = "msign", in TEST()
1759 .metadata_signature = "msign", in TEST()
Domaha_request_action.cc609 out_package.metadata_signature = metadata_signatures[i]; in ParsePackage()
611 << out_package.metadata_signature; in ParsePackage()
Dpayload_state.cc862 package.metadata_signature.c_str(), in CalculateResponseSignature()
Dupdate_attempter.cc1244 ":" + payload.metadata_signature + ":"; in ProcessingDoneUpdate()