blob: 45c8ed319e6af752da2dba95701a7ec0f48850d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_BASE_CERT_TEST_UTIL_H_
#define NET_BASE_CERT_TEST_UTIL_H_
#pragma once
#include "build/build_config.h"
class FilePath;
namespace net {
class X509Certificate;
#if defined(USE_NSS) || defined(OS_MACOSX)
// Loads and trusts a root CA certificate (stored in a file) temporarily.
// TODO(wtc): Implement this function on Windows (http://crbug.com/8470).
X509Certificate* LoadTemporaryRootCert(const FilePath& filename);
#endif
} // namespace net
#endif // NET_BASE_CERT_TEST_UTIL_H_
|