naiveproxy/src/net/cert/known_roots_win.h
2022-05-29 18:11:59 +08:00

20 lines
579 B
C++

// 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"
#include "net/base/net_export.h"
namespace net {
// IsKnownRoot returns true if the given certificate is one that we believe
// is a standard (as opposed to user-installed) root.
NET_EXPORT_PRIVATE bool IsKnownRoot(PCCERT_CONTEXT cert);
} // namespace net
#endif // NET_CERT_KNOWN_ROOTS_WIN_H_