setServerCertificate method

JSPromise<JSBoolean> setServerCertificate(
  1. BufferSource serverCertificate
)

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

Implementation

external JSPromise<JSBoolean> setServerCertificate(
    BufferSource serverCertificate);