summaryrefslogtreecommitdiff
path: root/chromium/net/cert/known_roots_win.h
blob: 8b9cd243d07d0dfc0f61253b2d76eeb1983130a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) 2017 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_CERT_KNOWN_ROOTS_WIN_H_
#define NET_CERT_KNOWN_ROOTS_WIN_H_

#include "base/win/wincrypt_shim.h"

namespace net {

// IsKnownRoot returns true if the given certificate is one that we believe
// is a standard (as opposed to user-installed) root.
bool IsKnownRoot(PCCERT_CONTEXT cert);

}  // namespace net

#endif  // NET_CERT_KNOWN_ROOTS_WIN_H_