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_openssl.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_nss.cc ('k') | net/cert/cert_verify_proc_openssl.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_OPENSSL_H_ 5 #ifndef NET_CERT_CERT_VERIFY_PROC_OPENSSL_H_
6 #define NET_CERT_CERT_VERIFY_PROC_OPENSSL_H_ 6 #define NET_CERT_CERT_VERIFY_PROC_OPENSSL_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 OpenSSL. 12 // Performs certificate path construction and validation using OpenSSL.
13 class CertVerifyProcOpenSSL : public CertVerifyProc { 13 class CertVerifyProcOpenSSL : public CertVerifyProc {
14 public: 14 public:
15 CertVerifyProcOpenSSL(); 15 CertVerifyProcOpenSSL();
16 16
17 bool SupportsAdditionalTrustAnchors() const override; 17 bool SupportsAdditionalTrustAnchors() const override;
18 bool SupportsOCSPStapling() const override;
18 19
19 protected: 20 protected:
20 ~CertVerifyProcOpenSSL() override; 21 ~CertVerifyProcOpenSSL() override;
21 22
22 private: 23 private:
23 int VerifyInternal(X509Certificate* cert, 24 int VerifyInternal(X509Certificate* cert,
24 const std::string& hostname, 25 const std::string& hostname,
26 const std::string& ocsp_response,
25 int flags, 27 int flags,
26 CRLSet* crl_set, 28 CRLSet* crl_set,
27 const CertificateList& additional_trust_anchors, 29 const CertificateList& additional_trust_anchors,
28 CertVerifyResult* verify_result) override; 30 CertVerifyResult* verify_result) override;
29 }; 31 };
30 32
31 } // namespace net 33 } // namespace net
32 34
33 #endif // NET_CERT_CERT_VERIFY_PROC_OPENSSL_H_ 35 #endif // NET_CERT_CERT_VERIFY_PROC_OPENSSL_H_
OLDNEW
« no previous file with comments | « net/cert/cert_verify_proc_nss.cc ('k') | net/cert/cert_verify_proc_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698