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

Side by Side Diff: net/base/cert_verify_proc_nss.h

Issue 9584041: Create stubs for system certificate validation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix across platforms Created 8 years, 9 months 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 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_BASE_CERT_VERIFY_PROC_NSS_H_
6 #define NET_BASE_CERT_VERIFY_PROC_NSS_H_
7
8 #include "net/base/cert_verify_proc.h"
9
10 namespace net {
11
12 // Performs certificate path construction and validation using NSS's libpkix.
13 class CertVerifyProcNSS : public CertVerifyProc {
14 public:
15 CertVerifyProcNSS();
16
17 protected:
18 virtual ~CertVerifyProcNSS();
19
20 private:
21 virtual int VerifyInternal(X509Certificate* cert,
22 const std::string& hostname,
23 int flags,
24 CRLSet* crl_set,
25 CertVerifyResult* verify_result) OVERRIDE;
26 };
27
28 } // namespace net
29
30 #endif // NET_BASE_CERT_VERIFY_PROC_NSS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698