 Chromium Code Reviews
 Chromium Code Reviews Issue 7324039:
  Ensure X509Certificate::OSCertHandles are safe to be used on both UI and IO threads on Win  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src
    
  
    Issue 7324039:
  Ensure X509Certificate::OSCertHandles are safe to be used on both UI and IO threads on Win  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src| OLD | NEW | 
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011 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_X509_UTIL_MAC_H_ | |
| 6 #define NET_BASE_X509_UTIL_MAC_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include <CoreFoundation/CFArray.h> | |
| 10 | |
| 11 namespace net { | |
| 12 | |
| 13 class X509Certificate; | |
| 14 | |
| 15 namespace x509_util { | |
| 16 | |
| 17 // Returns a new CFArrayRef containing the certificate chain represented by | |
| 18 // |cert| in the form expected by Security.framework and Keychain Services, or | |
| 19 // NULL on failure. The first item in the array will be the primary | |
| 20 // certificate of |cert|, followed by any additional certificates contained as | |
| 21 // optional intermediates. | |
| 
wtc
2011/10/16 14:55:49
Nit: any additional certificates contained as opti
 | |
| 22 CFArrayRef CreateOSCertChainForCert(const X509Certificate* cert); | |
| 23 | |
| 24 } // namespace x509_util | |
| 25 | |
| 26 } // namespace net | |
| 27 | |
| 28 #endif // NET_BASE_X509_UTIL_MAC_H_ | |
| OLD | NEW |