1 // Copyright 2017 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef NET_CERT_KNOWN_ROOTS_NSS_H_ 6 #define NET_CERT_KNOWN_ROOTS_NSS_H_ 7 8 #include "net/base/net_export.h" 9 10 typedef struct CERTCertificateStr CERTCertificate; 11 12 namespace net { 13 14 // IsKnownRoot returns true if the given certificate is one that we believe 15 // is a standard (as opposed to user-installed) root. 16 NET_EXPORT_PRIVATE bool IsKnownRoot(CERTCertificate* root); 17 18 } // namespace net 19 20 #endif // NET_CERT_KNOWN_ROOTS_NSS_H_ 21