DASH Media Packaging SDK
|
Raw key encryption parameters, i.e. with key parameters provided. More...
#include <crypto_params.h>
Classes | |
struct | KeyPair |
Public Types | |
using | StreamLabel = std::string |
Public Attributes | |
std::vector< uint8_t > | iv |
std::vector< uint8_t > | pssh |
std::map< StreamLabel, KeyPair > | key_map |
Raw key encryption parameters, i.e. with key parameters provided.
Definition at line 99 of file crypto_params.h.
std::vector<uint8_t> shaka::RawKeyEncryptionParams::iv |
An optional initialization vector. If not provided, a random iv
will be generated. Note that this parameter should only be used during testing.
Definition at line 102 of file crypto_params.h.
std::map<StreamLabel, KeyPair> shaka::RawKeyEncryptionParams::key_map |
Defines the KeyPair for the streams. An empty StreamLabel
indicates the default KeyPair
, which applies to all the StreamLabels
not present in key_map
.
Definition at line 115 of file crypto_params.h.
std::vector<uint8_t> shaka::RawKeyEncryptionParams::pssh |
Inject a custom pssh
or multiple concatenated psshs
. If not provided, a common system pssh will be generated.
Definition at line 105 of file crypto_params.h.