DASH Media Packaging SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
widevine_encryption_flags.h
1 // Copyright 2014 Google Inc. All rights reserved.
2 //
3 // Use of this source code is governed by a BSD-style
4 // license that can be found in the LICENSE file or at
5 // https://developers.google.com/open-source/licenses/bsd
6 //
7 // Defines command line flags for widevine_encryption.
8 
9 #ifndef APP_WIDEVINE_ENCRYPTION_FLAGS_H_
10 #define APP_WIDEVINE_ENCRYPTION_FLAGS_H_
11 
12 #include <gflags/gflags.h>
13 
14 DECLARE_bool(enable_widevine_encryption);
15 DECLARE_bool(enable_widevine_decryption);
16 DECLARE_bool(include_common_pssh);
17 DECLARE_string(key_server_url);
18 DECLARE_string(content_id);
19 DECLARE_string(policy);
20 DECLARE_int32(max_sd_pixels);
21 DECLARE_int32(max_hd_pixels);
22 DECLARE_int32(max_uhd1_pixels);
23 DECLARE_string(signer);
24 DECLARE_string(aes_signing_key);
25 DECLARE_string(aes_signing_iv);
26 DECLARE_string(rsa_signing_key_path);
27 DECLARE_int32(crypto_period_duration);
28 
29 namespace shaka {
30 
34 
35 } // namespace shaka
36 
37 #endif // APP_WIDEVINE_ENCRYPTION_FLAGS_H_
bool ValidateWidevineCryptoFlags()