Copyright © 2024 World Wide Web Consortium. W3C® liability, trademark and permissive document license rules apply.
This specification defines the "keyids"
initialization data format for use with the Encrypted Media Extensions [ENCRYPTED-MEDIA].
It defines a stream format-independent format for specifying a list of key ID(s). This type can be used by applications to directly provide information necessary to generate a license request without using media data or constructing container-specific formats.
This section describes the status of this document at the time of its publication. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at https://www.w3.org/TR/.
This document was published by the Media Working Group as a Group Note using the Note track.
This Group Note is endorsed by the Media Working Group, but is not endorsed by W3C itself nor its Members.
This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.
The W3C Patent Policy does not carry any licensing requirements or commitments on this document.
This document is governed by the 03 November 2023 W3C Process Document.
The format is a JSON object, encoded in UTF-8 as specified in the Encoding specification [encoding], containing the following member:
See Using base64url.
Applications may encode the JSON string using the TextEncoder
interface [encoding].
This section is non-normative.
The following example will generate a license request for two key ID(s). (Line breaks are for readability only.)
{
"kids":
[
"LwVHf8JLtPrv2GUXFW2v_A",
"0DdtU9od-Bh5L3xbv0Xf_A"
]
}
As well as sections marked as non-normative, all authoring guidelines, diagrams, examples, and notes in this specification are non-normative. Everything else in this specification is normative.