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.expires Read 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

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
RTCCertificate
expires
getFingerprints

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support

See also