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

Unified Diff: net/base/x509_certificate.h

Issue 7538029: Upstream certificate and mime Android implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync again Created 9 years, 4 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/platform_mime_util_linux.cc ('k') | net/base/x509_certificate_openssl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/x509_certificate.h
diff --git a/net/base/x509_certificate.h b/net/base/x509_certificate.h
index ca2abecdbf671a46264bb762d250ada5a7348b95..4ef80033a6c3990214cbd900d3c78a5dd4da8db1 100644
--- a/net/base/x509_certificate.h
+++ b/net/base/x509_certificate.h
@@ -295,6 +295,12 @@ class NET_API X509Certificate
static HCERTSTORE cert_store();
#endif
+#if defined(OS_ANDROID)
+ // |chain_bytes| will contain the chain (including this certificate) encoded
+ // using GetChainDEREncodedBytes below.
+ void GetChainDEREncodedBytes(std::vector<std::string>* chain_bytes) const;
+#endif
+
#if defined(USE_OPENSSL)
// Returns a handle to a global, in-memory certificate store. We
// use it for test code, e.g. importing the test server's certificate.
« no previous file with comments | « net/base/platform_mime_util_linux.cc ('k') | net/base/x509_certificate_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698