| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2009 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_BASE_CERT_VERIFY_RESULT_H_ |
| 6 #define NET_BASE_CERT_VERIFY_RESULT_H_ |
| 7 |
| 8 namespace net { |
| 9 |
| 10 // The result of certificate verification. |
| 11 class CertVerifyResult { |
| 12 public: |
| 13 CertVerifyResult() |
| 14 : cert_status(0), has_md5(false), has_md2(false), has_md4(false), |
| 15 has_md5_ca(false), has_md2_ca(false) { |
| 16 } |
| 17 |
| 18 int cert_status; |
| 19 |
| 20 // Properties of the certificate chain. |
| 21 bool has_md5; |
| 22 bool has_md2; |
| 23 bool has_md4; |
| 24 bool has_md5_ca; |
| 25 bool has_md2_ca; |
| 26 }; |
| 27 |
| 28 } // namespace net |
| 29 |
| 30 #endif // NET_BASE_CERT_VERIFY_RESULT_H_ |
| 31 |
| OLD | NEW |