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

Unified Diff: net/socket/ssl_client_socket_nss.h

Issue 994743003: Support for client certs in ssl_server_socket. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Passing this CL to RyanChung for further work. Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/socket/ssl_client_socket.h ('k') | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket_nss.h
diff --git a/net/socket/ssl_client_socket_nss.h b/net/socket/ssl_client_socket_nss.h
index c2393e2bc0d47c33d445ddcf46ef8751a7940281..ef6d8763f4b3777403cb90c4f62a319605d56a41 100644
--- a/net/socket/ssl_client_socket_nss.h
+++ b/net/socket/ssl_client_socket_nss.h
@@ -39,6 +39,7 @@ class CertVerifier;
class ChannelIDService;
class CTVerifier;
class ClientSocketHandle;
+class SSLPrivateKey;
class TransportSecurityState;
class X509Certificate;
@@ -100,6 +101,9 @@ class SSLClientSocketNSS : public SSLClientSocket {
// SSLClientSocket implementation.
ChannelIDService* GetChannelIDService() const override;
SSLFailureState GetSSLFailureState() const override;
+ void ForceClientCertificateAndKeyForTest(
+ scoped_refptr<X509Certificate> client_cert,
+ scoped_ptr<SSLPrivateKey> client_private_key) override;
private:
// Helper class to handle marshalling any NSS interaction to and from the
« no previous file with comments | « net/socket/ssl_client_socket.h ('k') | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698