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

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

Issue 13006020: net: extract net/cert out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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
« no previous file with comments | « net/base/cert_verify_proc_mac.cc ('k') | net/base/cert_verify_proc_nss.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "net/base/net_export.h"
10
11 namespace net {
12
13 // Performs certificate path construction and validation using NSS's libpkix.
14 class NET_EXPORT_PRIVATE CertVerifyProcNSS : public CertVerifyProc {
15 public:
16 CertVerifyProcNSS();
17
18 virtual bool SupportsAdditionalTrustAnchors() const OVERRIDE;
19
20 protected:
21 virtual ~CertVerifyProcNSS();
22
23 private:
24 virtual int VerifyInternal(X509Certificate* cert,
25 const std::string& hostname,
26 int flags,
27 CRLSet* crl_set,
28 const CertificateList& additional_trust_anchors,
29 CertVerifyResult* verify_result) OVERRIDE;
30 };
31
32 } // namespace net
33
34 #endif // NET_BASE_CERT_VERIFY_PROC_NSS_H_
OLDNEW
« no previous file with comments | « net/base/cert_verify_proc_mac.cc ('k') | net/base/cert_verify_proc_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698