Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_CERT_VERIFY_RESULT_H_ | 5 #ifndef NET_CERT_CERT_VERIFY_RESULT_H_ |
| 6 #define NET_CERT_CERT_VERIFY_RESULT_H_ | 6 #define NET_CERT_CERT_VERIFY_RESULT_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| 11 #include "net/base/net_export.h" | 11 #include "net/base/net_export.h" |
| 12 #include "net/cert/cert_status_flags.h" | 12 #include "net/cert/cert_status_flags.h" |
| 13 #include "net/cert/x509_cert_types.h" | 13 #include "net/cert/x509_cert_types.h" |
| 14 #include "net/cert/x509_certificate.h" | |
|
estark
2015/07/09 17:27:21
I can't for the life of me figure out why this is
Ryan Sleevi
2015/07/09 19:40:26
Because you're invoking a compiler-default copy-ct
| |
| 14 | 15 |
| 15 namespace net { | 16 namespace net { |
| 16 | 17 |
| 17 class X509Certificate; | |
| 18 | |
| 19 // The result of certificate verification. | 18 // The result of certificate verification. |
| 20 class NET_EXPORT CertVerifyResult { | 19 class NET_EXPORT CertVerifyResult { |
| 21 public: | 20 public: |
| 22 CertVerifyResult(); | 21 CertVerifyResult(); |
| 23 ~CertVerifyResult(); | 22 ~CertVerifyResult(); |
| 24 | 23 |
| 25 void Reset(); | 24 void Reset(); |
| 26 | 25 |
| 27 // Copies from |other| to |this|. | 26 // Copies from |other| to |this|. |
| 28 void CopyFrom(const CertVerifyResult& other) { | 27 void CopyFrom(const CertVerifyResult& other) { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 65 bool is_issued_by_additional_trust_anchor; | 64 bool is_issued_by_additional_trust_anchor; |
| 66 | 65 |
| 67 // True if a fallback to the common name was used when matching the host | 66 // True if a fallback to the common name was used when matching the host |
| 68 // name, rather than using the subjectAltName. | 67 // name, rather than using the subjectAltName. |
| 69 bool common_name_fallback_used; | 68 bool common_name_fallback_used; |
| 70 }; | 69 }; |
| 71 | 70 |
| 72 } // namespace net | 71 } // namespace net |
| 73 | 72 |
| 74 #endif // NET_CERT_CERT_VERIFY_RESULT_H_ | 73 #endif // NET_CERT_CERT_VERIFY_RESULT_H_ |
| OLD | NEW |