- From: Tim Panton <tim@phonefromhere.com>
- Date: Wed, 9 Dec 2015 17:42:02 +0000
- To: "public-webrtc@w3.org" <public-webrtc@w3.org>
Received on Wednesday, 9 December 2015 17:42:33 UTC
I see that in the Firefox implementation peerConnection.generateCertificate() takes an expires parameter: Such that var creq = mozRTCPeerConnection.generateCertificate( {name: "ECDSA", namedCurve: "P-256", expires: 365*24*60*60*1000*1000 }) .then(function (s){ console.log(new Date(s.expires)); }); creates a cert that is valid for a year. However, this isn’t described in the the current editors draft (https://w3c.github.io/webrtc-pc/#widl-RTCPeerConnection-generateCertificate-Promise-RTCCertificate--AlgorithmIdentifier-keygenAlgorithm <https://w3c.github.io/webrtc-pc/#widl-RTCPeerConnection-generateCertificate-Promise-RTCCertificate--AlgorithmIdentifier-keygenAlgorithm>) Am I missing something ? Tim.
Received on Wednesday, 9 December 2015 17:42:33 UTC