Searched refs:PayloadVerifier (Results 1 – 10 of 10) sorted by relevance
55 std::unique_ptr<PayloadVerifier> PayloadVerifier::CreateInstance( in CreateInstance()73 return std::unique_ptr<PayloadVerifier>(new PayloadVerifier(std::move(keys))); in CreateInstance()76 std::unique_ptr<PayloadVerifier> PayloadVerifier::CreateInstanceFromZipPath( in CreateInstanceFromZipPath()93 return std::unique_ptr<PayloadVerifier>( in CreateInstanceFromZipPath()94 new PayloadVerifier(std::move(public_keys))); in CreateInstanceFromZipPath()97 bool PayloadVerifier::VerifySignature( in VerifySignature()147 bool PayloadVerifier::VerifyRawSignature( in VerifyRawSignature()198 bool PayloadVerifier::GetRawHashFromSignature( in GetRawHashFromSignature()226 bool PayloadVerifier::PadRSASHA256Hash(brillo::Blob* hash, size_t rsa_size) { in PadRSASHA256Hash()
36 class PayloadVerifier {48 static std::unique_ptr<PayloadVerifier> CreateInstance(53 static std::unique_ptr<PayloadVerifier> CreateInstanceFromZipPath(73 explicit PayloadVerifier( in PayloadVerifier() function
55 auto verifier = PayloadVerifier::CreateInstanceFromZipPath( in TEST()
72 const PayloadVerifier& payload_verifier) const;
136 const PayloadVerifier& payload_verifier) const { in ValidateMetadataSignature()
306 std::pair<std::unique_ptr<PayloadVerifier>, bool> CreatePayloadVerifier();
1550 std::pair<std::unique_ptr<PayloadVerifier>, bool>1555 PayloadVerifier::CreateInstanceFromZipPath(update_certificates_path_), in CreatePayloadVerifier()1569 return {PayloadVerifier::CreateInstance(public_key), true}; in CreatePayloadVerifier()
143 auto payload_verifier = PayloadVerifier::CreateInstance(public_key); in TEST_F()156 auto payload_verifier = PayloadVerifier::CreateInstance(public_key); in TEST_F()164 payload_verifier = PayloadVerifier::CreateInstance(public_key); in TEST_F()
277 auto payload_verifier = PayloadVerifier::CreateInstance(public_key); in VerifySignedPayload()316 PayloadVerifier::PadRSASHA256Hash(&padded_hash, RSA_size(rsa)); in SignHash()
451 auto payload_verifier = PayloadVerifier::CreateInstanceFromZipPath( in VerifyPayloadParseManifest()