PlayReadyEncryptionAlgorithm PlayReadyEncryptionAlgorithm PlayReadyEncryptionAlgorithm PlayReadyEncryptionAlgorithm PlayReadyEncryptionAlgorithm Enum

Definition

Indicates the type of encryption algorithm specified in a PlayReady content header.

public : enum class PlayReadyEncryptionAlgorithm
enum class winrt::Windows::Media::Protection::PlayReady::PlayReadyEncryptionAlgorithm : int32_t
public enum PlayReadyEncryptionAlgorithm
Public Enum PlayReadyEncryptionAlgorithm
var value = Windows.Media.Protection.PlayReady.PlayReadyEncryptionAlgorithm.aes128Cbc;
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Aes128Cbc Aes128Cbc Aes128Cbc Aes128Cbc Aes128Cbc 5

AES128CBC encryption.

Aes128Ctr Aes128Ctr Aes128Ctr Aes128Ctr Aes128Ctr 1

AES-128 Counter-mode encryption.

Cocktail Cocktail Cocktail Cocktail Cocktail 4

Cocktail encryption.

Uninitialized Uninitialized Uninitialized Uninitialized Uninitialized 2147483647

The encryption method has not been set.

Unprotected Unprotected Unprotected Unprotected Unprotected 0

Content is not encrypted.

Unspecified Unspecified Unspecified Unspecified Unspecified 65535

The encryption method is unspecified.

Remarks

Starting with Windows 10, version 1709, this enumeration supports the values Aes128Cbc and Unspecified. On previous versions of Windows 10, some PlayReady APIs will thrown an exception if these values are used. For this reason, you should check for the presence of the enumeration value by calling ApiInformationIsApiContractPresent and specifying major contract version 5 before using the new enum values. For more information, see PlayReadyContentHeader and PlayReadyStatics.CheckSupportedHardware.

Version history

Version SDK version Value added
1709 16299 Aes128Cbc
1709 16299 Unspecified