getRemoteCertificates

The getRemoteCertificates() method of the RTCDtlsTransport interface returns the certificate chain of the remote peer of the DTLS connection.

MDN Reference