Sign in

§4.3

Content protection and encryption

MSF supports end-to-end encryption of media content using MoQ Secure Objects [SecureObjects]. When encryption is enabled, the payload of LOC-packaged media objects is encrypted and authenticated, while relays can still route content based on unencrypted header information.

4.3.1. Encryption scheme signaling

The encryption scheme and parameters are signaled in the catalog using the following track-level fields:

When the encryptionScheme field is present in a track definition, subscribers MUST decrypt the object payload using the specified scheme before processing.

4.3.2. Key management

The keyId and trackBaseKey values are obtained from an external key management system and the mechanism for obtaining these values is out of scope for this specification. Examples of key management systems include MLS-based key distribution [E2EE-MLS] or other out-of-band key exchange mechanisms.

Depending on the key management mechanism in use, a keyId MAY be scoped to:

  • A single track

  • A single MoQ Session

  • Multiple tracks across one or more MoQ sessions

Publishers and subscribers MUST use the same key management system and agree on the keyId scope semantics for interoperable operation.

4.3.4. Encrypted object structure

For LOC-packaged tracks with encryption enabled (see [SecureObjects], Section 4):

  • The immutable header extensions (including Group ID and Object ID) remain in plaintext and are authenticated

  • The object payload is encrypted and authenticated using the specified cipher

  • Private header extensions (type 0xA) are encrypted alongside the payload

This is one section of MOQT Streaming Format, rendered per-section for quick reference and citation. The authoritative text is draft-ietf-moq-msf-01 at the IETF.