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

Unified Diff: net/socket/ssl_client_socket_nss.h

Issue 8662036: Support EC certs in OriginBoundCertService and OriginBoundCertStore. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review changes Created 9 years 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/net.gyp ('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 f7def8c4a5a5aea7fd2063ab62cffe91fb919a76..db0062d277f8279f1fdaa8f520a4751bf0559701 100644
--- a/net/socket/ssl_client_socket_nss.h
+++ b/net/socket/ssl_client_socket_nss.h
@@ -166,8 +166,10 @@ class SSLClientSocketNSS : public SSLClientSocket {
static bool OriginBoundCertNegotiated(PRFileDesc* socket);
// Origin bound cert client auth handler.
// Returns the value the ClientAuthHandler function should return.
- SECStatus OriginBoundClientAuthHandler(CERTCertificate** result_certificate,
- SECKEYPrivateKey** result_private_key);
+ SECStatus OriginBoundClientAuthHandler(
+ const std::vector<uint8>& requested_cert_types,
+ CERTCertificate** result_certificate,
+ SECKEYPrivateKey** result_private_key);
#if defined(NSS_PLATFORM_CLIENT_AUTH)
// On platforms where we use the native certificate store, NSS calls this
// instead when client authentication is requested. At most one of
@@ -258,6 +260,7 @@ class SSLClientSocketNSS : public SSLClientSocket {
// For origin bound certificates in client auth.
bool ob_cert_xtn_negotiated_;
OriginBoundCertService* origin_bound_cert_service_;
+ SSLClientCertType ob_cert_type_;
std::string ob_private_key_;
std::string ob_cert_;
OriginBoundCertService::RequestHandle ob_cert_request_handle_;
« no previous file with comments | « net/net.gyp ('k') | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698