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

Unified Diff: chrome/common/render_messages_internal.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: chrome/common/render_messages_internal.h
===================================================================
--- chrome/common/render_messages_internal.h (revision 28911)
+++ chrome/common/render_messages_internal.h (working copy)
@@ -1926,4 +1926,17 @@
IPC_MESSAGE_CONTROL1(ViewHostMsg_SocketStream_Close,
int /* socket_id */)
+ //---------------------------------------------------------------------------
+ // Request for cryptographic operation messages:
+ // These are messages from the renderer to the browser to perform a
+ // cryptographic operation.
+
+ // Asks the browser process to generate a keypair for grabbing a client
+ // certificate from a CA (<keygen> tag), and return the signed public
+ // key and challenge string.
+ IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_Keygen,
+ uint32 /* key size index */,
+ std::string /* challenge string */,
+ GURL /* URL of requestor */,
+ std::string /* signed public key and challenge */)
IPC_END_MESSAGES(ViewHost)

Powered by Google App Engine
This is Rietveld 408576698