#include "net/ssl/ssl_platform_key_nss.h"
#include <string>
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/memory/ref_counted.h"
#include "crypto/nss_crypto_module_delegate.h"
#include "crypto/scoped_nss_types.h"
#include "crypto/scoped_test_nss_db.h"
#include "net/cert/x509_util_nss.h"
#include "net/ssl/ssl_private_key.h"
#include "net/ssl/ssl_private_key_test_util.h"
#include "net/test/cert_test_util.h"
#include "net/test/test_data_directory.h"
#include "net/test/test_with_task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/boringssl/src/include/openssl/evp.h"
namespace net {
namespace {
struct TestKey { … };
const TestKey kTestKeys[] = …;
std::string TestKeyToString(const testing::TestParamInfo<TestKey>& params) { … }
}
class SSLPlatformKeyNSSTest : public testing::TestWithParam<TestKey>,
public WithTaskEnvironment { … };
TEST_P(SSLPlatformKeyNSSTest, KeyMatches) { … }
INSTANTIATE_TEST_SUITE_P(…);
}