WebRTC
The RTCCertificate interface of the WebRTC API provides an object representing a certificate that an RTCPeerConnection uses to authenticate.
RTCCertificate is a serializable object, so it can be cloned with Window.structuredClone or copied between Workers using Worker/postMessage().
Instance properties
- RTCCertificate.expires
- : Returns the expiration date of the certificate.
Instance methods
- RTCCertificate.getFingerprints()
- : Returns an array of certificate fingerprints, calculated using the different algorithms supported by the browser.
Specifications
Browser compatibility
See also
RTCPeerConnection.RTCPeerConnection()argumentconfiguration.certificates- RTCPeerConnection.generateCertificate_static
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
