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

Unified Diff: net/android/network_library.h

Issue 2536993002: Remove support for the keygen tag (Closed)
Patch Set: Rebased Created 4 years 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/android/network_library.h
diff --git a/net/android/network_library.h b/net/android/network_library.h
index 548d43a1f2524457cbd3600639e52a5a4225cc72..2c7bef2fad783cc21e07f7294d9609d3a6e2d2de 100644
--- a/net/android/network_library.h
+++ b/net/android/network_library.h
@@ -36,15 +36,6 @@ void AddTestRootCertificate(const uint8_t* cert, size_t len);
// Removes all root certificates added by |AddTestRootCertificate| calls.
void ClearTestRootCertificates();
-// Helper for the <keygen> handler. Passes the DER-encoded key pair via JNI to
-// the Credentials store. The public key should be a DER-encoded
-// SubjectPublicKeyInfo (X.509) and the private key a DER-encode PrivateKeyInfo
-// (PKCS#8).
-bool StoreKeyPair(const uint8_t* public_key,
- size_t public_len,
- const uint8_t* private_key,
- size_t private_len);
-
// Returns true if it can determine that only loopback addresses are configured.
// i.e. if only 127.0.0.1 and ::1 are routable.
// Also returns false if it cannot determine this.

Powered by Google App Engine
This is Rietveld 408576698