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

Unified Diff: net/base/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, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/x509_util_nss_unittest.cc ('k') | net/base/x509_util_openssl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/x509_util_openssl.h
diff --git a/net/base/x509_util_openssl.h b/net/base/x509_util_openssl.h
deleted file mode 100644
index ad514252c7869d41db30414f0347c66f91749913..0000000000000000000000000000000000000000
--- a/net/base/x509_util_openssl.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef NET_BASE_X509_UTIL_OPENSSL_H_
-#define NET_BASE_X509_UTIL_OPENSSL_H_
-
-#include <openssl/asn1.h>
-#include <openssl/x509v3.h>
-
-#include <string>
-#include <vector>
-
-#include "net/base/net_export.h"
-
-namespace base {
-class Time;
-} // namespace base
-
-namespace net {
-
-// A collection of helper functions to fetch data from OpenSSL X509 certificates
-// into more convenient std / base datatypes.
-namespace x509_util {
-
-bool NET_EXPORT ParsePrincipalKeyAndValueByIndex(X509_NAME* name,
- int index,
- std::string* key,
- std::string* value);
-
-bool NET_EXPORT ParsePrincipalValueByIndex(X509_NAME* name,
- int index,
- std::string* value);
-
-bool NET_EXPORT ParsePrincipalValueByNID(X509_NAME* name,
- int nid,
- std::string* value);
-
-bool NET_EXPORT ParseDate(ASN1_TIME* x509_time, base::Time* time);
-
-} // namespace x509_util
-
-} // namespace net
-
-#endif // NET_BASE_X509_UTIL_OPENSSL_H_
« no previous file with comments | « net/base/x509_util_nss_unittest.cc ('k') | net/base/x509_util_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698