diff options
author | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-11 04:12:53 +0000 |
---|---|---|
committer | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-11 04:12:53 +0000 |
commit | 47f7d746b1468ec3b2de9c293749e347234996ba (patch) | |
tree | 5a4093494d5e7991001bb3350ccd27fe74f227d8 /net/socket/ssl_error_params.h | |
parent | 8b70d0ce73dd36bc0042ba7a6d8c4521c369b9fe (diff) | |
download | chromium_src-47f7d746b1468ec3b2de9c293749e347234996ba.zip chromium_src-47f7d746b1468ec3b2de9c293749e347234996ba.tar.gz chromium_src-47f7d746b1468ec3b2de9c293749e347234996ba.tar.bz2 |
Add support for restricting the cipher suites that SSLClientSocket(Mac,NSS) use. Restricting SSLClientSocketWin is handled by the existing Windows system policy (which deals in algorithms, not cipher suites).
R=wtc
BUG=58831
TEST=SSLClientSocketTest.CipherSuiteDisables
Review URL: http://codereview.chromium.org/3845005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65773 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/socket/ssl_error_params.h')
-rw-r--r-- | net/socket/ssl_error_params.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/net/socket/ssl_error_params.h b/net/socket/ssl_error_params.h new file mode 100644 index 0000000..ae546fe --- /dev/null +++ b/net/socket/ssl_error_params.h @@ -0,0 +1,28 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef NET_SOCKET_SSL_ERROR_PARAMS_H_ +#define NET_SOCKET_SSL_ERROR_PARAMS_H_ +#pragma once + +#include "net/base/net_log.h" + +namespace net { + +// Extra parameters to attach to the NetLog when we receive an SSL error. +class SSLErrorParams : public NetLog::EventParameters { + public: + SSLErrorParams(int net_error, int ssl_lib_error); + virtual ~SSLErrorParams(); + + virtual Value* ToValue() const; + + private: + const int net_error_; + const int ssl_lib_error_; +}; + +} // namespace net + +#endif // NET_SOCKET_SSL_ERROR_PARAMS_H_ |