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

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

Issue 1081913003: Route OCSP stapling through CertVerifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@boringnss
Patch Set: yet another CrOS-only Verify call Created 5 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
« no previous file with comments | « net/cert/cert_verify_proc_unittest.cc ('k') | net/cert/cert_verify_proc_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_CERT_CERT_VERIFY_PROC_WIN_H_ 5 #ifndef NET_CERT_CERT_VERIFY_PROC_WIN_H_
6 #define NET_CERT_CERT_VERIFY_PROC_WIN_H_ 6 #define NET_CERT_CERT_VERIFY_PROC_WIN_H_
7 7
8 #include "net/cert/cert_verify_proc.h" 8 #include "net/cert/cert_verify_proc.h"
9 9
10 namespace net { 10 namespace net {
11 11
12 // Performs certificate path construction and validation using Windows' 12 // Performs certificate path construction and validation using Windows'
13 // CryptoAPI. 13 // CryptoAPI.
14 class CertVerifyProcWin : public CertVerifyProc { 14 class CertVerifyProcWin : public CertVerifyProc {
15 public: 15 public:
16 CertVerifyProcWin(); 16 CertVerifyProcWin();
17 17
18 bool SupportsAdditionalTrustAnchors() const override; 18 bool SupportsAdditionalTrustAnchors() const override;
19 bool SupportsOCSPStapling() const override;
19 20
20 protected: 21 protected:
21 ~CertVerifyProcWin() override; 22 ~CertVerifyProcWin() override;
22 23
23 private: 24 private:
24 int VerifyInternal(X509Certificate* cert, 25 int VerifyInternal(X509Certificate* cert,
25 const std::string& hostname, 26 const std::string& hostname,
27 const std::string& ocsp_response,
26 int flags, 28 int flags,
27 CRLSet* crl_set, 29 CRLSet* crl_set,
28 const CertificateList& additional_trust_anchors, 30 const CertificateList& additional_trust_anchors,
29 CertVerifyResult* verify_result) override; 31 CertVerifyResult* verify_result) override;
30 }; 32 };
31 33
32 } // namespace net 34 } // namespace net
33 35
34 #endif // NET_CERT_CERT_VERIFY_PROC_WIN_H_ 36 #endif // NET_CERT_CERT_VERIFY_PROC_WIN_H_
OLDNEW
« no previous file with comments | « net/cert/cert_verify_proc_unittest.cc ('k') | net/cert/cert_verify_proc_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698