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()196 bool PayloadVerifier::GetRawHashFromSignature( in GetRawHashFromSignature()224 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()
75 const PayloadVerifier& payload_verifier) const;
311 std::pair<std::unique_ptr<PayloadVerifier>, bool> CreatePayloadVerifier();
159 const PayloadVerifier& payload_verifier) const { in ValidateMetadataSignature()
1006 std::pair<std::unique_ptr<PayloadVerifier>, bool>1011 PayloadVerifier::CreateInstanceFromZipPath(update_certificates_path_), in CreatePayloadVerifier()1025 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()
275 auto payload_verifier = PayloadVerifier::CreateInstance(public_key); in VerifySignedPayload()314 PayloadVerifier::PadRSASHA256Hash(&padded_hash, RSA_size(rsa)); in SignHash()
475 auto payload_verifier = PayloadVerifier::CreateInstanceFromZipPath( in VerifyPayloadParseManifest()