OLD | NEW |
---|---|
(Empty) | |
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. | |
4 | |
5 #ifndef NET_BASE_CERT_VERIFY_PROC_MAC_H_ | |
6 #define NET_BASE_CERT_VERIFY_PROC_MAC_H_ | |
7 #pragma once | |
wtc
2012/03/13 22:37:57
Why doesn't this header need #pragma once? Same q
Ryan Sleevi
2012/03/14 00:58:50
It does. This was an oversight. Thanks for catchin
| |
8 | |
9 #include "net/base/multi_threaded_cert_verifier.h" | |
10 | |
11 namespace net { | |
12 | |
13 // CertVerifyProcMac is a VerifyProc implementation that verifies certificates | |
14 // using OS X's Security.framework for path building and verification. | |
wtc
2012/03/06 23:10:14
Nit: path => certification path
This is for the b
| |
15 class CertVerifyProcMac : public MultiThreadedCertVerifier::VerifyProc { | |
16 public: | |
17 CertVerifyProcMac(); | |
18 | |
19 // MultiThreadedCertVerifier::VerifyProc implementation. | |
20 virtual int Verify(X509Certificate* cert, | |
21 const std::string& hostname, | |
22 int flags, | |
23 CRLSet* crl_set, | |
24 CertVerifyResult* verify_result) OVERRIDE; | |
25 | |
26 protected: | |
27 virtual ~CertVerifyProcMac(); | |
28 }; | |
29 | |
30 } // namespace net | |
31 | |
32 #endif // NET_BASE_CERT_VERIFY_PROC_MAC_H_ | |
OLD | NEW |