webrtc
webrtc copied to clipboard
Implement `GetRemoteCertificate` for `DTLSTransport` in wasm
Description
Implements basic support for GetRemoteCertificate using getRemoteCertificates
I'm not sure how to write tests for it, do I mock JS globals?
Reference issue
Partially addresses https://github.com/libp2p/go-libp2p/issues/3277