Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Side by Side Diff: net/base/x509_util_mac.h

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
Patch Set: Mac fix Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698