Shaka Packager SDK
Loading...
Searching...
No Matches
raw_key_encryption_flags.h
1// Copyright 2014 Google LLC. 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 raw key encryption.
8
9#ifndef PACKAGER_APP_RAW_KEY_ENCRYPTION_FLAGS_H_
10#define PACKAGER_APP_RAW_KEY_ENCRYPTION_FLAGS_H_
11
12#include <absl/flags/declare.h>
13#include <absl/flags/flag.h>
14
15#include <packager/utils/absl_flag_hexbytes.h>
16
17ABSL_DECLARE_FLAG(bool, enable_raw_key_encryption);
18ABSL_DECLARE_FLAG(bool, enable_raw_key_decryption);
19ABSL_DECLARE_FLAG(shaka::HexBytes, key_id);
20ABSL_DECLARE_FLAG(shaka::HexBytes, key);
21ABSL_DECLARE_FLAG(std::string, keys);
22ABSL_DECLARE_FLAG(shaka::HexBytes, iv);
23ABSL_DECLARE_FLAG(shaka::HexBytes, pssh);
24
25namespace shaka {
26
30
31} // namespace shaka
32
33#endif // PACKAGER_APP_RAW_KEY_ENCRYPTION_FLAGS_H_
All the methods that are virtual are virtual for mocking.
bool ValidateRawKeyCryptoFlags()