setServerCertificate

inline suspend fun MediaKeys.setServerCertificate(serverCertificate: BufferSource): Boolean(source)

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

MDN Reference