DASH Media Packaging SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Classes | Public Types | Public Attributes | List of all members
shaka::RawKeyEncryptionParams Struct Reference

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, KeyPairkey_map
 

Detailed Description

Raw key encryption parameters, i.e. with key parameters provided.

Definition at line 99 of file crypto_params.h.

Member Data Documentation

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.


The documentation for this struct was generated from the following file: