RTCCertificate
WebRTC
WebRTC
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
- : 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
See also
RTCPeerConnection.RTCPeerConnection()argumentconfiguration.certificates- RTCPeerConnection.generateCertificate()