| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NET_CERT_INTERNAL_VERIFY_CERTIFICATE_CHAIN_H_ | 5 #ifndef NET_CERT_INTERNAL_VERIFY_CERTIFICATE_CHAIN_H_ |
| 6 #define NET_CERT_INTERNAL_VERIFY_CERTIFICATE_CHAIN_H_ | 6 #define NET_CERT_INTERNAL_VERIFY_CERTIFICATE_CHAIN_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 NET_EXPORT void VerifyCertificateChain(const ParsedCertificateList& certs, | 112 NET_EXPORT void VerifyCertificateChain(const ParsedCertificateList& certs, |
| 113 const CertificateTrust& last_cert_trust, | 113 const CertificateTrust& last_cert_trust, |
| 114 const SignaturePolicy* signature_policy, | 114 const SignaturePolicy* signature_policy, |
| 115 const der::GeneralizedTime& time, | 115 const der::GeneralizedTime& time, |
| 116 KeyPurpose required_key_purpose, | 116 KeyPurpose required_key_purpose, |
| 117 CertPathErrors* errors); | 117 CertPathErrors* errors); |
| 118 | 118 |
| 119 // TODO(crbug.com/634443): Move exported errors to a central location? | 119 // TODO(crbug.com/634443): Move exported errors to a central location? |
| 120 extern CertErrorId kValidityFailedNotAfter; | 120 extern CertErrorId kValidityFailedNotAfter; |
| 121 extern CertErrorId kValidityFailedNotBefore; | 121 extern CertErrorId kValidityFailedNotBefore; |
| 122 NET_EXPORT extern CertErrorId kCertIsDistrusted; |
| 122 | 123 |
| 123 } // namespace net | 124 } // namespace net |
| 124 | 125 |
| 125 #endif // NET_CERT_INTERNAL_VERIFY_CERTIFICATE_CHAIN_H_ | 126 #endif // NET_CERT_INTERNAL_VERIFY_CERTIFICATE_CHAIN_H_ |
| OLD | NEW |