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

Unified Diff: net/ssl/ssl_platform_key_android.h

Issue 2391213002: Report curve types in ECDSA SSLPrivateKeys. (Closed)
Patch Set: rebase Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/socket/ssl_client_socket_impl.cc ('k') | net/ssl/ssl_platform_key_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/ssl_platform_key_android.h
diff --git a/net/ssl/ssl_platform_key_android.h b/net/ssl/ssl_platform_key_android.h
index 95fe90a953ace18262cc154ba3109b0a72590fe7..c025955a95e538871aa977e95206165aef990b7d 100644
--- a/net/ssl/ssl_platform_key_android.h
+++ b/net/ssl/ssl_platform_key_android.h
@@ -14,10 +14,13 @@
namespace net {
class SSLPrivateKey;
+class X509Certificate;
-// Returns a new SSLPrivateKey which uses |key| for signing operations or
-// nullptr on error. |key| must be a java.security.PrivateKey object.
+// Returns a new SSLPrivateKey for |cert| which uses |key| for signing
+// operations or nullptr on error. |key| must be a java.security.PrivateKey
+// object.
NET_EXPORT scoped_refptr<SSLPrivateKey> WrapJavaPrivateKey(
+ const X509Certificate* cert,
const base::android::JavaRef<jobject>& key);
} // namespace net
« no previous file with comments | « net/socket/ssl_client_socket_impl.cc ('k') | net/ssl/ssl_platform_key_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698