#include "content/browser/ssl/ssl_client_auth_handler.h"
#include <utility>
#include "base/check_op.h"
#include "base/functional/bind.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/client_certificate_delegate.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/common/content_client.h"
#include "net/ssl/client_cert_store.h"
#include "net/ssl/ssl_private_key.h"
namespace content {
class SSLClientAuthHandler::ClientCertificateDelegateImpl
: public ClientCertificateDelegate { … };
SSLClientAuthHandler::SSLClientAuthHandler(
std::unique_ptr<net::ClientCertStore> client_cert_store,
base::WeakPtr<BrowserContext> browser_context,
int process_id,
base::WeakPtr<WebContents> web_contents,
net::SSLCertRequestInfo* cert_request_info,
Delegate* delegate)
: … { … }
SSLClientAuthHandler::~SSLClientAuthHandler() { … }
void SSLClientAuthHandler::SelectCertificate() { … }
void SSLClientAuthHandler::DidGetClientCerts(
net::ClientCertIdentityList client_certs) { … }
void SSLClientAuthHandler::DidGetClientCertsOnPostTask(
net::ClientCertIdentityList client_certs) { … }
}