Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6881c63 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 4075 into donut

* changes:
  Add <keygen> support for VPN.
parents c2922687 7180efed
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -186,6 +186,21 @@ final class JWebCoreJavaBridge extends Handler {
        mHasInstantTimer = false;
    }

    private String[] getKeyStrengthList() {
        // FIXME: fake the list for now
        String[] list = new String[2];
        list[0] = "1024";
        list[1] = "512";
        return list;
    }

    private String getSignedPublicKey(int index, String challenge, String url) {
        // FIXME: do nothing for now
        Log.w(LOGTAG, "getSignedPublicKey for " + index + " and challenge="
                + challenge + " and url=" + url);
        return "";
    }

    private native void nativeConstructor();
    private native void nativeFinalize();
    private native void sharedTimerFired();