Skip to content
Type

PsshBox

Represents a Protection System Specific Header box as used by ISOBMFF Common Encryption. Contains DRM system-specific data that can be used to obtain a decryption key.

ts
type PsshBox = {
	systemId: string;
	keyIds: string[] | null;
	data: Uint8Array;
};

Used by

Properties

systemId

ts
systemId: string;

The system ID as a 32-bit lowercase hex string.

keyIds

ts
keyIds: string[] | null;

The list of key IDs (32-bit lowercase hex strings) this box applies to, or null if it applies to all key IDs.

data

ts
data: Uint8Array<ArrayBufferLike>;

The content protection system-specific data.

Released under the Mozilla Public License 2.0.