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; |