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

Unified Diff: webkit/api/public/WebKitClient.h

Issue 261035: Adds support for the <keygen> tag for client certificate enrollment under Lin... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 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
Index: webkit/api/public/WebKitClient.h
===================================================================
--- webkit/api/public/WebKitClient.h (revision 28911)
+++ webkit/api/public/WebKitClient.h (working copy)
@@ -179,6 +179,14 @@
virtual void decrementStatsCounter(const char* name) = 0;
virtual void incrementStatsCounter(const char* name) = 0;
+ // Handle the <keygen> tag for generating client certificates
+ // Returns a base64 encoded signed copy of a public key from a newly
+ // generated key pair and the supplied challenge string. keySizeindex
+ // specifies the strength of the key.
+ virtual WebString genKeyAndSignChallenge(unsigned keySizeIndex,
+ const WebKit::WebString& challenge,
+ const WebKit::WebURL& url) = 0;
+
// An event is identified by the pair (name, id). The extra parameter
// specifies additional data to log with the event.
virtual void traceEventBegin(const char* name, void* id, const char* extra) = 0;

Powered by Google App Engine
This is Rietveld 408576698