known_roots_win.h 579 B

12345678910111213141516171819
  1. // Copyright (c) 2017 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. #ifndef NET_CERT_KNOWN_ROOTS_WIN_H_
  5. #define NET_CERT_KNOWN_ROOTS_WIN_H_
  6. #include "base/win/wincrypt_shim.h"
  7. #include "net/base/net_export.h"
  8. namespace net {
  9. // IsKnownRoot returns true if the given certificate is one that we believe
  10. // is a standard (as opposed to user-installed) root.
  11. NET_EXPORT_PRIVATE bool IsKnownRoot(PCCERT_CONTEXT cert);
  12. } // namespace net
  13. #endif // NET_CERT_KNOWN_ROOTS_WIN_H_