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

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: DEPS Created 9 years, 5 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
Index: net/base/x509_certificate.h
diff --git a/net/base/x509_certificate.h b/net/base/x509_certificate.h
index ca2abecdbf671a46264bb762d250ada5a7348b95..116edb8240d9be754d4e23f364aa79874e86ee51 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| will contain the chain (including this certificate) encoded using
+ // GetDEREncodedBytes below.
wtc 2011/08/09 18:47:22 |chain| => |chain_bytes| GetDEREncodedBytes => Ge
michaelbai 2011/08/11 16:10:18 Done.
+ 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.

Powered by Google App Engine
This is Rietveld 408576698