known_roots_nss.h 597 B

1234567891011121314151617181920
  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_NSS_H_
  5. #define NET_CERT_KNOWN_ROOTS_NSS_H_
  6. #include "net/base/net_export.h"
  7. typedef struct CERTCertificateStr CERTCertificate;
  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(CERTCertificate* root);
  12. } // namespace net
  13. #endif // NET_CERT_KNOWN_ROOTS_NSS_H_