setServerCertificate method

A promise to a server certificate to be used to encrypt messages to the license server.

Syntax

var Promise<void> = MediaKeys.setServerCertificate(serverCertificate);

Parameters

serverCertificate

Type: BufferSource

The server certificate.

Return value

Type: Promise<void>

A promise to a server certificate.

Standards information

Remarks

As of Microsoft Edge, this method is supported. For more information on EME implementation updates in Microsoft Edge, see Encrypted Media Extensions updates.

See also

MediaKeys

 

 

Show: