Searched refs:allowed_key_paths (Results 1 – 2 of 2) sorted by relevance
460 std::vector<std::string> allowed_key_paths; in TEST_F() local461 allowed_key_paths.push_back(rsa2048_public_key.value()); in TEST_F()462 allowed_key_paths.push_back(rsa4096_public_key.value()); in TEST_F()471 EXPECT_TRUE(ValidatePublicKeyBlob(expected_key_blob_2048, allowed_key_paths)); in TEST_F()472 EXPECT_TRUE(ValidatePublicKeyBlob(expected_key_blob_4096, allowed_key_paths)); in TEST_F()474 EXPECT_FALSE(ValidatePublicKeyBlob(expected_key_blob_8192, allowed_key_paths)); in TEST_F()475 EXPECT_FALSE(ValidatePublicKeyBlob("invalid_content", allowed_key_paths)); in TEST_F()476 EXPECT_FALSE(ValidatePublicKeyBlob("", allowed_key_paths)); in TEST_F()478 allowed_key_paths.push_back(rsa8192_public_key.value()); in TEST_F()479 EXPECT_TRUE(ValidatePublicKeyBlob(expected_key_blob_8192, allowed_key_paths)); in TEST_F()
383 const std::vector<std::string>& allowed_key_paths) { in ValidatePublicKeyBlob() argument389 for (const auto& path : allowed_key_paths) { in ValidatePublicKeyBlob()