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.
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 structuredClone() or copied between Workers using postMessage().
Instance properties
RTCCertificate.expiresRead only-
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
| Specification |
|---|
| WebRTC: Real-Time Communication in Browsers> # dom-rtccertificate> |
Browser compatibility
Loading…