← Chrome 159 reference · All APIs

v159 · network · covered on mdn

WebTransport keying material export

Adds WebTransport.prototype.exportKeyingMaterial(label, context, outputLength), returning a Promise<Uint8Array> of cryptographic keying material derived from the session’s underlying TLS exporter for channel binding and application-level authentication without exposing TLS traffic keys.

Limited availability — 3-argument exportKeyingMaterial() is not Baseline (parent WebTransport is Baseline Newly available since 2026-03-24)

  • Chrome · 159 (desktop, Android, WebView; 3-arg API)
  • Edge · Mirrors Chromium (159)
  • Firefox · 155 (2-arg) / 160 (3-arg, desktop only; Android false)
  • Safari · 27.3 in BCD (3-arg landed in WebKit PR #69982)

The parent webtransport web-feature is Baseline Newly available since 2026-03-24 per webstatus.dev, but exportKeyingMaterial() is not part of that Baseline set. In BCD api/WebTransport.json (checked 2026-11-24), exportKeyingMaterial lists Chrome 159, Firefox 155 (desktop; Firefox Android false), and Safari 27.3, while the outputLength_parameter subfeature still reads Chrome false and Safari false (lagging Chrome 159’s 3-argument ship).

this feature is documented on MDN

MDN: WebTransport: exportKeyingMaterial() method

MDN’s dedicated exportKeyingMaterial() page (verified HTTP 200 on 2026-11-24) already documents the exact Chrome 159 3-argument signature exportKeyingMaterial(label, context, outputLength), parameter byte limits (0–255 bytes for label/context, 1–4096+ bytes for outputLength), RangeError and InvalidStateError rejections, TLS exporter channel-binding theory, a worked SubtleCrypto HMAC-SHA256 example, Specifications, and Browser compatibility. gendn does not duplicate that reference here.

Why gendn doesn’t duplicate MDN: this site exists for Chrome features without a canonical MDN page yet. When MDN already documents an API completely, gendn publishes an honest pointer plus the Chrome 159 protocol serialization, lifecycle, and cross-browser signature details MDN does not cover.

Chrome 159 specifics & cross-browser signature differences

// Distinguish the standardized 3-argument API (Chrome 159+, Firefox 160+, WebKit PR #69982)
// from Firefox 155–159's earlier 2-argument signature.
const supportsStandardExporter =
  typeof WebTransport !== "undefined" &&
  typeof WebTransport.prototype.exportKeyingMaterial === "function" &&
  WebTransport.prototype.exportKeyingMaterial.length === 3;

if (supportsStandardExporter) {
  const enc = new TextEncoder();
  const wt = new WebTransport("https://example.com:4433/wt");
  // Safe to invoke while connecting; queues until the session connects (or rejects if closed).
  const keyBytes = await wt.exportKeyingMaterial(
    enc.encode("app.example/channel-binding-v1"),
    enc.encode("session-auth"),
    32, // 1..4096 bytes in Chromium
  );
  console.log(`Derived ${keyBytes.byteLength} bytes of session-bound keying material`);
}
Source: Chromium dedicated_web_transport_http3_client.cc; Blink web_transport.cc; ChromeStatus interop notes (4860330806214656); WPT export-keying-material.https.any.js.

Browser compatibility

Support from BCD api/WebTransport.json (checked 2026-11-24) and ChromeStatus 4860330806214656. Disclosed BCD lag: outputLength_parameter still reads Chrome false and Safari false even though Chrome 159 ships the standardized 3-argument signature.
BrowserexportKeyingMaterial()3-arg outputLengthEvidence / notes
Chrome (desktop, Android, WebView)159159 (BCD lags as false)Ships the standardized 3-argument signature (1–4096 bytes) per ChromeStatus 4860330806214656 and Blink web_transport.idl.
Edge159 (mirror)159 (BCD mirrors Chrome)Mirrors Chromium’s WebTransportExportKeyingMaterial stable flag.
Firefox155 (desktop) / No (Android)160 (desktop) / No (Android)BCD records Firefox 155 for the earlier 2-arg form (context optional) and Firefox 160 for outputLength; tracked in Mozilla Bug 2079306.
Safari27.3 (BCD)In dev / BCD falseWebKit PR #69982 landed the 3-argument API; BCD currently lists Safari 27.3 for the method and false for outputLength_parameter.
Source: BCD api/WebTransport.json; ChromeStatus API record; webstatus.dev webtransport.

quick reference

Chrome 159 shipping metadata and IDL summary for WebTransport keying material export
IDL[NewObject] Promise<Uint8Array> exportKeyingMaterial(BufferSource label, BufferSource context, unsigned long outputLength); on WebTransport ([Exposed=(Window,Worker), SecureContext]; verbatim from W3C WebTransport and Blink web_transport.idl)
Shipped inChrome 159 (desktop, Android, Android WebView), enabled by default — filed under “Enabled by default” in the milestone=159 listing
Runtime flagBlink runtime feature WebTransportExportKeyingMaterial is status: "stable" in runtime_enabled_features.json5 (flag before shipping: chrome://flags/#enable-experimental-web-platform-features; Finch name WebTransportExportKeyingMaterial)
Intents & bugblink-dev Intent to Prototype · blink-dev Intent to Ship · issues.chromium.org/556304550
Testswpt.fyi — export-keying-material.https.any.html (test source) · idlharness.https.sub.any.html
SecurityDoes not expose TLS traffic keys or enable decrypting WebTransport traffic; callers must treat exported bytes as secrets and choose protocol-specific label/context values (WebTransport security questionnaire).
Showcase demoNo Chrome Platform Showcase demo exists yet (HEAD-checked 404 on 2026-11-24).
ChromeStatus4860330806214656 — WebTransport keying material export

references