Shaka Packager SDK
|
Raw key encryption/decryption parameters, i.e. with key parameters provided. More...
#include <crypto_params.h>
Classes | |
struct | KeyInfo |
Public Types | |
using | StreamLabel = std::string |
Public Attributes | |
std::vector< uint8_t > | iv |
std::vector< uint8_t > | pssh |
std::map< StreamLabel, KeyInfo > | key_map |
Raw key encryption/decryption parameters, i.e. with key parameters provided.
Definition at line 123 of file crypto_params.h.
std::vector<uint8_t> shaka::RawKeyParams::iv |
An optional initialization vector. If not provided, a random iv
will be generated. Note that this parameter should only be used during testing. Not needed for decryption.
Definition at line 127 of file crypto_params.h.
std::map<StreamLabel, KeyInfo> shaka::RawKeyParams::key_map |
Defines the KeyInfo for the streams. An empty StreamLabel
indicates the default KeyInfo
, which applies to all the StreamLabels
not present in key_map
.
Definition at line 142 of file crypto_params.h.
std::vector<uint8_t> shaka::RawKeyParams::pssh |
Inject a custom pssh
or multiple concatenated psshs
. If not provided, a common system pssh will be generated. Not needed for decryption.
Definition at line 131 of file crypto_params.h.