DataChannel('wpt');
      const offer = await pc.createOffer();
      const sections = SDPUtils.splitSections(offer.sdp);
      const dtlsParameters = SDPUtils.getDtlsParameters(sections[1], sections[0]);
      assert_equals(dtlsParameters.fingerprints[0].algorithm, cert.getFingerprints()[0].algorithm);
      // https://www.rfc-editor.org/rfc/rfc4572#section-5 requires uppercase hex in the SDP.
      assert_equals(dtlsParameters.fingerprints[0].value, cert.getFingerprints()[0].value.toUpperCase());
    })
 