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

Side by Side Diff: net/ssl/ssl_config.h

Issue 547603002: Certificate Transparency: Code for unpacking EV cert hashes whitelist (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Avoiding globals in favour of passing the SSLConfigService around Created 6 years, 2 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SSL_SSL_CONFIG_H_ 5 #ifndef NET_SSL_SSL_CONFIG_H_
6 #define NET_SSL_SSL_CONFIG_H_ 6 #define NET_SSL_SSL_CONFIG_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "net/base/net_export.h" 10 #include "net/base/net_export.h"
11 #include "net/cert/ct_ev_whitelist.h"
11 #include "net/cert/x509_certificate.h" 12 #include "net/cert/x509_certificate.h"
12 13
13 namespace net { 14 namespace net {
14 15
15 // Various TLS/SSL ProtocolVersion values encoded as uint16 16 // Various TLS/SSL ProtocolVersion values encoded as uint16
16 // struct { 17 // struct {
17 // uint8 major; 18 // uint8 major;
18 // uint8 minor; 19 // uint8 minor;
19 // } ProtocolVersion; 20 // } ProtocolVersion;
20 // The most significant byte is |major|, and the least significant byte 21 // The most significant byte is |major|, and the least significant byte
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 143
143 // The list of application level protocols supported. If set, this will 144 // The list of application level protocols supported. If set, this will
144 // enable Next Protocol Negotiation (if supported). The order of the 145 // enable Next Protocol Negotiation (if supported). The order of the
145 // protocols doesn't matter expect for one case: if the server supports Next 146 // protocols doesn't matter expect for one case: if the server supports Next
146 // Protocol Negotiation, but there is no overlap between the server's and 147 // Protocol Negotiation, but there is no overlap between the server's and
147 // client's protocol sets, then the first protocol in this list will be 148 // client's protocol sets, then the first protocol in this list will be
148 // requested by the client. 149 // requested by the client.
149 std::vector<std::string> next_protos; 150 std::vector<std::string> next_protos;
150 151
151 scoped_refptr<X509Certificate> client_cert; 152 scoped_refptr<X509Certificate> client_cert;
153 scoped_refptr<ct::EVCertsWhitelist> ev_certs_whitelist;
152 }; 154 };
153 155
154 } // namespace net 156 } // namespace net
155 157
156 #endif // NET_SSL_SSL_CONFIG_H_ 158 #endif // NET_SSL_SSL_CONFIG_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698