We started redesigning GpuMemoryBuffer interface to handle multiple buffers [0].
[chromium-blink-merge.git] / net / cert / cert_verify_proc_android.h
blob6830df61ed055b0e244670e58656a4c8ad2fd6f9
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_ANDROID_H_
6 #define NET_CERT_CERT_VERIFY_PROC_ANDROID_H_
8 #include "net/cert/cert_verify_proc.h"
10 namespace net {
12 // Performs certificate verification on Android by calling the platform
13 // TrustManager through JNI.
14 class CertVerifyProcAndroid : public CertVerifyProc {
15 public:
16 CertVerifyProcAndroid();
18 bool SupportsAdditionalTrustAnchors() const override;
20 protected:
21 ~CertVerifyProcAndroid() override;
23 private:
24 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;
32 } // namespace net
34 #endif // NET_CERT_CERT_VERIFY_PROC_ANDROID_H_