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

Issue 1288033009: RTCCertificates added to RTCConfiguration, used by WebRtcSession/-DescriptionFactory (Closed)

Created:
5 years, 4 months ago by hbos
Modified:
5 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, yujie_mao (webrtc), Andrew MacDonald, tterriberry_mozilla.com, qiang.lu, niklas.enbom
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

RTCCertificates added to RTCConfiguration, used by WebRtcSession/-DescriptionFactory. This CL allows you to, having generated one or more RTCCertificates, supply them to RTCConfiguration for CreatePeerConnection use. This means an SSLIdentity does not have to be generated with a DtlsIdentityStore[Interface/Impl] as part of the CreatePeerConnection steps because the certificate contains all the necessary information. To create an RTCCertificate you have to do the identity generation yourself though. But you could reuse the same RTCCertificate for multiple connections. BUG=webrtc:4927 R=tommi@webrtc.org, torbjorng@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/87713d0fe6fb9c86abe501bdf3d26ef4287ee617

Patch Set 1 : #

Total comments: 11

Patch Set 2 : Parameterized testing in webrtcsession_unittest. Addressed tommi's comments. #

Total comments: 13

Patch Set 3 : Addressed comments #

Total comments: 12

Patch Set 4 : Addressed comments #

Total comments: 2

Patch Set 5 : Addressed torbjorng's comment and merged with master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+354 lines, -122 lines) Patch
M talk/app/webrtc/peerconnectioninterface.h View 1 2 3 4 3 chunks +3 lines, -0 lines 0 comments Download
M talk/app/webrtc/test/fakedtlsidentitystore.h View 1 2 chunks +21 lines, -0 lines 0 comments Download
M talk/app/webrtc/webrtcsession.h View 1 1 chunk +1 line, -1 line 0 comments Download
M talk/app/webrtc/webrtcsession.cc View 1 2 3 4 4 chunks +48 lines, -14 lines 0 comments Download
M talk/app/webrtc/webrtcsession_unittest.cc View 1 2 27 chunks +121 lines, -65 lines 0 comments Download
M talk/app/webrtc/webrtcsessiondescriptionfactory.h View 1 2 3 4 chunks +48 lines, -13 lines 0 comments Download
M talk/app/webrtc/webrtcsessiondescriptionfactory.cc View 1 2 3 11 chunks +111 lines, -29 lines 0 comments Download
M webrtc/base/sslidentity.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 21 (7 generated)
hbos
I will update the webrtcsession unittests to test both using a store and using certificates ...
5 years, 4 months ago (2015-08-20 13:18:36 UTC) #4
tommi
https://codereview.webrtc.org/1288033009/diff/40001/talk/app/webrtc/webrtcsession.cc File talk/app/webrtc/webrtcsession.cc (right): https://codereview.webrtc.org/1288033009/diff/40001/talk/app/webrtc/webrtcsession.cc#newcode724 talk/app/webrtc/webrtcsession.cc:724: if (!certificate) { I don't think you need this ...
5 years, 4 months ago (2015-08-20 14:58:12 UTC) #5
hbos
PTAL. webrtcsession_unittest has been parameterized, testing the usage of both store and provided certificate. I ...
5 years, 4 months ago (2015-08-20 16:06:11 UTC) #7
torbjorng (webrtc)
https://codereview.webrtc.org/1288033009/diff/80001/talk/app/webrtc/webrtcsession.cc File talk/app/webrtc/webrtcsession.cc (right): https://codereview.webrtc.org/1288033009/diff/80001/talk/app/webrtc/webrtcsession.cc#newcode582 talk/app/webrtc/webrtcsession.cc:582: // TODO(hbos,torbjorng): How to decide which certificate to use? ...
5 years, 4 months ago (2015-08-21 12:39:19 UTC) #8
tommi
can you ping back after addressing Torbjorn's comments? https://codereview.webrtc.org/1288033009/diff/80001/talk/app/webrtc/peerconnectioninterface.h File talk/app/webrtc/peerconnectioninterface.h (right): https://codereview.webrtc.org/1288033009/diff/80001/talk/app/webrtc/peerconnectioninterface.h#newcode246 talk/app/webrtc/peerconnectioninterface.h:246: std::vector<rtc::scoped_refptr<rtc::RTCCertificate>> ...
5 years, 4 months ago (2015-08-21 14:24:39 UTC) #9
hbos
PTAL, comments addressed. https://codereview.webrtc.org/1288033009/diff/80001/talk/app/webrtc/peerconnectioninterface.h File talk/app/webrtc/peerconnectioninterface.h (right): https://codereview.webrtc.org/1288033009/diff/80001/talk/app/webrtc/peerconnectioninterface.h#newcode246 talk/app/webrtc/peerconnectioninterface.h:246: std::vector<rtc::scoped_refptr<rtc::RTCCertificate>> certificates; On 2015/08/21 14:24:39, tommi ...
5 years, 4 months ago (2015-08-24 10:16:44 UTC) #10
tommi
https://codereview.webrtc.org/1288033009/diff/100001/talk/app/webrtc/webrtcsession.cc File talk/app/webrtc/webrtcsession.cc (right): https://codereview.webrtc.org/1288033009/diff/100001/talk/app/webrtc/webrtcsession.cc#newcode729 talk/app/webrtc/webrtcsession.cc:729: // Use the |dtls_identity_store| to generate a certificate. can ...
5 years, 4 months ago (2015-08-24 11:26:33 UTC) #11
hbos
PTAL, addressed comments again. https://codereview.webrtc.org/1288033009/diff/100001/talk/app/webrtc/webrtcsession.cc File talk/app/webrtc/webrtcsession.cc (right): https://codereview.webrtc.org/1288033009/diff/100001/talk/app/webrtc/webrtcsession.cc#newcode729 talk/app/webrtc/webrtcsession.cc:729: // Use the |dtls_identity_store| to ...
5 years, 4 months ago (2015-08-24 12:01:34 UTC) #12
tommi
lgtm https://codereview.webrtc.org/1288033009/diff/100001/talk/app/webrtc/webrtcsession_unittest.cc File talk/app/webrtc/webrtcsession_unittest.cc (left): https://codereview.webrtc.org/1288033009/diff/100001/talk/app/webrtc/webrtcsession_unittest.cc#oldcode3881 talk/app/webrtc/webrtcsession_unittest.cc:3881: rtc::Thread::Current()->Quit(); On 2015/08/24 12:01:34, hbos wrote: > On ...
5 years, 3 months ago (2015-08-24 15:15:12 UTC) #13
torbjorng (webrtc)
LGTM. https://codereview.webrtc.org/1288033009/diff/120001/talk/app/webrtc/webrtcsession.cc File talk/app/webrtc/webrtcsession.cc (right): https://codereview.webrtc.org/1288033009/diff/120001/talk/app/webrtc/webrtcsession.cc#newcode582 talk/app/webrtc/webrtcsession.cc:582: // TODO(hbos,torbjorng): How to decide which certificate to ...
5 years, 3 months ago (2015-08-24 15:34:34 UTC) #14
hbos
https://codereview.webrtc.org/1288033009/diff/100001/talk/app/webrtc/webrtcsession_unittest.cc File talk/app/webrtc/webrtcsession_unittest.cc (left): https://codereview.webrtc.org/1288033009/diff/100001/talk/app/webrtc/webrtcsession_unittest.cc#oldcode3881 talk/app/webrtc/webrtcsession_unittest.cc:3881: rtc::Thread::Current()->Quit(); On 2015/08/24 15:15:12, tommi (webrtc) wrote: > On ...
5 years, 3 months ago (2015-08-24 15:48:00 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1288033009/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1288033009/140001
5 years, 3 months ago (2015-08-24 15:48:44 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android on tryserver.webrtc (JOB_TIMED_OUT, no build URL) mac_baremetal on ...
5 years, 3 months ago (2015-08-24 17:49:03 UTC) #20
hbos
5 years, 3 months ago (2015-08-25 07:53:41 UTC) #21
Message was sent while issue was closed.
Committed patchset #5 (id:140001) manually as
87713d0fe6fb9c86abe501bdf3d26ef4287ee617 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698