2017-08-18 18:39:42 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://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.6" / >
2017-09-20 02:35:05 +00:00
< title > Shaka Packager SDK: packager/media/public/crypto_params.h Source File< / title >
2017-08-18 18:39:42 +00:00
< 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/search.js" > < / script >
< script type = "text/javascript" >
$(document).ready(function() { searchBox.OnSelectItem(0); });
< / 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 style = "padding-left: 0.5em;" >
2017-09-20 02:35:05 +00:00
< div id = "projectname" > Shaka Packager SDK
2017-08-18 18:39:42 +00:00
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
< / script >
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "../../index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "../../namespaces.html" > < span > Namespaces< / span > < / a > < / li >
< li > < a href = "../../annotated.html" > < span > Classes< / span > < / a > < / li >
< li class = "current" > < a href = "../../files.html" > < span > Files< / span > < / a > < / li >
< li >
< div id = "MSearchBox" class = "MSearchBoxInactive" >
< span class = "left" >
< img id = "MSearchSelect" src = "../../search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
< input type = "text" id = "MSearchField" value = "Search" accesskey = "S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
< / span > < span class = "right" >
< a id = "MSearchClose" href = "javascript:searchBox.CloseResultsWindow()" > < img id = "MSearchCloseImg" border = "0" src = "../../search/close.png" alt = "" / > < / a >
< / span >
< / div >
< / li >
< / ul >
< / div >
< div id = "navrow2" class = "tabs2" >
< ul class = "tablist" >
< li > < a href = "../../files.html" > < span > File  List< / span > < / a > < / li >
< / ul >
< / div >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
2017-09-20 02:35:05 +00:00
< a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(0)" > < span class = "SelectionMark" >   < / span > All< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(1)" > < span class = "SelectionMark" >   < / span > Classes< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(2)" > < span class = "SelectionMark" >   < / span > Namespaces< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(3)" > < span class = "SelectionMark" >   < / span > Functions< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(4)" > < span class = "SelectionMark" >   < / span > Variables< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(5)" > < span class = "SelectionMark" >   < / span > Typedefs< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(6)" > < span class = "SelectionMark" >   < / span > Enumerations< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(7)" > < span class = "SelectionMark" >   < / span > Enumerator< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(8)" > < span class = "SelectionMark" >   < / span > Friends< / a > < / div >
2017-08-18 18:39:42 +00:00
<!-- 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 >
2017-09-20 02:35:05 +00:00
< li class = "navelem" > < a class = "el" href = "../../dir_3f8eec2fc361645de4b1ec14c19fffc7.html" > packager< / a > < / li > < li class = "navelem" > < a class = "el" href = "../../dir_f99dae54fe7170f791f339b952d5067a.html" > media< / a > < / li > < li class = "navelem" > < a class = "el" href = "../../dir_588b87f799233a7c3afc1168633bb252.html" > public< / a > < / li > < / ul >
2017-08-18 18:39:42 +00:00
< / div >
< / div > <!-- top -->
< div class = "header" >
< div class = "headertitle" >
< div class = "title" > crypto_params.h< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< div class = "fragment" > < div class = "line" > < a name = "l00001" > < / a > < span class = "lineno" > 1< / span >   < span class = "comment" > // Copyright 2017 Google Inc. All rights reserved.< / span > < / div >
< div class = "line" > < a name = "l00002" > < / a > < span class = "lineno" > 2< / span >   < span class = "comment" > //< / span > < / div >
< div class = "line" > < a name = "l00003" > < / a > < span class = "lineno" > 3< / span >   < span class = "comment" > // Use of this source code is governed by a BSD-style< / span > < / div >
< div class = "line" > < a name = "l00004" > < / a > < span class = "lineno" > 4< / span >   < span class = "comment" > // license that can be found in the LICENSE file or at< / span > < / div >
< div class = "line" > < a name = "l00005" > < / a > < span class = "lineno" > 5< / span >   < span class = "comment" > // https://developers.google.com/open-source/licenses/bsd< / span > < / div >
< div class = "line" > < a name = "l00006" > < / a > < span class = "lineno" > 6< / span >   < / div >
< div class = "line" > < a name = "l00007" > < / a > < span class = "lineno" > 7< / span >   < span class = "preprocessor" > #ifndef PACKAGER_MEDIA_PUBLIC_CRYPTO_PARAMS_H_< / span > < / div >
< div class = "line" > < a name = "l00008" > < / a > < span class = "lineno" > 8< / span >   < span class = "preprocessor" > < / span > < span class = "preprocessor" > #define PACKAGER_MEDIA_PUBLIC_CRYPTO_PARAMS_H_< / span > < / div >
< div class = "line" > < a name = "l00009" > < / a > < span class = "lineno" > 9< / span >   < span class = "preprocessor" > < / span > < / div >
< div class = "line" > < a name = "l00010" > < / a > < span class = "lineno" > 10< / span >   < span class = "preprocessor" > #include < functional> < / span > < / div >
< div class = "line" > < a name = "l00011" > < / a > < span class = "lineno" > 11< / span >   < span class = "preprocessor" > #include < map> < / span > < / div >
< div class = "line" > < a name = "l00012" > < / a > < span class = "lineno" > 12< / span >   < span class = "preprocessor" > #include < string> < / span > < / div >
< div class = "line" > < a name = "l00013" > < / a > < span class = "lineno" > 13< / span >   < span class = "preprocessor" > #include < vector> < / span > < / div >
< div class = "line" > < a name = "l00014" > < / a > < span class = "lineno" > 14< / span >   < / div >
< div class = "line" > < a name = "l00015" > < / a > < span class = "lineno" > 15< / span >   < span class = "keyword" > namespace < / span > shaka {< / div >
< div class = "line" > < a name = "l00016" > < / a > < span class = "lineno" > 16< / span >   < / div >
< div class = "line" > < a name = "l00018" > < / a > < span class = "lineno" > < a class = "line" href = "../../d8/daf/namespaceshaka.html#a539b99ce5c34193e294bc544437e9185" > 18< / a > < / span >   < span class = "keyword" > enum class< / span > < a class = "code" href = "../../d8/daf/namespaceshaka.html#a539b99ce5c34193e294bc544437e9185" > KeyProvider< / a > {< / div >
< div class = "line" > < a name = "l00019" > < / a > < span class = "lineno" > 19< / span >   kNone = 0,< / div >
< div class = "line" > < a name = "l00020" > < / a > < span class = "lineno" > 20< / span >   kWidevine = 1,< / div >
< div class = "line" > < a name = "l00021" > < / a > < span class = "lineno" > 21< / span >   kPlayready = 2,< / div >
< div class = "line" > < a name = "l00022" > < / a > < span class = "lineno" > 22< / span >   kRawKey = 3,< / div >
< div class = "line" > < a name = "l00023" > < / a > < span class = "lineno" > 23< / span >   };< / div >
< div class = "line" > < a name = "l00024" > < / a > < span class = "lineno" > 24< / span >   < / div >
< div class = "line" > < a name = "l00026" > < / a > < span class = "lineno" > < a class = "line" href = "../../df/d22/structshaka_1_1WidevineSigner.html" > 26< / a > < / span >   < span class = "keyword" > struct < / span > < a class = "code" href = "../../df/d22/structshaka_1_1WidevineSigner.html" > WidevineSigner< / a > {< / div >
< div class = "line" > < a name = "l00028" > < / a > < span class = "lineno" > < a class = "line" href = "../../df/d22/structshaka_1_1WidevineSigner.html#a6768d5addb3c90f33ce5f241705c827e" > 28< / a > < / span >   std::string < a class = "code" href = "../../df/d22/structshaka_1_1WidevineSigner.html#a6768d5addb3c90f33ce5f241705c827e" > signer_name< / a > ;< / div >
< div class = "line" > < a name = "l00029" > < / a > < span class = "lineno" > 29< / span >   < / div >
< div class = "line" > < a name = "l00030" > < / a > < span class = "lineno" > 30< / span >   < span class = "keyword" > enum class< / span > SigningKeyType {< / div >
< div class = "line" > < a name = "l00031" > < / a > < span class = "lineno" > 31< / span >   kNone,< / div >
< div class = "line" > < a name = "l00032" > < / a > < span class = "lineno" > 32< / span >   kAes,< / div >
< div class = "line" > < a name = "l00033" > < / a > < span class = "lineno" > 33< / span >   kRsa,< / div >
< div class = "line" > < a name = "l00034" > < / a > < span class = "lineno" > 34< / span >   };< / div >
< div class = "line" > < a name = "l00037" > < / a > < span class = "lineno" > < a class = "line" href = "../../df/d22/structshaka_1_1WidevineSigner.html#a656fbc14799c96fa8b822e3917070cf6" > 37< / a > < / span >   SigningKeyType < a class = "code" href = "../../df/d22/structshaka_1_1WidevineSigner.html#a656fbc14799c96fa8b822e3917070cf6" > signing_key_type< / a > = SigningKeyType::kNone;< / div >
< div class = "line" > < a name = "l00038" > < / a > < span class = "lineno" > 38< / span >   < span class = "keyword" > struct < / span > {< / div >
< div class = "line" > < a name = "l00040" > < / a > < span class = "lineno" > < a class = "line" href = "../../df/d22/structshaka_1_1WidevineSigner.html#ad5c378d29df509280d8697f986163324" > 40< / a > < / span >   std::vector< uint8_t> < a class = "code" href = "../../df/d22/structshaka_1_1WidevineSigner.html#ad5c378d29df509280d8697f986163324" > key< / a > ;< / div >
< div class = "line" > < a name = "l00042" > < / a > < span class = "lineno" > < a class = "line" href = "../../df/d22/structshaka_1_1WidevineSigner.html#a6db96d4c3f1189bbd09515732bec94d9" > 42< / a > < / span >   std::vector< uint8_t> < a class = "code" href = "../../df/d22/structshaka_1_1WidevineSigner.html#a6db96d4c3f1189bbd09515732bec94d9" > iv< / a > ;< / div >
< div class = "line" > < a name = "l00043" > < / a > < span class = "lineno" > 43< / span >   } aes;< / div >
< div class = "line" > < a name = "l00044" > < / a > < span class = "lineno" > 44< / span >   < span class = "keyword" > struct < / span > {< / div >
< div class = "line" > < a name = "l00046" > < / a > < span class = "lineno" > < a class = "line" href = "../../df/d22/structshaka_1_1WidevineSigner.html#a25bb558aa06563d24c3d7f9733ff8898" > 46< / a > < / span >   std::string < a class = "code" href = "../../df/d22/structshaka_1_1WidevineSigner.html#a25bb558aa06563d24c3d7f9733ff8898" > key< / a > ;< / div >
< div class = "line" > < a name = "l00047" > < / a > < span class = "lineno" > 47< / span >   } rsa;< / div >
< div class = "line" > < a name = "l00048" > < / a > < span class = "lineno" > 48< / span >   };< / div >
< div class = "line" > < a name = "l00049" > < / a > < span class = "lineno" > 49< / span >   < / div >
< div class = "line" > < a name = "l00051" > < / a > < span class = "lineno" > < a class = "line" href = "../../d9/dd2/structshaka_1_1WidevineEncryptionParams.html" > 51< / a > < / span >   < span class = "keyword" > struct < / span > < a class = "code" href = "../../d9/dd2/structshaka_1_1WidevineEncryptionParams.html" > WidevineEncryptionParams< / a > {< / div >
< div class = "line" > < a name = "l00053" > < / a > < span class = "lineno" > < a class = "line" href = "../../d9/dd2/structshaka_1_1WidevineEncryptionParams.html#ac222c5bd0620e5a6f9bf5e9fec534fb9" > 53< / a > < / span >   std::string < a class = "code" href = "../../d9/dd2/structshaka_1_1WidevineEncryptionParams.html#ac222c5bd0620e5a6f9bf5e9fec534fb9" > key_server_url< / a > ;< / div >
< div class = "line" > < a name = "l00056" > < / a > < span class = "lineno" > 56< / span >   < span class = "comment" > // TODO(kqyang): Move to EncryptionParams and support common PSSH generation< / span > < / div >
< div class = "line" > < a name = "l00057" > < / a > < span class = "lineno" > 57< / span >   < span class = "comment" > // in all key providers.< / span > < / div >
< div class = "line" > < a name = "l00058" > < / a > < span class = "lineno" > < a class = "line" href = "../../d9/dd2/structshaka_1_1WidevineEncryptionParams.html#a5985f2d6fbe33273654695050757d0b0" > 58< / a > < / span >   < span class = "keywordtype" > bool< / span > < a class = "code" href = "../../d9/dd2/structshaka_1_1WidevineEncryptionParams.html#a5985f2d6fbe33273654695050757d0b0" > include_common_pssh< / a > = < span class = "keyword" > false< / span > ;< / div >
< div class = "line" > < a name = "l00060" > < / a > < span class = "lineno" > < a class = "line" href = "../../d9/dd2/structshaka_1_1WidevineEncryptionParams.html#a6b9770524a9507d0a9a3606ceef23075" > 60< / a > < / span >   std::vector< uint8_t> < a class = "code" href = "../../d9/dd2/structshaka_1_1WidevineEncryptionParams.html#a6b9770524a9507d0a9a3606ceef23075" > content_id< / a > ;< / div >
< div class = "line" > < a name = "l00062" > < / a > < span class = "lineno" > < a class = "line" href = "../../d9/dd2/structshaka_1_1WidevineEncryptionParams.html#a469f3db91b42af20f270a280c4d42b4f" > 62< / a > < / span >   std::string < a class = "code" href = "../../d9/dd2/structshaka_1_1WidevineEncryptionParams.html#a469f3db91b42af20f270a280c4d42b4f" > policy< / a > ;< / div >
< div class = "line" > < a name = "l00064" > < / a > < span class = "lineno" > < a class = "line" href = "../../d9/dd2/structshaka_1_1WidevineEncryptionParams.html#a233141ad4baf2f2afce30f96adf340ae" > 64< / a > < / span >   < a class = "code" href = "../../df/d22/structshaka_1_1WidevineSigner.html" > WidevineSigner< / a > < a class = "code" href = "../../d9/dd2/structshaka_1_1WidevineEncryptionParams.html#a233141ad4baf2f2afce30f96adf340ae" > signer< / a > ;< / div >
< div class = "line" > < a name = "l00066" > < / a > < span class = "lineno" > < a class = "line" href = "../../d9/dd2/structshaka_1_1WidevineEncryptionParams.html#a6d69402cd4c66d546be180c7800e6d09" > 66< / a > < / span >   std::vector< uint8_t> < a class = "code" href = "../../d9/dd2/structshaka_1_1WidevineEncryptionParams.html#a6d69402cd4c66d546be180c7800e6d09" > group_id< / a > ;< / div >
< div class = "line" > < a name = "l00067" > < / a > < span class = "lineno" > 67< / span >   };< / div >
< div class = "line" > < a name = "l00068" > < / a > < span class = "lineno" > 68< / span >   < / div >
< div class = "line" > < a name = "l00076" > < / a > < span class = "lineno" > < a class = "line" href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html" > 76< / a > < / span >   < span class = "keyword" > struct < / span > < a class = "code" href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html" > PlayreadyEncryptionParams< / a > {< / div >
< div class = "line" > < a name = "l00078" > < / a > < span class = "lineno" > < a class = "line" href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#a3a31b3002f86834b1799279bf5b5fc11" > 78< / a > < / span >   std::string < a class = "code" href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#a3a31b3002f86834b1799279bf5b5fc11" > key_server_url< / a > ;< / div >
< div class = "line" > < a name = "l00080" > < / a > < span class = "lineno" > < a class = "line" href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#a74199b0293ca77eaac30aea53a9ec2aa" > 80< / a > < / span >   std::string < a class = "code" href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#a74199b0293ca77eaac30aea53a9ec2aa" > program_identifier< / a > ;< / div >
< div class = "line" > < a name = "l00083" > < / a > < span class = "lineno" > < a class = "line" href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#a745d002043a10ae7c01983fe5fe93846" > 83< / a > < / span >   std::string < a class = "code" href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#a745d002043a10ae7c01983fe5fe93846" > ca_file< / a > ;< / div >
< div class = "line" > < a name = "l00085" > < / a > < span class = "lineno" > < a class = "line" href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#afdc9477270b8a626163940cddff4fa8c" > 85< / a > < / span >   std::string < a class = "code" href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#afdc9477270b8a626163940cddff4fa8c" > client_cert_file< / a > ;< / div >
< div class = "line" > < a name = "l00087" > < / a > < span class = "lineno" > < a class = "line" href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#af6f3b909425a27e17a7d6e473d7eb8ac" > 87< / a > < / span >   std::string < a class = "code" href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#af6f3b909425a27e17a7d6e473d7eb8ac" > client_cert_private_key_file< / a > ;< / div >
< div class = "line" > < a name = "l00089" > < / a > < span class = "lineno" > < a class = "line" href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#a2d492f0c28b5d291ef512aa0248dc8ba" > 89< / a > < / span >   std::string < a class = "code" href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#a2d492f0c28b5d291ef512aa0248dc8ba" > client_cert_private_key_password< / a > ;< / div >
< div class = "line" > < a name = "l00090" > < / a > < span class = "lineno" > 90< / span >   < / div >
< div class = "line" > < a name = "l00091" > < / a > < span class = "lineno" > 91< / span >   < span class = "comment" > // TODO(kqyang): move raw playready key generation to RawKey.< / span > < / div >
< div class = "line" > < a name = "l00093" > < / a > < span class = "lineno" > < a class = "line" href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#a872107e40137be5a6c1f932db67c2a9d" > 93< / a > < / span >   < span class = "comment" > < / span > std::vector< uint8_t> < a class = "code" href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#a872107e40137be5a6c1f932db67c2a9d" > key_id< / a > ;< / div >
< div class = "line" > < a name = "l00095" > < / a > < span class = "lineno" > < a class = "line" href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#a2ba545b465d64da1ac9458ba45338f76" > 95< / a > < / span >   std::vector< uint8_t> < a class = "code" href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#a2ba545b465d64da1ac9458ba45338f76" > key< / a > ;< / div >
< div class = "line" > < a name = "l00096" > < / a > < span class = "lineno" > 96< / span >   };< / div >
< div class = "line" > < a name = "l00097" > < / a > < span class = "lineno" > 97< / span >   < / div >
2017-10-24 22:51:02 +00:00
< div class = "line" > < a name = "l00099" > < / a > < span class = "lineno" > < a class = "line" href = "../../d0/db4/structshaka_1_1RawKeyParams.html" > 99< / a > < / span >   < span class = "keyword" > struct < / span > < a class = "code" href = "../../d0/db4/structshaka_1_1RawKeyParams.html" > RawKeyParams< / a > {< / div >
< div class = "line" > < a name = "l00103" > < / a > < span class = "lineno" > < a class = "line" href = "../../d0/db4/structshaka_1_1RawKeyParams.html#aab733ab6920dd8fbed523810e64ea3f1" > 103< / a > < / span >   std::vector< uint8_t> < a class = "code" href = "../../d0/db4/structshaka_1_1RawKeyParams.html#aab733ab6920dd8fbed523810e64ea3f1" > iv< / a > ;< / div >
< div class = "line" > < a name = "l00107" > < / a > < span class = "lineno" > < a class = "line" href = "../../d0/db4/structshaka_1_1RawKeyParams.html#a448b8c435fc86d4fbc85214e523f2ac5" > 107< / a > < / span >   std::vector< uint8_t> < a class = "code" href = "../../d0/db4/structshaka_1_1RawKeyParams.html#a448b8c435fc86d4fbc85214e523f2ac5" > pssh< / a > ;< / div >
< div class = "line" > < a name = "l00108" > < / a > < span class = "lineno" > 108< / span >   < / div >
< div class = "line" > < a name = "l00109" > < / a > < span class = "lineno" > 109< / span >   < span class = "keyword" > using< / span > StreamLabel = std::string;< / div >
< div class = "line" > < a name = "l00110" > < / a > < span class = "lineno" > < a class = "line" href = "../../d0/dbe/structshaka_1_1RawKeyParams_1_1KeyInfo.html" > 110< / a > < / span >   < span class = "keyword" > struct < / span > < a class = "code" href = "../../d0/dbe/structshaka_1_1RawKeyParams_1_1KeyInfo.html" > KeyInfo< / a > {< / div >
< div class = "line" > < a name = "l00111" > < / a > < span class = "lineno" > 111< / span >   std::vector< uint8_t> key_id;< / div >
< div class = "line" > < a name = "l00112" > < / a > < span class = "lineno" > 112< / span >   std::vector< uint8_t> key;< / div >
< div class = "line" > < a name = "l00113" > < / a > < span class = "lineno" > 113< / span >   };< / div >
< div class = "line" > < a name = "l00117" > < / a > < span class = "lineno" > < a class = "line" href = "../../d0/db4/structshaka_1_1RawKeyParams.html#a14e44fed95583d0bb319c082fb1ddb84" > 117< / a > < / span >   std::map< StreamLabel, KeyInfo> < a class = "code" href = "../../d0/db4/structshaka_1_1RawKeyParams.html#a14e44fed95583d0bb319c082fb1ddb84" > key_map< / a > ;< / div >
< div class = "line" > < a name = "l00118" > < / a > < span class = "lineno" > 118< / span >   };< / div >
< div class = "line" > < a name = "l00119" > < / a > < span class = "lineno" > 119< / span >   < / div >
< div class = "line" > < a name = "l00121" > < / a > < span class = "lineno" > < a class = "line" href = "../../dc/da0/structshaka_1_1EncryptionParams.html" > 121< / a > < / span >   < span class = "keyword" > struct < / span > < a class = "code" href = "../../dc/da0/structshaka_1_1EncryptionParams.html" > EncryptionParams< / a > {< / div >
< div class = "line" > < a name = "l00125" > < / a > < span class = "lineno" > < a class = "line" href = "../../dc/da0/structshaka_1_1EncryptionParams.html#adcf61ebf8d129a5bcf3f159b9b076eed" > 125< / a > < / span >   < a class = "code" href = "../../d8/daf/namespaceshaka.html#a539b99ce5c34193e294bc544437e9185" > KeyProvider< / a > < a class = "code" href = "../../dc/da0/structshaka_1_1EncryptionParams.html#adcf61ebf8d129a5bcf3f159b9b076eed" > key_provider< / a > = KeyProvider::kNone;< / div >
< div class = "line" > < a name = "l00126" > < / a > < span class = "lineno" > 126< / span >   < span class = "comment" > // Only one of the three fields is valid.< / span > < / div >
< div class = "line" > < a name = "l00127" > < / a > < span class = "lineno" > 127< / span >   < a class = "code" href = "../../d9/dd2/structshaka_1_1WidevineEncryptionParams.html" > WidevineEncryptionParams< / a > widevine;< / div >
< div class = "line" > < a name = "l00128" > < / a > < span class = "lineno" > 128< / span >   < a class = "code" href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html" > PlayreadyEncryptionParams< / a > playready;< / div >
< div class = "line" > < a name = "l00129" > < / a > < span class = "lineno" > 129< / span >   < a class = "code" href = "../../d0/db4/structshaka_1_1RawKeyParams.html" > RawKeyParams< / a > raw_key;< / div >
< div class = "line" > < a name = "l00130" > < / a > < span class = "lineno" > 130< / span >   < / div >
< div class = "line" > < a name = "l00132" > < / a > < span class = "lineno" > < a class = "line" href = "../../dc/da0/structshaka_1_1EncryptionParams.html#a1ad46963dc926aa4b72813dccb3f6a45" > 132< / a > < / span >   < span class = "keywordtype" > double< / span > < a class = "code" href = "../../dc/da0/structshaka_1_1EncryptionParams.html#a1ad46963dc926aa4b72813dccb3f6a45" > clear_lead_in_seconds< / a > = 0;< / div >
< div class = "line" > < a name = "l00134" > < / a > < span class = "lineno" > < a class = "line" href = "../../dc/da0/structshaka_1_1EncryptionParams.html#a1d7a8c6b5e46b51ccadcaef3f9cf9cb0" > 134< / a > < / span >   < span class = "keyword" > static< / span > constexpr uint32_t < a class = "code" href = "../../dc/da0/structshaka_1_1EncryptionParams.html#a1d7a8c6b5e46b51ccadcaef3f9cf9cb0" > kProtectionSchemeCenc< / a > = 0x63656E63;< / div >
< div class = "line" > < a name = "l00135" > < / a > < span class = "lineno" > 135< / span >   < span class = "keyword" > static< / span > constexpr uint32_t kProtectionSchemeCbc1 = 0x63626331;< / div >
< div class = "line" > < a name = "l00136" > < / a > < span class = "lineno" > 136< / span >   < span class = "keyword" > static< / span > constexpr uint32_t kProtectionSchemeCens = 0x63656E73;< / div >
< div class = "line" > < a name = "l00137" > < / a > < span class = "lineno" > 137< / span >   < span class = "keyword" > static< / span > constexpr uint32_t kProtectionSchemeCbcs = 0x63626373;< / div >
< div class = "line" > < a name = "l00138" > < / a > < span class = "lineno" > 138< / span >   uint32_t protection_scheme = < a class = "code" href = "../../dc/da0/structshaka_1_1EncryptionParams.html#a1d7a8c6b5e46b51ccadcaef3f9cf9cb0" > kProtectionSchemeCenc< / a > ;< / div >
< div class = "line" > < a name = "l00141" > < / a > < span class = "lineno" > < a class = "line" href = "../../dc/da0/structshaka_1_1EncryptionParams.html#a92ad4ca8e1ccb7d6b5fa2ee0b1b196fa" > 141< / a > < / span >   < span class = "keyword" > static< / span > constexpr < span class = "keywordtype" > double< / span > < a class = "code" href = "../../dc/da0/structshaka_1_1EncryptionParams.html#a92ad4ca8e1ccb7d6b5fa2ee0b1b196fa" > kNoKeyRotation< / a > = 0;< / div >
< div class = "line" > < a name = "l00142" > < / a > < span class = "lineno" > 142< / span >   < span class = "keywordtype" > double< / span > crypto_period_duration_in_seconds = < a class = "code" href = "../../dc/da0/structshaka_1_1EncryptionParams.html#a92ad4ca8e1ccb7d6b5fa2ee0b1b196fa" > kNoKeyRotation< / a > ;< / div >
< div class = "line" > < a name = "l00144" > < / a > < span class = "lineno" > < a class = "line" href = "../../dc/da0/structshaka_1_1EncryptionParams.html#a48d415f17d51306ce7e1931fd954c37c" > 144< / a > < / span >   < span class = "keywordtype" > bool< / span > < a class = "code" href = "../../dc/da0/structshaka_1_1EncryptionParams.html#a48d415f17d51306ce7e1931fd954c37c" > vp9_subsample_encryption< / a > = < span class = "keyword" > true< / span > ;< / div >
< div class = "line" > < a name = "l00145" > < / a > < span class = "lineno" > 145< / span >   < / div >
< div class = "line" > < a name = "l00147" > < / a > < span class = "lineno" > < a class = "line" href = "../../d7/d6d/structshaka_1_1EncryptionParams_1_1EncryptedStreamAttributes.html" > 147< / a > < / span >   < span class = "keyword" > struct < / span > < a class = "code" href = "../../d7/d6d/structshaka_1_1EncryptionParams_1_1EncryptedStreamAttributes.html" > EncryptedStreamAttributes< / a > {< / div >
< div class = "line" > < a name = "l00148" > < / a > < span class = "lineno" > 148< / span >   < span class = "keyword" > enum< / span > StreamType {< / div >
< div class = "line" > < a name = "l00149" > < / a > < span class = "lineno" > 149< / span >   kUnknown,< / div >
< div class = "line" > < a name = "l00150" > < / a > < span class = "lineno" > 150< / span >   kVideo,< / div >
< div class = "line" > < a name = "l00151" > < / a > < span class = "lineno" > 151< / span >   kAudio,< / div >
< div class = "line" > < a name = "l00152" > < / a > < span class = "lineno" > 152< / span >   };< / div >
< div class = "line" > < a name = "l00153" > < / a > < span class = "lineno" > 153< / span >   < / div >
< div class = "line" > < a name = "l00154" > < / a > < span class = "lineno" > 154< / span >   StreamType stream_type = kUnknown;< / div >
< div class = "line" > < a name = "l00155" > < / a > < span class = "lineno" > < a class = "line" href = "../../d0/d37/unionshaka_1_1EncryptionParams_1_1EncryptedStreamAttributes_1_1OneOf.html" > 155< / a > < / span >   < span class = "keyword" > union < / span > < a class = "code" href = "../../d0/d37/unionshaka_1_1EncryptionParams_1_1EncryptedStreamAttributes_1_1OneOf.html" > OneOf< / a > {< / div >
< div class = "line" > < a name = "l00156" > < / a > < span class = "lineno" > 156< / span >   < a class = "code" href = "../../d0/d37/unionshaka_1_1EncryptionParams_1_1EncryptedStreamAttributes_1_1OneOf.html" > OneOf< / a > () {}< / div >
< div class = "line" > < a name = "l00157" > < / a > < span class = "lineno" > 157< / span >   < / div >
< div class = "line" > < a name = "l00158" > < / a > < span class = "lineno" > 158< / span >   < span class = "keyword" > struct < / span > {< / div >
< div class = "line" > < a name = "l00159" > < / a > < span class = "lineno" > 159< / span >   < span class = "keywordtype" > int< / span > width = 0;< / div >
< div class = "line" > < a name = "l00160" > < / a > < span class = "lineno" > 160< / span >   < span class = "keywordtype" > int< / span > height = 0;< / div >
< div class = "line" > < a name = "l00161" > < / a > < span class = "lineno" > 161< / span >   < span class = "keywordtype" > float< / span > frame_rate = 0;< / div >
< div class = "line" > < a name = "l00162" > < / a > < span class = "lineno" > 162< / span >   < span class = "keywordtype" > int< / span > bit_depth = 0;< / div >
< div class = "line" > < a name = "l00163" > < / a > < span class = "lineno" > 163< / span >   } video;< / div >
< div class = "line" > < a name = "l00164" > < / a > < span class = "lineno" > 164< / span >   < / div >
< div class = "line" > < a name = "l00165" > < / a > < span class = "lineno" > 165< / span >   < span class = "keyword" > struct < / span > {< / div >
< div class = "line" > < a name = "l00166" > < / a > < span class = "lineno" > 166< / span >   < span class = "keywordtype" > int< / span > number_of_channels = 0;< / div >
< div class = "line" > < a name = "l00167" > < / a > < span class = "lineno" > 167< / span >   } audio;< / div >
< div class = "line" > < a name = "l00168" > < / a > < span class = "lineno" > 168< / span >   } oneof;< / div >
< div class = "line" > < a name = "l00169" > < / a > < span class = "lineno" > 169< / span >   };< / div >
< div class = "line" > < a name = "l00175" > < / a > < span class = "lineno" > 175< / span >   std::function< std::string(const EncryptedStreamAttributes& stream_attributes)> < / div >
< div class = "line" > < a name = "l00176" > < / a > < span class = "lineno" > < a class = "line" href = "../../dc/da0/structshaka_1_1EncryptionParams.html#a7686a6aca6a7c3d077a5d7215c39fc51" > 176< / a > < / span >   < a class = "code" href = "../../dc/da0/structshaka_1_1EncryptionParams.html#a7686a6aca6a7c3d077a5d7215c39fc51" > stream_label_func< / a > ;< / div >
< div class = "line" > < a name = "l00177" > < / a > < span class = "lineno" > 177< / span >   };< / div >
< div class = "line" > < a name = "l00178" > < / a > < span class = "lineno" > 178< / span >   < / div >
< div class = "line" > < a name = "l00180" > < / a > < span class = "lineno" > < a class = "line" href = "../../d8/d48/structshaka_1_1WidevineDecryptionParams.html" > 180< / a > < / span >   < span class = "keyword" > struct < / span > < a class = "code" href = "../../d8/d48/structshaka_1_1WidevineDecryptionParams.html" > WidevineDecryptionParams< / a > {< / div >
< div class = "line" > < a name = "l00182" > < / a > < span class = "lineno" > < a class = "line" href = "../../d8/d48/structshaka_1_1WidevineDecryptionParams.html#adb765979bcc7f63ce46c9ed6ead1ee5b" > 182< / a > < / span >   std::string < a class = "code" href = "../../d8/d48/structshaka_1_1WidevineDecryptionParams.html#adb765979bcc7f63ce46c9ed6ead1ee5b" > key_server_url< / a > ;< / div >
< div class = "line" > < a name = "l00184" > < / a > < span class = "lineno" > < a class = "line" href = "../../d8/d48/structshaka_1_1WidevineDecryptionParams.html#acf84772bb9787f61110e388490412939" > 184< / a > < / span >   < a class = "code" href = "../../df/d22/structshaka_1_1WidevineSigner.html" > WidevineSigner< / a > < a class = "code" href = "../../d8/d48/structshaka_1_1WidevineDecryptionParams.html#acf84772bb9787f61110e388490412939" > signer< / a > ;< / div >
< div class = "line" > < a name = "l00185" > < / a > < span class = "lineno" > 185< / span >   };< / div >
< div class = "line" > < a name = "l00186" > < / a > < span class = "lineno" > 186< / span >   < / div >
< div class = "line" > < a name = "l00188" > < / a > < span class = "lineno" > < a class = "line" href = "../../d1/d4f/structshaka_1_1DecryptionParams.html" > 188< / a > < / span >   < span class = "keyword" > struct < / span > < a class = "code" href = "../../d1/d4f/structshaka_1_1DecryptionParams.html" > DecryptionParams< / a > {< / div >
< div class = "line" > < a name = "l00192" > < / a > < span class = "lineno" > < a class = "line" href = "../../d1/d4f/structshaka_1_1DecryptionParams.html#ad93d153f9e777cccb6404611d5b4d339" > 192< / a > < / span >   < a class = "code" href = "../../d8/daf/namespaceshaka.html#a539b99ce5c34193e294bc544437e9185" > KeyProvider< / a > < a class = "code" href = "../../d1/d4f/structshaka_1_1DecryptionParams.html#ad93d153f9e777cccb6404611d5b4d339" > key_provider< / a > = KeyProvider::kNone;< / div >
< div class = "line" > < a name = "l00193" > < / a > < span class = "lineno" > 193< / span >   < span class = "comment" > // Only one of the two fields is valid.< / span > < / div >
< div class = "line" > < a name = "l00194" > < / a > < span class = "lineno" > 194< / span >   < a class = "code" href = "../../d8/d48/structshaka_1_1WidevineDecryptionParams.html" > WidevineDecryptionParams< / a > widevine;< / div >
< div class = "line" > < a name = "l00195" > < / a > < span class = "lineno" > 195< / span >   < a class = "code" href = "../../d0/db4/structshaka_1_1RawKeyParams.html" > RawKeyParams< / a > raw_key;< / div >
2017-08-18 18:39:42 +00:00
< div class = "line" > < a name = "l00196" > < / a > < span class = "lineno" > 196< / span >   };< / div >
< div class = "line" > < a name = "l00197" > < / a > < span class = "lineno" > 197< / span >   < / div >
2017-10-24 22:51:02 +00:00
< div class = "line" > < a name = "l00198" > < / a > < span class = "lineno" > 198< / span >   } < span class = "comment" > // namespace shaka< / span > < / div >
< div class = "line" > < a name = "l00199" > < / a > < span class = "lineno" > 199< / span >   < / div >
< div class = "line" > < a name = "l00200" > < / a > < span class = "lineno" > 200< / span >   < span class = "preprocessor" > #endif // PACKAGER_MEDIA_PUBLIC_CRYPTO_PARAMS_H_< / span > < / div >
2017-08-18 18:39:42 +00:00
< div class = "ttc" id = "structshaka_1_1PlayreadyEncryptionParams_html_af6f3b909425a27e17a7d6e473d7eb8ac" > < div class = "ttname" > < a href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#af6f3b909425a27e17a7d6e473d7eb8ac" > shaka::PlayreadyEncryptionParams::client_cert_private_key_file< / a > < / div > < div class = "ttdeci" > std::string client_cert_private_key_file< / div > < div class = "ttdoc" > Absolute path to the private key file. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00087" > crypto_params.h:87< / a > < / div > < / div >
< div class = "ttc" id = "structshaka_1_1WidevineEncryptionParams_html_ac222c5bd0620e5a6f9bf5e9fec534fb9" > < div class = "ttname" > < a href = "../../d9/dd2/structshaka_1_1WidevineEncryptionParams.html#ac222c5bd0620e5a6f9bf5e9fec534fb9" > shaka::WidevineEncryptionParams::key_server_url< / a > < / div > < div class = "ttdeci" > std::string key_server_url< / div > < div class = "ttdoc" > Widevine license / key server URL. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00053" > crypto_params.h:53< / a > < / div > < / div >
2017-10-24 22:51:02 +00:00
< div class = "ttc" id = "structshaka_1_1DecryptionParams_html_ad93d153f9e777cccb6404611d5b4d339" > < div class = "ttname" > < a href = "../../d1/d4f/structshaka_1_1DecryptionParams.html#ad93d153f9e777cccb6404611d5b4d339" > shaka::DecryptionParams::key_provider< / a > < / div > < div class = "ttdeci" > KeyProvider key_provider< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00192" > crypto_params.h:192< / a > < / div > < / div >
2017-08-18 18:39:42 +00:00
< div class = "ttc" id = "structshaka_1_1PlayreadyEncryptionParams_html" > < div class = "ttname" > < a href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html" > shaka::PlayreadyEncryptionParams< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00076" > crypto_params.h:76< / a > < / div > < / div >
< div class = "ttc" id = "structshaka_1_1PlayreadyEncryptionParams_html_a3a31b3002f86834b1799279bf5b5fc11" > < div class = "ttname" > < a href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#a3a31b3002f86834b1799279bf5b5fc11" > shaka::PlayreadyEncryptionParams::key_server_url< / a > < / div > < div class = "ttdeci" > std::string key_server_url< / div > < div class = "ttdoc" > Playready license / key server URL. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00078" > crypto_params.h:78< / a > < / div > < / div >
< div class = "ttc" id = "namespaceshaka_html_a539b99ce5c34193e294bc544437e9185" > < div class = "ttname" > < a href = "../../d8/daf/namespaceshaka.html#a539b99ce5c34193e294bc544437e9185" > shaka::KeyProvider< / a > < / div > < div class = "ttdeci" > KeyProvider< / div > < div class = "ttdoc" > Encryption / decryption key providers. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00018" > crypto_params.h:18< / a > < / div > < / div >
2017-10-24 22:51:02 +00:00
< div class = "ttc" id = "structshaka_1_1WidevineDecryptionParams_html" > < div class = "ttname" > < a href = "../../d8/d48/structshaka_1_1WidevineDecryptionParams.html" > shaka::WidevineDecryptionParams< / a > < / div > < div class = "ttdoc" > Widevine decryption parameters. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00180" > crypto_params.h:180< / a > < / div > < / div >
< div class = "ttc" id = "structshaka_1_1EncryptionParams_html_a7686a6aca6a7c3d077a5d7215c39fc51" > < div class = "ttname" > < a href = "../../dc/da0/structshaka_1_1EncryptionParams.html#a7686a6aca6a7c3d077a5d7215c39fc51" > shaka::EncryptionParams::stream_label_func< / a > < / div > < div class = "ttdeci" > std::function< std::string(const EncryptedStreamAttributes & stream_attributes)> stream_label_func< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00176" > crypto_params.h:176< / a > < / div > < / div >
< div class = "ttc" id = "structshaka_1_1EncryptionParams_html_a92ad4ca8e1ccb7d6b5fa2ee0b1b196fa" > < div class = "ttname" > < a href = "../../dc/da0/structshaka_1_1EncryptionParams.html#a92ad4ca8e1ccb7d6b5fa2ee0b1b196fa" > shaka::EncryptionParams::kNoKeyRotation< / a > < / div > < div class = "ttdeci" > static constexpr double kNoKeyRotation< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00141" > crypto_params.h:141< / a > < / div > < / div >
2017-08-18 18:39:42 +00:00
< div class = "ttc" id = "structshaka_1_1WidevineEncryptionParams_html_a233141ad4baf2f2afce30f96adf340ae" > < div class = "ttname" > < a href = "../../d9/dd2/structshaka_1_1WidevineEncryptionParams.html#a233141ad4baf2f2afce30f96adf340ae" > shaka::WidevineEncryptionParams::signer< / a > < / div > < div class = "ttdeci" > WidevineSigner signer< / div > < div class = "ttdoc" > Signer credential for Widevine license / key server. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00064" > crypto_params.h:64< / a > < / div > < / div >
< div class = "ttc" id = "structshaka_1_1WidevineEncryptionParams_html_a6b9770524a9507d0a9a3606ceef23075" > < div class = "ttname" > < a href = "../../d9/dd2/structshaka_1_1WidevineEncryptionParams.html#a6b9770524a9507d0a9a3606ceef23075" > shaka::WidevineEncryptionParams::content_id< / a > < / div > < div class = "ttdeci" > std::vector< uint8_t > content_id< / div > < div class = "ttdoc" > Content identifier. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00060" > crypto_params.h:60< / a > < / div > < / div >
< div class = "ttc" id = "structshaka_1_1PlayreadyEncryptionParams_html_a2d492f0c28b5d291ef512aa0248dc8ba" > < div class = "ttname" > < a href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#a2d492f0c28b5d291ef512aa0248dc8ba" > shaka::PlayreadyEncryptionParams::client_cert_private_key_password< / a > < / div > < div class = "ttdeci" > std::string client_cert_private_key_password< / div > < div class = "ttdoc" > Password to the private key file. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00089" > crypto_params.h:89< / a > < / div > < / div >
2017-10-24 22:51:02 +00:00
< div class = "ttc" id = "structshaka_1_1EncryptionParams_html_a1ad46963dc926aa4b72813dccb3f6a45" > < div class = "ttname" > < a href = "../../dc/da0/structshaka_1_1EncryptionParams.html#a1ad46963dc926aa4b72813dccb3f6a45" > shaka::EncryptionParams::clear_lead_in_seconds< / a > < / div > < div class = "ttdeci" > double clear_lead_in_seconds< / div > < div class = "ttdoc" > Clear lead duration in seconds. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00132" > crypto_params.h:132< / a > < / div > < / div >
< div class = "ttc" id = "structshaka_1_1WidevineDecryptionParams_html_acf84772bb9787f61110e388490412939" > < div class = "ttname" > < a href = "../../d8/d48/structshaka_1_1WidevineDecryptionParams.html#acf84772bb9787f61110e388490412939" > shaka::WidevineDecryptionParams::signer< / a > < / div > < div class = "ttdeci" > WidevineSigner signer< / div > < div class = "ttdoc" > Signer credential for Widevine license / key server. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00184" > crypto_params.h:184< / a > < / div > < / div >
< div class = "ttc" id = "structshaka_1_1EncryptionParams_html_a48d415f17d51306ce7e1931fd954c37c" > < div class = "ttname" > < a href = "../../dc/da0/structshaka_1_1EncryptionParams.html#a48d415f17d51306ce7e1931fd954c37c" > shaka::EncryptionParams::vp9_subsample_encryption< / a > < / div > < div class = "ttdeci" > bool vp9_subsample_encryption< / div > < div class = "ttdoc" > Enable/disable subsample encryption for VP9. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00144" > crypto_params.h:144< / a > < / div > < / div >
< div class = "ttc" id = "structshaka_1_1RawKeyParams_1_1KeyInfo_html" > < div class = "ttname" > < a href = "../../d0/dbe/structshaka_1_1RawKeyParams_1_1KeyInfo.html" > shaka::RawKeyParams::KeyInfo< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00110" > crypto_params.h:110< / a > < / div > < / div >
< div class = "ttc" id = "structshaka_1_1WidevineDecryptionParams_html_adb765979bcc7f63ce46c9ed6ead1ee5b" > < div class = "ttname" > < a href = "../../d8/d48/structshaka_1_1WidevineDecryptionParams.html#adb765979bcc7f63ce46c9ed6ead1ee5b" > shaka::WidevineDecryptionParams::key_server_url< / a > < / div > < div class = "ttdeci" > std::string key_server_url< / div > < div class = "ttdoc" > Widevine license / key server URL. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00182" > crypto_params.h:182< / a > < / div > < / div >
< div class = "ttc" id = "structshaka_1_1RawKeyParams_html" > < div class = "ttname" > < a href = "../../d0/db4/structshaka_1_1RawKeyParams.html" > shaka::RawKeyParams< / a > < / div > < div class = "ttdoc" > Raw key encryption/decryption parameters, i.e. with key parameters provided. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00099" > crypto_params.h:99< / a > < / div > < / div >
< div class = "ttc" id = "unionshaka_1_1EncryptionParams_1_1EncryptedStreamAttributes_1_1OneOf_html" > < div class = "ttname" > < a href = "../../d0/d37/unionshaka_1_1EncryptionParams_1_1EncryptedStreamAttributes_1_1OneOf.html" > shaka::EncryptionParams::EncryptedStreamAttributes::OneOf< / a > < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00155" > crypto_params.h:155< / a > < / div > < / div >
2017-08-18 18:39:42 +00:00
< div class = "ttc" id = "structshaka_1_1WidevineSigner_html_a6768d5addb3c90f33ce5f241705c827e" > < div class = "ttname" > < a href = "../../df/d22/structshaka_1_1WidevineSigner.html#a6768d5addb3c90f33ce5f241705c827e" > shaka::WidevineSigner::signer_name< / a > < / div > < div class = "ttdeci" > std::string signer_name< / div > < div class = "ttdoc" > Name of the signer / content provider. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00028" > crypto_params.h:28< / a > < / div > < / div >
2017-10-24 22:51:02 +00:00
< div class = "ttc" id = "structshaka_1_1RawKeyParams_html_a14e44fed95583d0bb319c082fb1ddb84" > < div class = "ttname" > < a href = "../../d0/db4/structshaka_1_1RawKeyParams.html#a14e44fed95583d0bb319c082fb1ddb84" > shaka::RawKeyParams::key_map< / a > < / div > < div class = "ttdeci" > std::map< StreamLabel, KeyInfo > key_map< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00117" > crypto_params.h:117< / a > < / div > < / div >
2017-08-18 18:39:42 +00:00
< div class = "ttc" id = "structshaka_1_1PlayreadyEncryptionParams_html_a2ba545b465d64da1ac9458ba45338f76" > < div class = "ttname" > < a href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#a2ba545b465d64da1ac9458ba45338f76" > shaka::PlayreadyEncryptionParams::key< / a > < / div > < div class = "ttdeci" > std::vector< uint8_t > key< / div > < div class = "ttdoc" > Provides a raw Playready Key. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00095" > crypto_params.h:95< / a > < / div > < / div >
< div class = "ttc" id = "structshaka_1_1WidevineSigner_html_a656fbc14799c96fa8b822e3917070cf6" > < div class = "ttname" > < a href = "../../df/d22/structshaka_1_1WidevineSigner.html#a656fbc14799c96fa8b822e3917070cf6" > shaka::WidevineSigner::signing_key_type< / a > < / div > < div class = "ttdeci" > SigningKeyType signing_key_type< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00037" > crypto_params.h:37< / a > < / div > < / div >
2017-10-24 22:51:02 +00:00
< div class = "ttc" id = "structshaka_1_1RawKeyParams_html_aab733ab6920dd8fbed523810e64ea3f1" > < div class = "ttname" > < a href = "../../d0/db4/structshaka_1_1RawKeyParams.html#aab733ab6920dd8fbed523810e64ea3f1" > shaka::RawKeyParams::iv< / a > < / div > < div class = "ttdeci" > std::vector< uint8_t > iv< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00103" > crypto_params.h:103< / a > < / div > < / div >
2017-08-18 18:39:42 +00:00
< div class = "ttc" id = "structshaka_1_1WidevineEncryptionParams_html" > < div class = "ttname" > < a href = "../../d9/dd2/structshaka_1_1WidevineEncryptionParams.html" > shaka::WidevineEncryptionParams< / a > < / div > < div class = "ttdoc" > Widevine encryption parameters. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00051" > crypto_params.h:51< / a > < / div > < / div >
2017-10-24 22:51:02 +00:00
< div class = "ttc" id = "structshaka_1_1DecryptionParams_html" > < div class = "ttname" > < a href = "../../d1/d4f/structshaka_1_1DecryptionParams.html" > shaka::DecryptionParams< / a > < / div > < div class = "ttdoc" > Decryption parameters. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00188" > crypto_params.h:188< / a > < / div > < / div >
< div class = "ttc" id = "structshaka_1_1EncryptionParams_html" > < div class = "ttname" > < a href = "../../dc/da0/structshaka_1_1EncryptionParams.html" > shaka::EncryptionParams< / a > < / div > < div class = "ttdoc" > Encryption parameters. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00121" > crypto_params.h:121< / a > < / div > < / div >
< div class = "ttc" id = "structshaka_1_1EncryptionParams_html_adcf61ebf8d129a5bcf3f159b9b076eed" > < div class = "ttname" > < a href = "../../dc/da0/structshaka_1_1EncryptionParams.html#adcf61ebf8d129a5bcf3f159b9b076eed" > shaka::EncryptionParams::key_provider< / a > < / div > < div class = "ttdeci" > KeyProvider key_provider< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00125" > crypto_params.h:125< / a > < / div > < / div >
2017-08-18 18:39:42 +00:00
< div class = "ttc" id = "structshaka_1_1PlayreadyEncryptionParams_html_a872107e40137be5a6c1f932db67c2a9d" > < div class = "ttname" > < a href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#a872107e40137be5a6c1f932db67c2a9d" > shaka::PlayreadyEncryptionParams::key_id< / a > < / div > < div class = "ttdeci" > std::vector< uint8_t > key_id< / div > < div class = "ttdoc" > Provides a raw Playready KeyId. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00093" > crypto_params.h:93< / a > < / div > < / div >
2017-10-24 22:51:02 +00:00
< div class = "ttc" id = "structshaka_1_1EncryptionParams_1_1EncryptedStreamAttributes_html" > < div class = "ttname" > < a href = "../../d7/d6d/structshaka_1_1EncryptionParams_1_1EncryptedStreamAttributes.html" > shaka::EncryptionParams::EncryptedStreamAttributes< / a > < / div > < div class = "ttdoc" > Encrypted stream information that is used to determine stream label. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00147" > crypto_params.h:147< / a > < / div > < / div >
2017-08-18 18:39:42 +00:00
< div class = "ttc" id = "structshaka_1_1WidevineEncryptionParams_html_a5985f2d6fbe33273654695050757d0b0" > < div class = "ttname" > < a href = "../../d9/dd2/structshaka_1_1WidevineEncryptionParams.html#a5985f2d6fbe33273654695050757d0b0" > shaka::WidevineEncryptionParams::include_common_pssh< / a > < / div > < div class = "ttdeci" > bool include_common_pssh< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00058" > crypto_params.h:58< / a > < / div > < / div >
< div class = "ttc" id = "structshaka_1_1WidevineSigner_html_ad5c378d29df509280d8697f986163324" > < div class = "ttname" > < a href = "../../df/d22/structshaka_1_1WidevineSigner.html#ad5c378d29df509280d8697f986163324" > shaka::WidevineSigner::key< / a > < / div > < div class = "ttdeci" > std::vector< uint8_t > key< / div > < div class = "ttdoc" > AES signing key. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00040" > crypto_params.h:40< / a > < / div > < / div >
< div class = "ttc" id = "structshaka_1_1WidevineEncryptionParams_html_a469f3db91b42af20f270a280c4d42b4f" > < div class = "ttname" > < a href = "../../d9/dd2/structshaka_1_1WidevineEncryptionParams.html#a469f3db91b42af20f270a280c4d42b4f" > shaka::WidevineEncryptionParams::policy< / a > < / div > < div class = "ttdeci" > std::string policy< / div > < div class = "ttdoc" > The name of a stored policy, which specifies DRM content rights. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00062" > crypto_params.h:62< / a > < / div > < / div >
2017-10-24 22:51:02 +00:00
< div class = "ttc" id = "structshaka_1_1EncryptionParams_html_a1d7a8c6b5e46b51ccadcaef3f9cf9cb0" > < div class = "ttname" > < a href = "../../dc/da0/structshaka_1_1EncryptionParams.html#a1d7a8c6b5e46b51ccadcaef3f9cf9cb0" > shaka::EncryptionParams::kProtectionSchemeCenc< / a > < / div > < div class = "ttdeci" > static constexpr uint32_t kProtectionSchemeCenc< / div > < div class = "ttdoc" > The protection scheme: " cenc" , " cens" , " cbc1" , " cbcs" . < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00134" > crypto_params.h:134< / a > < / div > < / div >
2017-08-18 18:39:42 +00:00
< div class = "ttc" id = "structshaka_1_1PlayreadyEncryptionParams_html_a74199b0293ca77eaac30aea53a9ec2aa" > < div class = "ttname" > < a href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#a74199b0293ca77eaac30aea53a9ec2aa" > shaka::PlayreadyEncryptionParams::program_identifier< / a > < / div > < div class = "ttdeci" > std::string program_identifier< / div > < div class = "ttdoc" > Playready program identifier. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00080" > crypto_params.h:80< / a > < / div > < / div >
< div class = "ttc" id = "structshaka_1_1WidevineSigner_html_a25bb558aa06563d24c3d7f9733ff8898" > < div class = "ttname" > < a href = "../../df/d22/structshaka_1_1WidevineSigner.html#a25bb558aa06563d24c3d7f9733ff8898" > shaka::WidevineSigner::key< / a > < / div > < div class = "ttdeci" > std::string key< / div > < div class = "ttdoc" > RSA signing private key. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00046" > crypto_params.h:46< / a > < / div > < / div >
2017-10-24 22:51:02 +00:00
< div class = "ttc" id = "structshaka_1_1RawKeyParams_html_a448b8c435fc86d4fbc85214e523f2ac5" > < div class = "ttname" > < a href = "../../d0/db4/structshaka_1_1RawKeyParams.html#a448b8c435fc86d4fbc85214e523f2ac5" > shaka::RawKeyParams::pssh< / a > < / div > < div class = "ttdeci" > std::vector< uint8_t > pssh< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00107" > crypto_params.h:107< / a > < / div > < / div >
2017-08-18 18:39:42 +00:00
< div class = "ttc" id = "structshaka_1_1WidevineSigner_html" > < div class = "ttname" > < a href = "../../df/d22/structshaka_1_1WidevineSigner.html" > shaka::WidevineSigner< / a > < / div > < div class = "ttdoc" > Signer credential for Widevine license server. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00026" > crypto_params.h:26< / a > < / div > < / div >
< div class = "ttc" id = "structshaka_1_1WidevineEncryptionParams_html_a6d69402cd4c66d546be180c7800e6d09" > < div class = "ttname" > < a href = "../../d9/dd2/structshaka_1_1WidevineEncryptionParams.html#a6d69402cd4c66d546be180c7800e6d09" > shaka::WidevineEncryptionParams::group_id< / a > < / div > < div class = "ttdeci" > std::vector< uint8_t > group_id< / div > < div class = "ttdoc" > Group identifier, if present licenses will belong to this group. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00066" > crypto_params.h:66< / a > < / div > < / div >
< div class = "ttc" id = "structshaka_1_1PlayreadyEncryptionParams_html_a745d002043a10ae7c01983fe5fe93846" > < div class = "ttname" > < a href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#a745d002043a10ae7c01983fe5fe93846" > shaka::PlayreadyEncryptionParams::ca_file< / a > < / div > < div class = "ttdeci" > std::string ca_file< / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00083" > crypto_params.h:83< / a > < / div > < / div >
< div class = "ttc" id = "structshaka_1_1WidevineSigner_html_a6db96d4c3f1189bbd09515732bec94d9" > < div class = "ttname" > < a href = "../../df/d22/structshaka_1_1WidevineSigner.html#a6db96d4c3f1189bbd09515732bec94d9" > shaka::WidevineSigner::iv< / a > < / div > < div class = "ttdeci" > std::vector< uint8_t > iv< / div > < div class = "ttdoc" > AES signing IV. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00042" > crypto_params.h:42< / a > < / div > < / div >
< div class = "ttc" id = "structshaka_1_1PlayreadyEncryptionParams_html_afdc9477270b8a626163940cddff4fa8c" > < div class = "ttname" > < a href = "../../d3/df5/structshaka_1_1PlayreadyEncryptionParams.html#afdc9477270b8a626163940cddff4fa8c" > shaka::PlayreadyEncryptionParams::client_cert_file< / a > < / div > < div class = "ttdeci" > std::string client_cert_file< / div > < div class = "ttdoc" > Absolute path to client certificate file. < / div > < div class = "ttdef" > < b > Definition:< / b > < a href = "../../dd/d58/crypto__params_8h_source.html#l00085" > crypto_params.h:85< / a > < / div > < / div >
< / div > <!-- fragment --> < / div > <!-- contents -->
<!-- start footer part -->
< hr class = "footer" / > < address class = "footer" > < small >
2017-10-24 22:51:02 +00:00
Generated on Tue Oct 24 2017 15:50:09 for Shaka Packager SDK by   < a href = "http://www.doxygen.org/index.html" >
2017-08-18 18:39:42 +00:00
< img class = "footer" src = "../../doxygen.png" alt = "doxygen" / >
< / a > 1.8.6
< / small > < / address >
< / body >
< / html >