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_MAC_H_
6 #define NET_CERT_CERT_VERIFY_PROC_MAC_H_
8 #include "net/cert/cert_verify_proc.h"
12 // Performs certificate path construction and validation using OS X's
13 // Security.framework.
14 class CertVerifyProcMac
: public CertVerifyProc
{
18 virtual bool SupportsAdditionalTrustAnchors() const OVERRIDE
;
21 virtual ~CertVerifyProcMac();
24 virtual int VerifyInternal(X509Certificate
* cert
,
25 const std::string
& hostname
,
28 const CertificateList
& additional_trust_anchors
,
29 CertVerifyResult
* verify_result
) OVERRIDE
;
34 #endif // NET_CERT_CERT_VERIFY_PROC_MAC_H_