Language

SecurityLevel Enum

Definition

Describes the software or hardware protection used by a DRM session's media-processing stages.

public enum SecurityLevel
type SecurityLevel = 
Inheritance
SecurityLevel

Fields

Name Value Description
Unknown 0

The DRM plugin did not report a security level, or an error occurred accessing it

Android reference for android.media.MediaDrm.SECURITY_LEVEL_UNKNOWN.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

SwSecureCrypto 1

DRM key management uses software-based whitebox crypto.

Android reference for android.media.MediaDrm.SECURITY_LEVEL_SW_SECURE_CRYPTO.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

SwSecureDecode 2

DRM key management and decoding use software-based whitebox crypto.

Android reference for android.media.MediaDrm.SECURITY_LEVEL_SW_SECURE_DECODE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

HwSecureCrypto 3

DRM key management and crypto operations are performed within a hardware backed trusted execution environment.

Android reference for android.media.MediaDrm.SECURITY_LEVEL_HW_SECURE_CRYPTO.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

HwSecureDecode 4

DRM key management, crypto operations and decoding of content are performed within a hardware backed trusted execution environment.

Android reference for android.media.MediaDrm.SECURITY_LEVEL_HW_SECURE_DECODE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

HwSecureAll 5

DRM key management, crypto operations, decoding of content and all handling of the media (compressed and uncompressed) is handled within a hardware backed trusted execution environment.

Android reference for android.media.MediaDrm.SECURITY_LEVEL_HW_SECURE_ALL.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

Hardware levels distinguish protected cryptographic operations, protected decoding and protection of all compressed and uncompressed media handling. Unknown includes a missing report or query failure. These reported levels are distinct from the separate maximum-level request sentinel.

Applies to