Index: third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.idl |
diff --git a/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.idl b/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.idl |
index 719c442d56d6821508462d50e58716440df48f3f..b87378102e4c481469eaec84f3fc5f4a8c91044c 100644 |
--- a/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.idl |
+++ b/third_party/WebKit/Source/modules/mediastream/RTCPeerConnection.idl |
@@ -130,4 +130,9 @@ enum RTCIceConnectionState { |
[RaisesException] RTCDTMFSender createDTMFSender(MediaStreamTrack track); |
attribute EventHandler onaddstream; |
attribute EventHandler onremovestream; |
+ |
+ // Certificate Management |
+ // http://w3c.github.io/webrtc-pc/#sec.cert-mgmt |
+ // TODO(hbos): Use AlgorithmIdentifier and the WebCryptoAPI normalization process. crbug.com/544917 |
+ [RuntimeEnabled=RTCCertificate, RaisesException, CallWith=ScriptState] static Promise<RTCCertificate> generateCertificate(Dictionary keygenAlgorithm); |
}; |