MFSampleEncryptionProtectionScheme enumeration
[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.]
Specifies the supported protection schemes for encrypted samples.
Syntax
typedef enum _MFSampleEncryptionProtectionScheme { SAMPLE_ENCRYPTION_PROTECTION_SCHEME_NONE = 0, SAMPLE_ENCRYPTION_PROTECTION_SCHEME_AES_CTR = 1, SAMPLE_ENCRYPTION_PROTECTION_SCHEME_AES_CBC = 2 } MFSampleEncryptionProtectionScheme;
Constants
- SAMPLE_ENCRYPTION_PROTECTION_SCHEME_NONE
-
No encryption scheme.
- SAMPLE_ENCRYPTION_PROTECTION_SCHEME_AES_CTR
-
The encryption scheme is AES counter mode (CTR).
- SAMPLE_ENCRYPTION_PROTECTION_SCHEME_AES_CBC
-
The encryption scheme is Cipher Block Chaining (CBC).
Remarks
The encryption scheme for a sample is specified using the MFSampleExtension_Encryption_ProtectionScheme attribute.
Requirements
|
Minimum supported client |
Windows 10, version 1709 [desktop apps only] |
|---|---|
|
Minimum supported server |
None supported |
|
Header |
|