Remove linux_chromium_gn_dbg from the chromium CQ.
[chromium-blink-merge.git] / net / cert / cert_verify_proc_openssl.h
blob5836386c55d85b6084bb1d9fc1e4818b34bb4ae9
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.
5 #ifndef NET_CERT_CERT_VERIFY_PROC_OPENSSL_H_
6 #define NET_CERT_CERT_VERIFY_PROC_OPENSSL_H_
8 #include "net/cert/cert_verify_proc.h"
10 namespace net {
12 // Performs certificate path construction and validation using OpenSSL.
13 class CertVerifyProcOpenSSL : public CertVerifyProc {
14 public:
15 CertVerifyProcOpenSSL();
17 bool SupportsAdditionalTrustAnchors() const override;
18 bool SupportsOCSPStapling() const override;
20 protected:
21 ~CertVerifyProcOpenSSL() override;
23 private:
24 int VerifyInternal(X509Certificate* cert,
25 const std::string& hostname,
26 const std::string& ocsp_response,
27 int flags,
28 CRLSet* crl_set,
29 const CertificateList& additional_trust_anchors,
30 CertVerifyResult* verify_result) override;
33 } // namespace net
35 #endif // NET_CERT_CERT_VERIFY_PROC_OPENSSL_H_