| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef NET_CERT_X509_UTIL_MAC_H_ | 5 #ifndef NET_CERT_X509_UTIL_MAC_H_ |
| 6 #define NET_CERT_X509_UTIL_MAC_H_ | 6 #define NET_CERT_X509_UTIL_MAC_H_ |
| 7 | 7 |
| 8 #include <CoreFoundation/CFArray.h> | 8 #include <CoreFoundation/CFArray.h> |
| 9 #include <Security/Security.h> | 9 #include <Security/Security.h> |
| 10 | 10 |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/basictypes.h" | 13 #include "base/macros.h" |
| 14 #include "net/base/net_export.h" | 14 #include "net/base/net_export.h" |
| 15 | 15 |
| 16 namespace net { | 16 namespace net { |
| 17 | 17 |
| 18 namespace x509_util { | 18 namespace x509_util { |
| 19 | 19 |
| 20 // Creates a security policy for certificates used as client certificates | 20 // Creates a security policy for certificates used as client certificates |
| 21 // in SSL. | 21 // in SSL. |
| 22 // If a policy is successfully created, it will be stored in | 22 // If a policy is successfully created, it will be stored in |
| 23 // |*policy| and ownership transferred to the caller. | 23 // |*policy| and ownership transferred to the caller. |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 private: | 130 private: |
| 131 CSSM_CL_HANDLE cl_handle_; | 131 CSSM_CL_HANDLE cl_handle_; |
| 132 CSSM_HANDLE cached_cert_handle_; | 132 CSSM_HANDLE cached_cert_handle_; |
| 133 }; | 133 }; |
| 134 | 134 |
| 135 } // namespace x509_util | 135 } // namespace x509_util |
| 136 | 136 |
| 137 } // namespace net | 137 } // namespace net |
| 138 | 138 |
| 139 #endif // NET_CERT_X509_UTIL_MAC_H_ | 139 #endif // NET_CERT_X509_UTIL_MAC_H_ |
| OLD | NEW |