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

Side by Side Diff: net/cert/x509_util_openssl.h

Issue 13006020: net: extract net/cert out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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
« no previous file with comments | « net/cert/x509_util_nss_unittest.cc ('k') | net/cert/x509_util_openssl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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_BASE_X509_UTIL_OPENSSL_H_ 5 #ifndef NET_CERT_X509_UTIL_OPENSSL_H_
6 #define NET_BASE_X509_UTIL_OPENSSL_H_ 6 #define NET_CERT_X509_UTIL_OPENSSL_H_
7 7
8 #include <openssl/asn1.h> 8 #include <openssl/asn1.h>
9 #include <openssl/x509v3.h> 9 #include <openssl/x509v3.h>
10 10
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "net/base/net_export.h" 14 #include "net/base/net_export.h"
15 15
16 namespace base { 16 namespace base {
(...skipping 18 matching lines...) Expand all
35 bool NET_EXPORT ParsePrincipalValueByNID(X509_NAME* name, 35 bool NET_EXPORT ParsePrincipalValueByNID(X509_NAME* name,
36 int nid, 36 int nid,
37 std::string* value); 37 std::string* value);
38 38
39 bool NET_EXPORT ParseDate(ASN1_TIME* x509_time, base::Time* time); 39 bool NET_EXPORT ParseDate(ASN1_TIME* x509_time, base::Time* time);
40 40
41 } // namespace x509_util 41 } // namespace x509_util
42 42
43 } // namespace net 43 } // namespace net
44 44
45 #endif // NET_BASE_X509_UTIL_OPENSSL_H_ 45 #endif // NET_CERT_X509_UTIL_OPENSSL_H_
OLDNEW
« no previous file with comments | « net/cert/x509_util_nss_unittest.cc ('k') | net/cert/x509_util_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698