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
Specification |
---|
WebRTC: Real-Time Communication in Browsers # dom-rtccertificate |
Browser compatibility
BCD tables only load in the browser