W3cubDocs

/Web APIs

RTCCertificate

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

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
RTCCertificate 49 79 42 No 36 12.1 49 49 42 36 12.2 5.0
expires 49 79 42 No 36 12.1 49 49 42 36 12.2 5.0
getFingerprints 61 79 No No 48 12.1 61 61 No 45 12.2 8.0

See also

© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCCertificate