Searched refs:certs (Results 1 – 3 of 3) sorted by relevance
/bootable/recovery/tests/component/ |
D | verifier_test.cpp | 49 ASSERT_TRUE(load_keys(public_key_file.c_str(), certs)); in SetUp() 54 std::vector<Certificate> certs; member in VerifierTest 73 std::vector<Certificate> certs; in TEST() local 74 ASSERT_TRUE(load_keys(key_file1.path, certs)); in TEST() 75 ASSERT_EQ(3U, certs.size()); in TEST() 79 std::vector<Certificate> certs; in TEST() local 80 ASSERT_FALSE(load_keys("/doesntexist", certs)); in TEST() 84 ASSERT_FALSE(load_keys(key_file1.path, certs)); in TEST() 88 ASSERT_FALSE(load_keys(key_file1.path, certs)); in TEST() 98 ASSERT_FALSE(load_keys(key_file2.path, certs)); in TEST() [all …]
|
/bootable/recovery/ |
D | verifier.h | 71 bool load_keys(const char* filename, std::vector<Certificate>& certs);
|
D | verifier.cpp | 476 bool load_keys(const char* filename, std::vector<Certificate>& certs) { in load_keys() argument 484 certs.emplace_back(0, Certificate::KEY_TYPE_RSA, nullptr, nullptr); in load_keys() 485 Certificate& cert = certs.back(); in load_keys()
|