Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Side by Side Diff: net/base/cert_verify_result.h

Issue 21071: Add X509Certificate::Verify stubs for Mac and Linux.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | net/base/ssl_client_socket_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 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 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_BASE_CERT_VERIFY_RESULT_H_ 5 #ifndef NET_BASE_CERT_VERIFY_RESULT_H_
6 #define NET_BASE_CERT_VERIFY_RESULT_H_ 6 #define NET_BASE_CERT_VERIFY_RESULT_H_
7 7
8 namespace net { 8 namespace net {
9 9
10 // The result of certificate verification. 10 // The result of certificate verification. Eventually this may contain the
11 // certificate chain that was constructed during certificate verification.
11 class CertVerifyResult { 12 class CertVerifyResult {
12 public: 13 public:
13 CertVerifyResult() 14 CertVerifyResult() { Reset(); }
14 : cert_status(0), has_md5(false), has_md2(false), has_md4(false), 15
15 has_md5_ca(false), has_md2_ca(false) { 16 void Reset() {
17 cert_status = 0;
18 has_md5 = false;
19 has_md2 = false;
20 has_md4 = false;
21 has_md5_ca = false;
22 has_md2_ca = false;
16 } 23 }
17 24
18 int cert_status; 25 int cert_status;
19 26
20 // Properties of the certificate chain. 27 // Properties of the certificate chain.
21 bool has_md5; 28 bool has_md5;
22 bool has_md2; 29 bool has_md2;
23 bool has_md4; 30 bool has_md4;
24 bool has_md5_ca; 31 bool has_md5_ca;
25 bool has_md2_ca; 32 bool has_md2_ca;
26 }; 33 };
27 34
28 } // namespace net 35 } // namespace net
29 36
30 #endif // NET_BASE_CERT_VERIFY_RESULT_H_ 37 #endif // NET_BASE_CERT_VERIFY_RESULT_H_
31 38
OLDNEW
« no previous file with comments | « no previous file | net/base/ssl_client_socket_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698