setServerCertificate()

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The MediaKeys.setServerCertificate() method a Promise to a server certificate to be used to encrypt messages to the license server.

Syntax

MediaKeys.setServerCertificate([MediaKeySessionType]).then(function() { ... });

Specifications

Specification Status Comment
Encrypted Media Extensions
The definition of 'setServerCertificate()' in that specification.
Recommendation Initial definition

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support4213 ? ? ? ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support4342 Yes ? ? ?4.0

Document Tags and Contributors

Contributors to this page: fscholz, libbymc, jpmedley, rolfedh, Sebastianz
Last updated by: fscholz,