Skip to content

Commit e66eab6

Browse files
Relax setServerCertificate() requirement (#575)
* Relax setServerCertificate() requirement This change removed the requirement for key systems to support requesting the server certificate via the "message" event, which is not supported by many real world key systems.
1 parent adbdf57 commit e66eab6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

encrypted-media-respec.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3116,15 +3116,15 @@ <h2>
31163116
Provides a server certificate to be used to encrypt messages to the license server.
31173117
</p>
31183118
<p>
3119-
[=Key Systems=] that use such certificates MUST also support requesting the
3120-
certificate from the server via the [=Queue a "message" Event=] algorithm.
3119+
For [=Key Systems=] that use such certificates, applications SHOULD call
3120+
{{MediaKeys/setServerCertificate()}} to explicitly set the server certificate.
3121+
Otherwise, license exchange may fail.
31213122
</p>
31223123
<p class="note">
3123-
This method allows an application to proactively provide a server certificate to
3124-
implementations that support it to avoid the additional round trip should the [=CDM=]
3125-
request it. It is intended as an optimization, and applications are not required to
3126-
use it.
3127-
</p>
3124+
Some key systems also support requesting the certificate from the server via the
3125+
[=Queue a "message" Event=] algorithm. However, this is not supported by all key
3126+
systems that use such certificates.
3127+
</p>
31283128
<p>
31293129
The server certificate contents are [=Key System=]-specific. It MUST NOT contain
31303130
executable code.

0 commit comments

Comments
 (0)