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 #include "packager/app/gflags_hex_bytes.h"
15 
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);
31 
32 namespace shaka {
33 
37 
38 } // namespace shaka
39 
40 #endif // APP_WIDEVINE_ENCRYPTION_FLAGS_H_
bool ValidateWidevineCryptoFlags()