blob: 45c8ed319e6af752da2dba95701a7ec0f48850d8 [file] [log] [blame]
[email protected]c81d9dcc2010-03-17 00:51:441// Copyright (c) 2010 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef NET_BASE_CERT_TEST_UTIL_H_
6#define NET_BASE_CERT_TEST_UTIL_H_
[email protected]32b76ef2010-07-26 23:08:247#pragma once
[email protected]c81d9dcc2010-03-17 00:51:448
[email protected]c81d9dcc2010-03-17 00:51:449#include "build/build_config.h"
10
[email protected]864b1362010-08-19 03:49:3811class FilePath;
12
[email protected]c81d9dcc2010-03-17 00:51:4413namespace net {
14
15class X509Certificate;
16
17#if defined(USE_NSS) || defined(OS_MACOSX)
18// Loads and trusts a root CA certificate (stored in a file) temporarily.
19// TODO(wtc): Implement this function on Windows (http://crbug.com/8470).
20X509Certificate* LoadTemporaryRootCert(const FilePath& filename);
21#endif
22
23} // namespace net
24
25#endif // NET_BASE_CERT_TEST_UTIL_H_