W3C home > Mailing lists > Public > public-webrtc@w3.org > April 2017

[webrtc-pc] RTCCertificate.getAlgorithm for remote certificates

From: henbos via GitHub <sysbot+gh@w3.org>
Date: Tue, 11 Apr 2017 11:50:34 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-220925524-1491911433-sysbot+gh@w3.org>
henbos has just created a new issue for https://github.com/w3c/webrtc-pc:

== RTCCertificate.getAlgorithm for remote certificates ==
RTCCertificate.getAlgorithm() is described as follows:

> Returns the value of keygenAlgorithm passed in the call to generateCertificate().

It is clear what to do for RTCCertificates generated by RTCPeerConnection.generateCertificate, but for certificates generated by the RTCPeerConnection contructor when no certificate was provided, and retrieved by RTCPeerConnection.getConfiguration, it is not clear what getAlgorithm() should return.

> If no certificates value was specified, one or more new RTCCertificate instances are generated for use with this RTCPeerConnection instance.

This could mean the PC called generateCertificate and we have a known AlgorithmIdentifier, or the PC could do something implementation-specific to generate certificates. Must an AlgorithmIdentifier have been used? Do we deduce which AlgorithmIdentifier could have been used? Do we return null if certificates was generated without explicitly calling generateCertificate with an AlgorithmIdentifier?

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1120 using your GitHub account
Received on Tuesday, 11 April 2017 11:50:43 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:50 UTC