Revert of Clean up Smart Lock cryptohome keys logic: (patchset #5 id:80001 of https...
[chromium-blink-merge.git] / net / cert / cert_verify_proc_openssl.h
blobab1d0a3890341b5c852b3c94ed59022140b7cee0
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 virtual bool SupportsAdditionalTrustAnchors() const override;
19 protected:
20 virtual ~CertVerifyProcOpenSSL();
22 private:
23 virtual int VerifyInternal(X509Certificate* cert,
24 const std::string& hostname,
25 int flags,
26 CRLSet* crl_set,
27 const CertificateList& additional_trust_anchors,
28 CertVerifyResult* verify_result) override;
31 } // namespace net
33 #endif // NET_CERT_CERT_VERIFY_PROC_OPENSSL_H_