diff options
author | jiayl@chromium.org <jiayl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-01 21:21:46 +0000 |
---|---|---|
committer | jiayl@chromium.org <jiayl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-01 21:21:46 +0000 |
commit | d322066dba0d6bfb0e591b651c47f5e27efcb98a (patch) | |
tree | 39714d7f6a3539ef29b41d282b5705e75bb5b976 /net | |
parent | 142c27f34f9e70290ee032d92cec7bd2b78c4b90 (diff) | |
download | chromium_src-d322066dba0d6bfb0e591b651c47f5e27efcb98a.zip chromium_src-d322066dba0d6bfb0e591b651c47f5e27efcb98a.tar.gz chromium_src-d322066dba0d6bfb0e591b651c47f5e27efcb98a.tar.bz2 |
Generates the DTLS identity in browser process and returns it to the renderer process.
This is the first part of implementing a persistent identity store for WebRTC in Chrome. It implements the IPC messages to request and return the DTLS identity and the identity generation in browser process. A persistent store based on SQLite DB will be implemented later.
DTLSIdentityService: used in the renderer process to request a DTLS identity. It sends an IPC to the browser process and receives the reply containing the identity in a callback.
DTLSIdentityServiceHost: listens for the IPC message from DTLSIdentityService and passes the request to DTLSIdentityStore.
DTLSIdentityStore: created per RenerProcessHost. For now it always generates a new identity on a worker thread for each request, without any caching or persistent storage.
BUG=https://code.google.com/p/webrtc/issues/detail?id=1864
Review URL: https://chromiumcodereview.appspot.com/15969025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209499 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/base/net_error_list.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h index 9ebb25a..234b3a9 100644 --- a/net/base/net_error_list.h +++ b/net/base/net_error_list.h @@ -660,6 +660,9 @@ NET_ERROR(ORIGIN_BOUND_CERT_GENERATION_FAILED, -711) // Failure to export private key. NET_ERROR(PRIVATE_KEY_EXPORT_FAILED, -712) +// Self-signed certificate generation failed. +NET_ERROR(SELF_SIGNED_CERT_GENERATION_FAILED, -713) + // DNS error codes. // DNS resolver received a malformed response. |