PlayReadyEncryptionAlgorithm
PlayReadyEncryptionAlgorithm
PlayReadyEncryptionAlgorithm
PlayReadyEncryptionAlgorithm
Enum
Definition
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[Contains prerelease APIs.]
Indicates the type of encryption algorithm specified in a PlayReady content header.
public : enum class PlayReadyEncryptionAlgorithmpublic enum PlayReadyEncryptionAlgorithmPublic Enum PlayReadyEncryptionAlgorithm// You can use this enum in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
| Aes128Cbc Aes128Cbc Aes128Cbc Aes128Cbc | Prerelease. AES128CBC encryption. |
| Aes128Ctr Aes128Ctr Aes128Ctr Aes128Ctr | AES-128 Counter-mode encryption. |
| Cocktail Cocktail Cocktail Cocktail | Cocktail encryption. |
| Uninitialized Uninitialized Uninitialized Uninitialized | The encryption method has not been set. |
| Unprotected Unprotected Unprotected Unprotected | Content is not encrypted. |
| Unspecified Unspecified Unspecified Unspecified | Prerelease. 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.