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

Side by Side Diff: net/cert/client_cert_verifier.h

Issue 1474983003: Support for client certs in ssl_server_socket. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplified CertVerifyCallback Created 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_CERT_CLIENT_CERT_VERIFIER_H_
6 #define NET_CERT_CLIENT_CERT_VERIFIER_H_
7
8 namespace net {
9
10 class BoundNetLog;
11 class X509Certificate;
12
13 // ClientCertVerifier represents a service for verifying certificates.
14 class ClientCertVerifier {
15 public:
16 virtual ~ClientCertVerifier() {}
davidben 2015/12/14 23:56:49 Nit: I'd put a newline here.
ryanchung 2015/12/16 22:40:01 Done.
17 // Verifies the given certificate as a client certificate.
18 // Returns OK if successful or an error code upon failure.
19 virtual int Verify(X509Certificate* cert) = 0;
20 };
21
22 } // namespace net
23
24 #endif // NET_CERT_CLIENT_CERT_VERIFIER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698