RTCCertificate
Baseline Widely available *
This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.
* Some parts of this feature may have varying levels of support.
TheRTCCertificate interface of theWebRTC API provides an object representing a certificate that anRTCPeerConnection uses to authenticate.
RTCCertificate is aserializable object, so it can be cloned withstructuredClone() or copied betweenWorkers usingpostMessage().
In this article
Instance properties
RTCCertificate.expiresRead onlyReturns 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
| Specification |
|---|
| WebRTC: Real-Time Communication in Browsers> # dom-rtccertificate> |