Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
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 |