DrmSecurityLevel

sealed class DrmSecurityLevel : Parcelable

DrmSecurityLevel is a sealed class that represents the security level of the DRM system. DRM supports three security levels: L1, L3, and AUTO. L1 is the highest level of security, where all decryption, content processing, and key handling are done within the device’s hardware-secured areas. L3 is the lowest security level in Widevine. It relies on software to perform decryption and security processing. AUTO is used to automatically select the drm security level based on hardware device.

Parameters

name

the name of the security level.

Inheritors

Types

Link copied to clipboard
data object AUTO : DrmSecurityLevel

Automatically select drm security level based on hardware device. Definition: AUTO is used to automatically select the drm security level based on hardware device.

Link copied to clipboard
data object L1 : DrmSecurityLevel

Security Level 1 (L1) Definition: L1 is the highest level of security, where all decryption, content processing, and key handling are done within the device’s hardware-secured areas. Function: This level ensures that all DRM decryption and processing occur securely within hardware, making it extremely difficult to hack.

Link copied to clipboard
data object L3 : DrmSecurityLevel

Security Level 3 (L3) Definition: L3 is the lowest security level in Widevine. It relies on software to perform decryption and security processing. Function: All decryption and content processing take place in an unprotected application space, meaning the decryption process occurs on the device’s CPU without relying on any hardware-secured area. This method is vulnerable to reverse engineering and cracking, offering weaker protection.

Properties

Link copied to clipboard
val name: String