RTCPeerConnection.generateCertificate taking AlgorithmIdentifier and using WebCrypto
Latest WebRTC draft @ generateCertificate: http://w3c.github.io/webrtc-pc/#widl-RTCPeerConnection-generateCertificate-Promise-RTCCertificate--AlgorithmIdentifier-keygenAlgorithm Note the corrections that has since been made resolving WebRTC & WebCrypto spec discrepencies (https://github.com/w3c/webrtc-pc/issues/310, https://github.com/w3c/webrtc-pc/issues/322), the unstable github latest version looks slightly different: https://github.com/w3c/webrtc-pc/blob/master/webrtc.html (More readable version: http://htmlpreview.github.io/?https://github.com/w3c/webrtc-pc/blob/master/webrtc.html) This implementation is using WebCrypto and supports the AlgorithmIdentifier values required by the github version of the WebRTC spec: { name: "RSASSA-PKCS1-v1_5", modulusLength: 2048, publicExponent: new Uint8Array([1, 0, 1]), hash: "SHA-256" } { name: "ECDSA", namedCurve: "P-256" } NOPRESUBMIT=true BUG=544917 Review URL: https://codereview.chromium.org/1418113002 Cr-Commit-Position: refs/heads/master@{#357076}
Showing
Please register or sign in to comment