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_bool(include_common_pssh);
19 DECLARE_string(key_server_url);
20 DECLARE_hex_bytes(content_id);
21 DECLARE_string(policy);
22 DECLARE_int32(max_sd_pixels);
23 DECLARE_int32(max_hd_pixels);
24 DECLARE_int32(max_uhd1_pixels);
25 DECLARE_string(signer);
26 DECLARE_hex_bytes(aes_signing_key);
27 DECLARE_hex_bytes(aes_signing_iv);
28 DECLARE_string(rsa_signing_key_path);
29 DECLARE_int32(crypto_period_duration);
30 DECLARE_hex_bytes(group_id);
40 #endif // APP_WIDEVINE_ENCRYPTION_FLAGS_H_
bool ValidateWidevineCryptoFlags()