Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the supported protection schemes for encrypted samples.
Syntax
typedef enum _MFSampleEncryptionProtectionScheme {
  MF_SAMPLE_ENCRYPTION_PROTECTION_SCHEME_NONE = 0,
  MF_SAMPLE_ENCRYPTION_PROTECTION_SCHEME_AES_CTR = 1,
  MF_SAMPLE_ENCRYPTION_PROTECTION_SCHEME_AES_CBC = 2
} MFSampleEncryptionProtectionScheme;
Constants
| MF_SAMPLE_ENCRYPTION_PROTECTION_SCHEME_NONEValue: 0 No encryption scheme. | 
| MF_SAMPLE_ENCRYPTION_PROTECTION_SCHEME_AES_CTRValue: 1 The encryption scheme is AES counter mode (CTR). | 
| MF_SAMPLE_ENCRYPTION_PROTECTION_SCHEME_AES_CBCValue: 2 The encryption scheme is Cipher Block Chaining (CBC). | 
Remarks
The encryption scheme for a sample is specified using the MFSampleExtension_Encryption_ProtectionScheme attribute.
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows 10, version 1709 [desktop apps only] | 
| Minimum supported server | None supported | 
| Header | mfapi.h |