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

Unified Diff: net/ssl/ssl_platform_key_util.h

Issue 2822283002: Remove SSLPrivateKey metadata hooks. (Closed)
Patch Set: emaxx comment Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/ssl/ssl_platform_key_nss_unittest.cc ('k') | net/ssl/ssl_platform_key_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/ssl_platform_key_util.h
diff --git a/net/ssl/ssl_platform_key_util.h b/net/ssl/ssl_platform_key_util.h
index 31ee09101e17ec12dcdc4ab3124d78b6c0ad388f..2154fc55e6fb83f36083285d5a144f988aa560b7 100644
--- a/net/ssl/ssl_platform_key_util.h
+++ b/net/ssl/ssl_platform_key_util.h
@@ -10,7 +10,6 @@
#include "base/memory/ref_counted.h"
#include "base/single_thread_task_runner.h"
#include "net/base/net_export.h"
-#include "net/ssl/ssl_private_key.h"
namespace net {
@@ -23,9 +22,10 @@ class X509Certificate;
scoped_refptr<base::SingleThreadTaskRunner> GetSSLPlatformKeyTaskRunner();
// Determines the key type and maximum signature length of |certificate|'s
-// public key.
+// public key. |*out_type| will be set to one of the |EVP_PKEY_*| values from
+// BoringSSL.
NET_EXPORT_PRIVATE bool GetClientCertInfo(const X509Certificate* certificate,
- SSLPrivateKey::Type* out_type,
+ int* out_type,
size_t* out_max_length);
} // namespace net
« no previous file with comments | « net/ssl/ssl_platform_key_nss_unittest.cc ('k') | net/ssl/ssl_platform_key_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698