9 #ifndef APP_WIDEVINE_ENCRYPTION_FLAGS_H_
10 #define APP_WIDEVINE_ENCRYPTION_FLAGS_H_
12 #include <gflags/gflags.h>
14 #include "packager/app/gflags_hex_bytes.h"
16 DECLARE_bool(enable_widevine_encryption);
17 DECLARE_bool(enable_widevine_decryption);
18 DECLARE_string(key_server_url);
19 DECLARE_hex_bytes(content_id);
20 DECLARE_string(policy);
21 DECLARE_int32(max_sd_pixels);
22 DECLARE_int32(max_hd_pixels);
23 DECLARE_int32(max_uhd1_pixels);
24 DECLARE_string(signer);
25 DECLARE_hex_bytes(aes_signing_key);
26 DECLARE_hex_bytes(aes_signing_iv);
27 DECLARE_string(rsa_signing_key_path);
28 DECLARE_int32(crypto_period_duration);
29 DECLARE_hex_bytes(group_id);
30 DECLARE_bool(enable_entitlement_license);
All the methods that are virtual are virtual for mocking.
bool ValidateWidevineCryptoFlags()