Shaka Packager SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Classes | Public Types | Public Attributes | List of all members
shaka::RawKeyParams Struct Reference

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

Detailed Description

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

Definition at line 99 of file crypto_params.h.

Member Data Documentation

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 103 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 117 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 107 of file crypto_params.h.


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