[webrtc-pc] RTCCertificate: allow to import existing certificate

arielt has just created a new issue for https://github.com/w3c/webrtc-pc:

== RTCCertificate: allow to import existing certificate ==
In-browser, RTCPeerConnection provides an option to generate RTCCertificate or can generate it by itself.
https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/RTCPeerConnection#Using_certificates
https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/generateCertificate

It would be helpful to allow it to import existing certificates, for instance when we want to use the same certificate for communication with signalling server.

Generator with such functionality(FromPEM) is already implemented in Chromium code:
https://github.com/chromium/chromium/blob/0aee4434a4dba42a42abaea9bfbc0cd196a63bc1/content/renderer/media/webrtc/rtc_certificate_generator.h

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1853 using your GitHub account

Received on Wednesday, 25 April 2018 16:04:39 UTC