RTCCertificate.webidl (746B)
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* This Source Code Form is subject to the terms of the Mozilla Public 3 * License, v. 2.0. If a copy of the MPL was not distributed with this file, 4 * You can obtain one at http://mozilla.org/MPL/2.0/. 5 * 6 * Specification: http://w3c.github.io/webrtc-pc/#certificate-management 7 */ 8 9 [GenerateInit] 10 dictionary RTCCertificateExpiration { 11 [EnforceRange] 12 DOMTimeStamp expires; 13 }; 14 15 [GenerateInit] 16 dictionary RTCDtlsFingerprint { 17 DOMString algorithm; 18 DOMString value; 19 }; 20 21 [Pref="media.peerconnection.enabled", Serializable, 22 Exposed=Window] 23 interface RTCCertificate { 24 readonly attribute DOMTimeStamp expires; 25 sequence<RTCDtlsFingerprint> getFingerprints(); 26 };