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

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

Issue 10545166: Support SHA-256 in public key pins for HTTPS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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
OLDNEW
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_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 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 28 matching lines...) Expand all
39 // chain. 39 // chain.
40 CertStatus cert_status; 40 CertStatus cert_status;
41 41
42 // Properties of the certificate chain. 42 // Properties of the certificate chain.
43 bool has_md5; 43 bool has_md5;
44 bool has_md2; 44 bool has_md2;
45 bool has_md4; 45 bool has_md4;
46 bool has_md5_ca; 46 bool has_md5_ca;
47 bool has_md2_ca; 47 bool has_md2_ca;
48 48
49 // If the certificate was successfully verified then this contains the SHA1 49 // If the certificate was successfully verified then this contains the
50 // fingerprints of the SubjectPublicKeyInfos of the chain. The fingerprint 50 // fingerprints of the SubjectPublicKeyInfos of the chain. The fingerprint
51 // from the leaf certificate will be the first element of the vector. 51 // from the leaf certificate will be the first element of the vector.
52 std::vector<SHA1Fingerprint> public_key_hashes; 52 std::vector<Fingerprint> public_key_hashes;
53 53
54 // is_issued_by_known_root is true if we recognise the root CA as a standard 54 // is_issued_by_known_root is true if we recognise the root CA as a standard
55 // root. If it isn't then it's probably the case that this certificate was 55 // root. If it isn't then it's probably the case that this certificate was
56 // generated by a MITM proxy whose root has been installed locally. This is 56 // generated by a MITM proxy whose root has been installed locally. This is
57 // meaningless if the certificate was not trusted. 57 // meaningless if the certificate was not trusted.
58 bool is_issued_by_known_root; 58 bool is_issued_by_known_root;
59 }; 59 };
60 60
61 } // namespace net 61 } // namespace net
62 62
63 #endif // NET_BASE_CERT_VERIFY_RESULT_H_ 63 #endif // NET_BASE_CERT_VERIFY_RESULT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698