|
RTCCertificate, RTCPeerConnection.generateCertificate (WebRTC JavaScript) added.
(This is a re-upload of https://codereview.chromium.org/1311853005/ after blink merged with chrome.)
Primary changes:
New Blink JavaScript (idl)
- blink::RTCCertificate added.
- RTCPeerConnection.generateCertificate added.
- RTCPeerConnection::parseConfiguration, used to parse RTCConfiguration dictionaries, updated to support optional sequence<RTCCertificate> certificates member.
Blink layer interfaces added (abstraction level between blink and chromium-using-webrtc)
- blink::WebRTCCertificate, the heart of a javascript blink::RTCCertificate.
- blink::WebRTCCertificateGenerator, something that generates a blink::WebRTCCertificate.
Chromium implementations
- content::RTCCertificate (impl blink::WebRTCCertificate), basically a wrapper/container for the WebRTC layer certificate rtc::RTCCertificate.
- content::RTCCertificateGenerator (impl blink::WebRTCCertificateGenerator), creates content::RTCCertificate. It generates the rtc::RTCCertificate using the already existing PeerConnectionIdentityStore.
Other changes:
- Platform gets createRTCCertificateGenerator(), RendererBlinkPlatformImpl implements it to create a new content::RTCCertificateGenerator. Briges blink with chromium implementation.
- blink::WebRTCCertificate added to blink::RTCConfiguration. When converted to WebRTC layer configuration the certificates are retreived, meaning the peerconnection will end up with the certificates as input.
- PeerConnectionIdentityStore calling WebRTC code (SSLIdentity::Generate) when request is made to generate non-RSA certificates. Previously only RSA was supported and non-RSA would DCHECK crash.
blink-dev@ intent to implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/3Pps95Q6zRQ
BUG= 528250, webrtc:4927
Committed: https://crrev.com/ef4ab6012fddc80992b8848cfc6700e731dc39b1
Cr-Commit-Position: refs/heads/master@{#355520}
Total comments: 20
Total comments: 68
Total comments: 12
Total comments: 20
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+767 lines, -138 lines) |
Patch |
 |
M |
content/content_renderer.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/peer_connection_identity_store.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+56 lines, -9 lines |
0 comments
|
Download
|
 |
A |
content/renderer/media/rtc_certificate.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/renderer/media/rtc_certificate.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/renderer/media/rtc_certificate_generator.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/renderer/media/rtc_certificate_generator.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+120 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/media/rtc_peer_connection_handler.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/renderer_blink_platform_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/renderer_blink_platform_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection.html
|
View
|
1
2
3
4
5
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-expected.txt
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-generateCertificate.html
|
View
|
1
2
3
4
5
6
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-generateCertificate-expected.txt
|
View
|
1
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
third_party/WebKit/Source/modules/mediastream/RTCCertificate.h
|
View
|
1
2
3
4
5
|
2 chunks |
+21 lines, -23 lines |
0 comments
|
Download
|
 |
A + |
third_party/WebKit/Source/modules/mediastream/RTCCertificate.cpp
|
View
|
1
2
3
4
5
6
|
2 chunks |
+17 lines, -14 lines |
0 comments
|
Download
|
 |
A + |
third_party/WebKit/Source/modules/mediastream/RTCCertificate.idl
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+122 lines, -0 lines |
7 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.idl
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/modules.gypi
|
View
|
1
2
3
4
5
6
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/exported/WebRTCConfiguration.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/mediastream/RTCConfiguration.h
|
View
|
|
5 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/blink_headers.gypi
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/platform/Platform.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
A |
third_party/WebKit/public/platform/WebRTCCertificate.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
third_party/WebKit/public/platform/WebRTCCertificateGenerator.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+23 lines, -27 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/platform/WebRTCConfiguration.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
third_party/WebKit/public/platform/WebRTCKeyParams.h
|
View
|
1
2
|
2 chunks |
+40 lines, -52 lines |
2 comments
|
Download
|
Total messages: 38 (11 generated)
|