Chromium Code Reviews| Index: net/android/java/src/org/chromium/net/X509Util.java |
| diff --git a/net/android/java/src/org/chromium/net/X509Util.java b/net/android/java/src/org/chromium/net/X509Util.java |
| index 90012a4aa7496f92876e9215db48251b1829ab56..e92dad1c2daed4b818516d9c7eb7f7db82430348 100644 |
| --- a/net/android/java/src/org/chromium/net/X509Util.java |
| +++ b/net/android/java/src/org/chromium/net/X509Util.java |
| @@ -291,6 +291,11 @@ public class X509Util { |
| ensureInitialized(); |
| } |
| + public static void clearCertificateStore() { |
|
Ryan Sleevi
2014/02/12 22:56:22
This is coupling an implementation detail with the
Yaron
2014/02/12 23:24:20
Done.
|
| + Log.d(TAG, "Drop SSL cache"); |
| + nativeDropCertificateCache(); |
|
Ryan Sleevi
2014/02/12 22:56:22
Ditto here and for the log message
Yaron
2014/02/12 23:24:20
Done.
|
| + } |
| + |
| /** |
| * Convert a DER encoded certificate to an X509Certificate. |
| */ |
| @@ -438,6 +443,9 @@ public class X509Util { |
| public static void setDisableNativeCodeForTest(boolean disabled) { |
| sDisableNativeCodeForTest = disabled; |
| } |
| + |
| + private static native void nativeDropCertificateCache(); |
| + |
| /** |
| * Notify the native net::CertDatabase instance that the system database has been updated. |
| */ |