171 lines
9.5 KiB
HTML
171 lines
9.5 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.17"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>Shaka Packager SDK: shaka::RawKeyParams Struct Reference</title>
|
|
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="../../jquery.js"></script>
|
|
<script type="text/javascript" src="../../dynsections.js"></script>
|
|
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
|
<script type="text/javascript" src="../../search/search.js"></script>
|
|
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">Shaka Packager SDK
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.17 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="../../menudata.js"></script>
|
|
<script type="text/javascript" src="../../menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('../../',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="../../d8/daf/namespaceshaka.html">shaka</a></li><li class="navelem"><a class="el" href="../../d0/db4/structshaka_1_1RawKeyParams.html">RawKeyParams</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#nested-classes">Classes</a> |
|
|
<a href="#pub-types">Public Types</a> |
|
|
<a href="#pub-attribs">Public Attributes</a> |
|
|
<a href="../../d2/dd7/structshaka_1_1RawKeyParams-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">shaka::RawKeyParams Struct Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p>Raw key encryption/decryption parameters, i.e. with key parameters provided.
|
|
<a href="../../d0/db4/structshaka_1_1RawKeyParams.html#details">More...</a></p>
|
|
|
|
<p><code>#include <<a class="el" href="../../dd/d58/crypto__params_8h_source.html">crypto_params.h</a>></code></p>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
|
|
Classes</h2></td></tr>
|
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dbe/structshaka_1_1RawKeyParams_1_1KeyInfo.html">KeyInfo</a></td></tr>
|
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
|
|
Public Types</h2></td></tr>
|
|
<tr class="memitem:aaef26681d8076216ce0d2831a2e4bb36"><td class="memItemLeft" align="right" valign="top"><a id="aaef26681d8076216ce0d2831a2e4bb36"></a>
|
|
using </td><td class="memItemRight" valign="bottom"><b>StreamLabel</b> = std::string</td></tr>
|
|
<tr class="separator:aaef26681d8076216ce0d2831a2e4bb36"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table><table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
|
Public Attributes</h2></td></tr>
|
|
<tr class="memitem:aab733ab6920dd8fbed523810e64ea3f1"><td class="memItemLeft" align="right" valign="top">std::vector< uint8_t > </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/db4/structshaka_1_1RawKeyParams.html#aab733ab6920dd8fbed523810e64ea3f1">iv</a></td></tr>
|
|
<tr class="separator:aab733ab6920dd8fbed523810e64ea3f1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a448b8c435fc86d4fbc85214e523f2ac5"><td class="memItemLeft" align="right" valign="top">std::vector< uint8_t > </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/db4/structshaka_1_1RawKeyParams.html#a448b8c435fc86d4fbc85214e523f2ac5">pssh</a></td></tr>
|
|
<tr class="separator:a448b8c435fc86d4fbc85214e523f2ac5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a14e44fed95583d0bb319c082fb1ddb84"><td class="memItemLeft" align="right" valign="top">std::map< StreamLabel, <a class="el" href="../../d0/dbe/structshaka_1_1RawKeyParams_1_1KeyInfo.html">KeyInfo</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/db4/structshaka_1_1RawKeyParams.html#a14e44fed95583d0bb319c082fb1ddb84">key_map</a></td></tr>
|
|
<tr class="separator:a14e44fed95583d0bb319c082fb1ddb84"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>Raw key encryption/decryption parameters, i.e. with key parameters provided. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../dd/d58/crypto__params_8h_source.html#l00123">123</a> of file <a class="el" href="../../dd/d58/crypto__params_8h_source.html">crypto_params.h</a>.</p>
|
|
</div><h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="aab733ab6920dd8fbed523810e64ea3f1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aab733ab6920dd8fbed523810e64ea3f1">◆ </a></span>iv</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::vector<uint8_t> shaka::RawKeyParams::iv</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>An optional initialization vector. If not provided, a random <code>iv</code> will be generated. Note that this parameter should only be used during testing. Not needed for decryption. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../dd/d58/crypto__params_8h_source.html#l00127">127</a> of file <a class="el" href="../../dd/d58/crypto__params_8h_source.html">crypto_params.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a14e44fed95583d0bb319c082fb1ddb84"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a14e44fed95583d0bb319c082fb1ddb84">◆ </a></span>key_map</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::map<StreamLabel, <a class="el" href="../../d0/dbe/structshaka_1_1RawKeyParams_1_1KeyInfo.html">KeyInfo</a>> shaka::RawKeyParams::key_map</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Defines the <a class="el" href="../../d0/dbe/structshaka_1_1RawKeyParams_1_1KeyInfo.html">KeyInfo</a> for the streams. An empty <code>StreamLabel</code> indicates the default <code><a class="el" href="../../d0/dbe/structshaka_1_1RawKeyParams_1_1KeyInfo.html">KeyInfo</a></code>, which applies to all the <code>StreamLabels</code> not present in <code>key_map</code>. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../dd/d58/crypto__params_8h_source.html#l00142">142</a> of file <a class="el" href="../../dd/d58/crypto__params_8h_source.html">crypto_params.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a448b8c435fc86d4fbc85214e523f2ac5"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a448b8c435fc86d4fbc85214e523f2ac5">◆ </a></span>pssh</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::vector<uint8_t> shaka::RawKeyParams::pssh</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Inject a custom <code>pssh</code> or multiple concatenated <code>psshs</code>. If not provided, a common system pssh will be generated. Not needed for decryption. </p>
|
|
|
|
<p class="definition">Definition at line <a class="el" href="../../dd/d58/crypto__params_8h_source.html#l00131">131</a> of file <a class="el" href="../../dd/d58/crypto__params_8h_source.html">crypto_params.h</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this struct was generated from the following file:<ul>
|
|
<li>packager/media/public/<a class="el" href="../../dd/d58/crypto__params_8h_source.html">crypto_params.h</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Tue Jun 22 2021 00:16:05 for Shaka Packager SDK by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.17
|
|
</small></address>
|
|
</body>
|
|
</html>
|