Shaka Packager SDK
Loading...
Searching...
No Matches
cpix_encryption_flags.h
1// Copyright 2026 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 CPIX encryption.
8
9#ifndef PACKAGER_APP_CPIX_ENCRYPTION_FLAGS_H_
10#define PACKAGER_APP_CPIX_ENCRYPTION_FLAGS_H_
11
12#include <string>
13
14#include <absl/flags/declare.h>
15#include <absl/flags/flag.h>
16
17ABSL_DECLARE_FLAG(bool, enable_cpix_encryption);
18ABSL_DECLARE_FLAG(bool, enable_cpix_decryption);
19ABSL_DECLARE_FLAG(std::string, cpix);
20ABSL_DECLARE_FLAG(std::string, cpix_request_file);
21ABSL_DECLARE_FLAG(std::string, cpix_headers);
22ABSL_DECLARE_FLAG(std::string, cpix_private_key);
23
24namespace shaka {
25
29
30} // namespace shaka
31
32#endif // PACKAGER_APP_CPIX_ENCRYPTION_FLAGS_H_
All the methods that are virtual are virtual for mocking.
bool ValidateCpixCryptoFlags()