Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 5 #ifndef NET_CERT_KNOWN_ROOTS_NSS_H_ | |
| 6 #define NET_CERT_KNOWN_ROOTS_NSS_H_ | |
| 7 | |
| 8 #include <certt.h> | |
|
mattm
2017/04/20 02:14:12
typedef struct CERTCertificateStr CERTCertificate;
eroman
2017/04/20 17:30:59
Done.
| |
| 9 | |
| 10 #include "net/base/net_export.h" | |
| 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 bool IsKnownRoot(CERTCertificate* root); | |
| 17 | |
| 18 } // namespace net | |
| 19 | |
| 20 #endif // NET_CERT_KNOWN_ROOTS_NSS_H_ | |
| OLD | NEW |