9 #ifndef APP_WIDEVINE_ENCRYPTION_FLAGS_H_
10 #define APP_WIDEVINE_ENCRYPTION_FLAGS_H_
12 #include <absl/flags/declare.h>
13 #include <absl/flags/flag.h>
15 #include <packager/utils/absl_flag_hexbytes.h>
17 ABSL_DECLARE_FLAG(
bool, enable_widevine_encryption);
18 ABSL_DECLARE_FLAG(
bool, enable_widevine_decryption);
19 ABSL_DECLARE_FLAG(std::string, key_server_url);
21 ABSL_DECLARE_FLAG(std::string, policy);
22 ABSL_DECLARE_FLAG(int32_t, max_sd_pixels);
23 ABSL_DECLARE_FLAG(int32_t, max_hd_pixels);
24 ABSL_DECLARE_FLAG(int32_t, max_uhd1_pixels);
25 ABSL_DECLARE_FLAG(std::string, signer);
28 ABSL_DECLARE_FLAG(std::string, rsa_signing_key_path);
29 ABSL_DECLARE_FLAG(int32_t, crypto_period_duration);
31 ABSL_DECLARE_FLAG(
bool, enable_entitlement_license);
All the methods that are virtual are virtual for mocking.
bool ValidateWidevineCryptoFlags()