Home
last modified time | relevance | path

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

/system/update_engine/payload_consumer/
Dpayload_metadata.cc158 const string& metadata_signature, in ValidateMetadataSignature() argument
168 if (!metadata_signature.empty()) { in ValidateMetadataSignature()
170 if (!brillo::data_encoding::Base64Decode(metadata_signature, in ValidateMetadataSignature()
173 << metadata_signature; in ValidateMetadataSignature()
Dinstall_plan.h63 std::string metadata_signature; // signature of the metadata in base64 member
76 metadata_signature == that.metadata_signature &&
Dinstall_plan_unittest.cc29 .metadata_signature = "foo-signature", in TEST()
Dpayload_metadata.h74 const std::string& metadata_signature,
Ddelta_performer_integration_test.cc237 brillo::Blob metadata_signature, payload_signature; in SignGeneratedPayload() local
241 metadata_hash, private_key_path, &metadata_signature)); in SignGeneratedPayload()
245 {metadata_signature}, in SignGeneratedPayload()
291 brillo::Blob metadata_hash, metadata_signature; in SignGeneratedShellPayloadWithKeys() local
294 PayloadSigner::SignHash(metadata_hash, key_path, &metadata_signature)); in SignGeneratedShellPayloadWithKeys()
298 metadata_signature)); in SignGeneratedShellPayloadWithKeys()
800 &install_plan->payloads[0].metadata_signature)); in ApplyDeltaFile()
801 EXPECT_FALSE(install_plan->payloads[0].metadata_signature.empty()); in ApplyDeltaFile()
Dinstall_plan.cc139 {"metadata_signature", payload.metadata_signature}, in ToString()
Ddelta_performer_unittest.cc386 payload_.metadata_signature.clear(); in DoMetadataSignatureTest()
395 payload_.metadata_signature = kBogusMetadataSignature1; in DoMetadataSignatureTest()
409 &payload_.metadata_signature)); in DoMetadataSignatureTest()
410 EXPECT_FALSE(payload_.metadata_signature.empty()); in DoMetadataSignatureTest()
Ddelta_performer.cc368 payload, payload_->metadata_signature, *payload_verifier); in ParsePayloadMetadata()
/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()
455 string payload_signature, metadata_signature; in AddSignatureToPayload() local
460 metadata_signatures, padded_signature_sizes, &metadata_signature)); in AddSignatureToPayload()
467 metadata_signature, in AddSignatureToPayload()
Dpayload_file.cc243 string metadata_signature; in WritePayload() local
245 metadata_hash, {private_key_path}, &metadata_signature)); in WritePayload()
247 writer.Write(metadata_signature.data(), metadata_signature.size())); in WritePayload()
Dpayload_properties_unittest.cc106 R"("metadata_signature":"",)" in TEST_F()
/system/update_engine/scripts/update_payload/
Dpayload.py140 self.metadata_signature = None
232 self.metadata_signature = update_metadata_pb2.Signatures()
233 self.metadata_signature.ParseFromString(metadata_signature_raw)
/system/update_engine/cros/
Domaha_response.h48 std::string metadata_signature; member
Domaha_response_handler_action.cc106 .metadata_signature = package.metadata_signature, in PerformAction()
Dpayload_state_unittest.cc73 .metadata_signature = "metasign", in SetupPayloadStateWith2Urls()
158 .metadata_signature = "msign", in TEST_F()
210 .metadata_signature = "metasign", in TEST_F()
1612 .metadata_signature = "msign", in TEST_F()
1617 .metadata_signature = "msign", in TEST_F()
1641 .metadata_signature = "msign", in TEST_F()
1662 .metadata_signature = "msign", in TEST_F()
1685 .metadata_signature = "msign", in TEST_F()
1693 .metadata_signature = "msign", in TEST_F()
1728 .metadata_signature = "msign", in TEST_F()
Dpayload_state.cc864 package.metadata_signature.c_str(), in CalculateResponseSignature()
Dupdate_attempter.cc1192 ":" + payload.metadata_signature + ":"; in ProcessingDoneUpdate()
Domaha_request_action.cc652 out_package.metadata_signature = in ParsePackage()