grpc/cpp/tls__credentials__options_8...

313 lines
50 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>GRPC C++: include/grpcpp/security/tls_credentials_options.h Source File</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">GRPC C++
&#160;<span id="projectnumber">1.64.0</span>
</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&amp;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&amp;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="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_412f9a3d5dfcba8716486cd870ef4586.html">grpcpp</a></li><li class="navelem"><a class="el" href="dir_121096a639b520446ccef04f840b5644.html">security</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">tls_credentials_options.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="tls__credentials__options_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment">// Copyright 2019 gRPC authors.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment">// Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment">// you may not use this file except in compliance with the License.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment">// You may obtain a copy of the License at</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment">// distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment">// See the License for the specific language governing permissions and</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment">// limitations under the License.</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; </div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#ifndef GRPCPP_SECURITY_TLS_CREDENTIALS_OPTIONS_H</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#define GRPCPP_SECURITY_TLS_CREDENTIALS_OPTIONS_H</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="grpc__security_8h.html">grpc/grpc_security.h</a>&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="grpc__security__constants_8h.html">grpc/grpc_security_constants.h</a>&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="grpc_2status_8h.html">grpc/status.h</a>&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="support_2log_8h.html">grpc/support/log.h</a>&gt;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="tls__certificate__provider_8h.html">grpcpp/security/tls_certificate_provider.h</a>&gt;</span></div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="tls__certificate__verifier_8h.html">grpcpp/security/tls_certificate_verifier.h</a>&gt;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="tls__crl__provider_8h.html">grpcpp/security/tls_crl_provider.h</a>&gt;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="grpcpp_2support_2config_8h.html">grpcpp/support/config.h</a>&gt;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacegrpc.html">grpc</a> {</div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="keyword">namespace </span>experimental {</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="comment">// Base class of configurable options specified by users to configure their</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="comment">// certain security features supported in TLS. It is used for experimental</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="comment">// purposes for now and it is subject to change.</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html"> 40</a></span>&#160;<span class="keyword">class </span><a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html">TlsCredentialsOptions</a> {</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="comment">// Constructor for base class TlsCredentialsOptions.</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="comment">//</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <span class="comment">// @param certificate_provider the provider which fetches TLS credentials that</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="comment">// will be used in the TLS handshake</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#ad5cb0c8ca0804ee26f274a7b2072bae9">TlsCredentialsOptions</a>();</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#a01b3bee3864ce062d9c1bfd99ad905cb">~TlsCredentialsOptions</a>();</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <span class="comment">// Copy constructor does a deep copy of the underlying pointer. No assignment</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <span class="comment">// permitted</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#ad5cb0c8ca0804ee26f274a7b2072bae9">TlsCredentialsOptions</a>(<span class="keyword">const</span> <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html">TlsCredentialsOptions</a>&amp; other);</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html">TlsCredentialsOptions</a>&amp; <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#a3d91aa8b9b9c6e40ece70d16180b3d7d">operator=</a>(<span class="keyword">const</span> <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html">TlsCredentialsOptions</a>&amp; other) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="comment">// ---- Setters for member fields ----</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="comment">// Sets the certificate provider used to store root certs and identity certs.</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#afd216d4f6b96c16d2e6708658b4fe0ce">set_certificate_provider</a>(</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; std::shared_ptr&lt;CertificateProviderInterface&gt; certificate_provider);</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="comment">// Watches the updates of root certificates with name |root_cert_name|.</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="comment">// If used in TLS credentials, setting this field is optional for both the</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="comment">// client side and the server side.</span></div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="comment">// If this is not set on the client side, we will use the root certificates</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <span class="comment">// stored in the default system location, since client side must provide root</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="comment">// certificates in TLS(no matter single-side TLS or mutual TLS).</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="comment">// If this is not set on the server side, we will not watch any root</span></div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="comment">// certificate updates, and assume no root certificates needed for the server</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="comment">// (in the one-side TLS scenario, the server is not required to provide root</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="comment">// certs). We don&#39;t support default root certs on server side.</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#a542db4c0dfdf4a8877086647bbf11bc5">watch_root_certs</a>();</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="comment">// Sets the name of root certificates being watched, if |watch_root_certs| is</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="comment">// called. If not set, an empty string will be used as the name.</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="comment">//</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <span class="comment">// @param root_cert_name the name of root certs being set.</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#abe3c120f3b7df4c64fb0163a0024c37c">set_root_cert_name</a>(<span class="keyword">const</span> std::string&amp; root_cert_name);</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="comment">// Watches the updates of identity key-cert pairs with name</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="comment">// |identity_cert_name|. If used in TLS credentials, it is required to be set</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="comment">// on the server side, and optional for the client side(in the one-side</span></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="comment">// TLS scenario, the client is not required to provide identity certs).</span></div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#a6496e39d1b7e361653d6da9910c55292">watch_identity_key_cert_pairs</a>();</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="comment">// Sets the name of identity key-cert pairs being watched, if</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="comment">// |watch_identity_key_cert_pairs| is called. If not set, an empty string will</span></div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="comment">// be used as the name.</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="comment">//</span></div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="comment">// @param identity_cert_name the name of identity key-cert pairs being set.</span></div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#aa2da2ef8f121fe50c0bae27b9907eb46">set_identity_cert_name</a>(<span class="keyword">const</span> std::string&amp; identity_cert_name);</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="comment">// Sets the Tls session key logging configuration. If not set, tls</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <span class="comment">// session key logging is disabled. Note that this should be used only for</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="comment">// debugging purposes. It should never be used in a production environment</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <span class="comment">// due to security concerns.</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <span class="comment">//</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="comment">// @param tls_session_key_log_file_path: Path where tls session keys would</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <span class="comment">// be logged.</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#ac61cc3c3c763abc0807e744382845959">set_tls_session_key_log_file_path</a>(</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <span class="keyword">const</span> std::string&amp; tls_session_key_log_file_path);</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <span class="comment">// Sets the certificate verifier used to perform post-handshake peer identity</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="comment">// checks.</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#af2e70d1796eafe1e3e1123a96d2b87fb">set_certificate_verifier</a>(</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; std::shared_ptr&lt;CertificateVerifier&gt; certificate_verifier);</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <span class="comment">// Sets the options of whether to check the hostname of the peer on a per-call</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <span class="comment">// basis. This is usually used in a combination with virtual hosting at the</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <span class="comment">// client side, where each individual call on a channel can have a different</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; <span class="comment">// host associated with it.</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <span class="comment">// This check is intended to verify that the host specified for the individual</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <span class="comment">// call is covered by the cert that the peer presented.</span></div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; <span class="comment">// We will perform such checks by default. This should be disabled if</span></div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160; <span class="comment">// verifiers other than the host name verifier is used.</span></div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#ad49a64344b9d696b6ef067ed23a3c1d8">set_check_call_host</a>(<span class="keywordtype">bool</span> check_call_host);</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; </div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <span class="comment">// Deprecated in favor of set_crl_provider. The</span></div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="comment">// crl provider interface provides a significantly more flexible approach to</span></div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <span class="comment">// using CRLs. See gRFC A69 for details.</span></div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="comment">// If set, gRPC will read all hashed x.509 CRL files in the directory and</span></div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; <span class="comment">// enforce the CRL files on all TLS handshakes. Only supported for OpenSSL</span></div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="comment">// version &gt; 1.1.</span></div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#abe7e779769e0843f16a06aeeb70790e4">set_crl_directory</a>(<span class="keyword">const</span> std::string&amp; path);</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; </div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#acf2413ceeb68dfd92780cb430f38ca3a">set_crl_provider</a>(std::shared_ptr&lt;CrlProvider&gt; crl_provider);</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; </div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; <span class="comment">// Sets the minimum TLS version that will be negotiated during the TLS</span></div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160; <span class="comment">// handshake. If not set, the underlying SSL library will use TLS v1.2.</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160; <span class="comment">// @param tls_version: The minimum TLS version.</span></div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#a8fbb5f93a602d49613c086b1cddc2fdb">set_min_tls_version</a>(<a class="code" href="grpc__security__constants_8h.html#ab7f46c1753e3601b1de9aa31958748dd">grpc_tls_version</a> tls_version);</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160; <span class="comment">// Sets the maximum TLS version that will be negotiated during the TLS</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160; <span class="comment">// handshake. If not set, the underlying SSL library will use TLS v1.3.</span></div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160; <span class="comment">// @param tls_version: The maximum TLS version.</span></div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#aa27c4ad12c0d00de4378e0894c1e3127">set_max_tls_version</a>(<a class="code" href="grpc__security__constants_8h.html#ab7f46c1753e3601b1de9aa31958748dd">grpc_tls_version</a> tls_version);</div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160; </div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; <span class="comment">// ----- Getters for member fields ----</span></div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160; <span class="comment">// Returns a deep copy of the internal c options. The caller takes ownership</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160; <span class="comment">// of the returned pointer. This function shall be used only internally.</span></div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160; <a class="code" href="grpc_2credentials_8h.html#a8fe8a5a9b93ff8671a7843add47d57be">grpc_tls_credentials_options</a>* <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#a3855df30b65ebe6a3b7d8ce23238943c">c_credentials_options</a>() <span class="keyword">const</span>;</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160; </div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160; <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; <span class="comment">// Returns the internal c options. The caller does not take ownership of the</span></div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="comment">// returned pointer.</span></div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#a056bd881167bc4bd05c1ba6475785b17"> 135</a></span>&#160; <a class="code" href="grpc_2credentials_8h.html#a8fe8a5a9b93ff8671a7843add47d57be">grpc_tls_credentials_options</a>* <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#a056bd881167bc4bd05c1ba6475785b17">mutable_c_credentials_options</a>() {</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <span class="keywordflow">return</span> c_credentials_options_;</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; }</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; </div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; std::shared_ptr&lt;CertificateProviderInterface&gt; certificate_provider_;</div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; std::shared_ptr&lt;CertificateVerifier&gt; certificate_verifier_;</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; <a class="code" href="grpc_2credentials_8h.html#a8fe8a5a9b93ff8671a7843add47d57be">grpc_tls_credentials_options</a>* c_credentials_options_ = <span class="keyword">nullptr</span>;</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;};</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; </div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160;<span class="comment">// Contains configurable options on the client side.</span></div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;<span class="comment">// Client side doesn&#39;t need to always use certificate provider. When the</span></div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;<span class="comment">// certificate provider is not set, we will use the root certificates stored</span></div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;<span class="comment">// in the system default locations, and assume client won&#39;t provide any</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;<span class="comment">// identity certificates(single side TLS).</span></div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;<span class="comment">// It is used for experimental purposes for now and it is subject to change.</span></div>
<div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="classgrpc_1_1experimental_1_1_tls_channel_credentials_options.html"> 151</a></span>&#160;<span class="keyword">class </span><a class="code" href="classgrpc_1_1experimental_1_1_tls_channel_credentials_options.html">TlsChannelCredentialsOptions</a> final : <span class="keyword">public</span> <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html">TlsCredentialsOptions</a> {</div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <span class="comment">// Sets the decision of whether to do a crypto check on the server certs.</span></div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <span class="comment">// The default is true.</span></div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classgrpc_1_1experimental_1_1_tls_channel_credentials_options.html#a1fe01091a3865be0e4780aa48024eadb">set_verify_server_certs</a>(<span class="keywordtype">bool</span> verify_server_certs);</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; </div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160;};</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; </div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160;<span class="comment">// Contains configurable options on the server side.</span></div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160;<span class="comment">// It is used for experimental purposes for now and it is subject to change.</span></div>
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="classgrpc_1_1experimental_1_1_tls_server_credentials_options.html"> 162</a></span>&#160;<span class="keyword">class </span><a class="code" href="classgrpc_1_1experimental_1_1_tls_server_credentials_options.html">TlsServerCredentialsOptions</a> final : <span class="keyword">public</span> <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html">TlsCredentialsOptions</a> {</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <span class="keyword">public</span>:</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <span class="comment">// Server side is required to use a provider, because server always needs to</span></div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <span class="comment">// use identity certs.</span></div>
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="classgrpc_1_1experimental_1_1_tls_server_credentials_options.html#a472e0a4d5c2696f25736da617118176f"> 166</a></span>&#160; <span class="keyword">explicit</span> <a class="code" href="classgrpc_1_1experimental_1_1_tls_server_credentials_options.html#a472e0a4d5c2696f25736da617118176f">TlsServerCredentialsOptions</a>(</div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; std::shared_ptr&lt;CertificateProviderInterface&gt; certificate_provider)</div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; : <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html">TlsCredentialsOptions</a>() {</div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; <a class="code" href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#afd216d4f6b96c16d2e6708658b4fe0ce">set_certificate_provider</a>(certificate_provider);</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; }</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; </div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <span class="comment">// Sets option to request the certificates from the client.</span></div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <span class="comment">// The default is GRPC_SSL_DONT_REQUEST_CLIENT_CERTIFICATE.</span></div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classgrpc_1_1experimental_1_1_tls_server_credentials_options.html#a4c1c33cf5a3ca22b3e22fdffe405106b">set_cert_request_type</a>(</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; <a class="code" href="grpc__security__constants_8h.html#a29ffe63a8bb3b4945ecab42d82758f09">grpc_ssl_client_certificate_request_type</a> cert_request_type);</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; </div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <span class="comment">// Sets whether or not a TLS server should send a list of CA names in the</span></div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <span class="comment">// ServerHello. This list of CA names is read from the server&#39;s trust bundle,</span></div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <span class="comment">// so that the client can use this list as a hint to know which certificate it</span></div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <span class="comment">// should send to the server.</span></div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; <span class="comment">//</span></div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="comment">// By default, this option is turned off.</span></div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="comment">//</span></div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <span class="comment">// WARNING: This API is extremely dangerous and should not be used. If the</span></div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <span class="comment">// server&#39;s trust bundle is too large, then the TLS server will be unable to</span></div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <span class="comment">// form a ServerHello, and hence will be unusable.</span></div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <span class="keywordtype">void</span> <a class="code" href="classgrpc_1_1experimental_1_1_tls_server_credentials_options.html#a6fda62c9883987990b1a172d39b6fc91">set_send_client_ca_list</a>(<span class="keywordtype">bool</span> send_client_ca_list);</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; </div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <span class="keyword">private</span>:</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160;};</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; </div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160;} <span class="comment">// namespace experimental</span></div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160;} <span class="comment">// namespace grpc</span></div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; </div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160;<span class="preprocessor">#endif // GRPCPP_SECURITY_TLS_CREDENTIALS_OPTIONS_H</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_server_credentials_options_html_a4c1c33cf5a3ca22b3e22fdffe405106b"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_server_credentials_options.html#a4c1c33cf5a3ca22b3e22fdffe405106b">grpc::experimental::TlsServerCredentialsOptions::set_cert_request_type</a></div><div class="ttdeci">void set_cert_request_type(grpc_ssl_client_certificate_request_type cert_request_type)</div></div>
<div class="ttc" id="anamespacegrpc_html"><div class="ttname"><a href="namespacegrpc.html">grpc</a></div><div class="ttdoc">An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided ...</div><div class="ttdef"><b>Definition:</b> alarm.h:33</div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_credentials_options_html_a542db4c0dfdf4a8877086647bbf11bc5"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#a542db4c0dfdf4a8877086647bbf11bc5">grpc::experimental::TlsCredentialsOptions::watch_root_certs</a></div><div class="ttdeci">void watch_root_certs()</div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_credentials_options_html_ad49a64344b9d696b6ef067ed23a3c1d8"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#ad49a64344b9d696b6ef067ed23a3c1d8">grpc::experimental::TlsCredentialsOptions::set_check_call_host</a></div><div class="ttdeci">void set_check_call_host(bool check_call_host)</div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_server_credentials_options_html_a472e0a4d5c2696f25736da617118176f"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_server_credentials_options.html#a472e0a4d5c2696f25736da617118176f">grpc::experimental::TlsServerCredentialsOptions::TlsServerCredentialsOptions</a></div><div class="ttdeci">TlsServerCredentialsOptions(std::shared_ptr&lt; CertificateProviderInterface &gt; certificate_provider)</div><div class="ttdef"><b>Definition:</b> tls_credentials_options.h:166</div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_credentials_options_html_acf2413ceeb68dfd92780cb430f38ca3a"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#acf2413ceeb68dfd92780cb430f38ca3a">grpc::experimental::TlsCredentialsOptions::set_crl_provider</a></div><div class="ttdeci">void set_crl_provider(std::shared_ptr&lt; CrlProvider &gt; crl_provider)</div></div>
<div class="ttc" id="agrpc__security_8h_html"><div class="ttname"><a href="grpc__security_8h.html">grpc_security.h</a></div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_credentials_options_html_abe3c120f3b7df4c64fb0163a0024c37c"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#abe3c120f3b7df4c64fb0163a0024c37c">grpc::experimental::TlsCredentialsOptions::set_root_cert_name</a></div><div class="ttdeci">void set_root_cert_name(const std::string &amp;root_cert_name)</div></div>
<div class="ttc" id="agrpc_2status_8h_html"><div class="ttname"><a href="grpc_2status_8h.html">status.h</a></div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_credentials_options_html_afd216d4f6b96c16d2e6708658b4fe0ce"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#afd216d4f6b96c16d2e6708658b4fe0ce">grpc::experimental::TlsCredentialsOptions::set_certificate_provider</a></div><div class="ttdeci">void set_certificate_provider(std::shared_ptr&lt; CertificateProviderInterface &gt; certificate_provider)</div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_credentials_options_html_a3855df30b65ebe6a3b7d8ce23238943c"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#a3855df30b65ebe6a3b7d8ce23238943c">grpc::experimental::TlsCredentialsOptions::c_credentials_options</a></div><div class="ttdeci">grpc_tls_credentials_options * c_credentials_options() const</div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_channel_credentials_options_html"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_channel_credentials_options.html">grpc::experimental::TlsChannelCredentialsOptions</a></div><div class="ttdef"><b>Definition:</b> tls_credentials_options.h:151</div></div>
<div class="ttc" id="asupport_2log_8h_html"><div class="ttname"><a href="support_2log_8h.html">log.h</a></div></div>
<div class="ttc" id="atls__crl__provider_8h_html"><div class="ttname"><a href="tls__crl__provider_8h.html">tls_crl_provider.h</a></div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_credentials_options_html_aa27c4ad12c0d00de4378e0894c1e3127"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#aa27c4ad12c0d00de4378e0894c1e3127">grpc::experimental::TlsCredentialsOptions::set_max_tls_version</a></div><div class="ttdeci">void set_max_tls_version(grpc_tls_version tls_version)</div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_credentials_options_html_a056bd881167bc4bd05c1ba6475785b17"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#a056bd881167bc4bd05c1ba6475785b17">grpc::experimental::TlsCredentialsOptions::mutable_c_credentials_options</a></div><div class="ttdeci">grpc_tls_credentials_options * mutable_c_credentials_options()</div><div class="ttdef"><b>Definition:</b> tls_credentials_options.h:135</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_a29ffe63a8bb3b4945ecab42d82758f09"><div class="ttname"><a href="grpc__security__constants_8h.html#a29ffe63a8bb3b4945ecab42d82758f09">grpc_ssl_client_certificate_request_type</a></div><div class="ttdeci">grpc_ssl_client_certificate_request_type</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:79</div></div>
<div class="ttc" id="atls__certificate__verifier_8h_html"><div class="ttname"><a href="tls__certificate__verifier_8h.html">tls_certificate_verifier.h</a></div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_ab7f46c1753e3601b1de9aa31958748dd"><div class="ttname"><a href="grpc__security__constants_8h.html#ab7f46c1753e3601b1de9aa31958748dd">grpc_tls_version</a></div><div class="ttdeci">grpc_tls_version</div><div class="ttdoc">The TLS versions that are supported by the SSL stack.</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:146</div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_credentials_options_html_a01b3bee3864ce062d9c1bfd99ad905cb"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#a01b3bee3864ce062d9c1bfd99ad905cb">grpc::experimental::TlsCredentialsOptions::~TlsCredentialsOptions</a></div><div class="ttdeci">~TlsCredentialsOptions()</div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_credentials_options_html_aa2da2ef8f121fe50c0bae27b9907eb46"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#aa2da2ef8f121fe50c0bae27b9907eb46">grpc::experimental::TlsCredentialsOptions::set_identity_cert_name</a></div><div class="ttdeci">void set_identity_cert_name(const std::string &amp;identity_cert_name)</div></div>
<div class="ttc" id="atls__certificate__provider_8h_html"><div class="ttname"><a href="tls__certificate__provider_8h.html">tls_certificate_provider.h</a></div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_channel_credentials_options_html_a1fe01091a3865be0e4780aa48024eadb"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_channel_credentials_options.html#a1fe01091a3865be0e4780aa48024eadb">grpc::experimental::TlsChannelCredentialsOptions::set_verify_server_certs</a></div><div class="ttdeci">void set_verify_server_certs(bool verify_server_certs)</div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_server_credentials_options_html_a6fda62c9883987990b1a172d39b6fc91"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_server_credentials_options.html#a6fda62c9883987990b1a172d39b6fc91">grpc::experimental::TlsServerCredentialsOptions::set_send_client_ca_list</a></div><div class="ttdeci">void set_send_client_ca_list(bool send_client_ca_list)</div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_credentials_options_html_ad5cb0c8ca0804ee26f274a7b2072bae9"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#ad5cb0c8ca0804ee26f274a7b2072bae9">grpc::experimental::TlsCredentialsOptions::TlsCredentialsOptions</a></div><div class="ttdeci">TlsCredentialsOptions()</div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_credentials_options_html_a8fbb5f93a602d49613c086b1cddc2fdb"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#a8fbb5f93a602d49613c086b1cddc2fdb">grpc::experimental::TlsCredentialsOptions::set_min_tls_version</a></div><div class="ttdeci">void set_min_tls_version(grpc_tls_version tls_version)</div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_server_credentials_options_html"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_server_credentials_options.html">grpc::experimental::TlsServerCredentialsOptions</a></div><div class="ttdef"><b>Definition:</b> tls_credentials_options.h:162</div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_credentials_options_html_a6496e39d1b7e361653d6da9910c55292"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#a6496e39d1b7e361653d6da9910c55292">grpc::experimental::TlsCredentialsOptions::watch_identity_key_cert_pairs</a></div><div class="ttdeci">void watch_identity_key_cert_pairs()</div></div>
<div class="ttc" id="agrpcpp_2support_2config_8h_html"><div class="ttname"><a href="grpcpp_2support_2config_8h.html">config.h</a></div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_credentials_options_html_ac61cc3c3c763abc0807e744382845959"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#ac61cc3c3c763abc0807e744382845959">grpc::experimental::TlsCredentialsOptions::set_tls_session_key_log_file_path</a></div><div class="ttdeci">void set_tls_session_key_log_file_path(const std::string &amp;tls_session_key_log_file_path)</div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_credentials_options_html"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_credentials_options.html">grpc::experimental::TlsCredentialsOptions</a></div><div class="ttdef"><b>Definition:</b> tls_credentials_options.h:40</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html"><div class="ttname"><a href="grpc__security__constants_8h.html">grpc_security_constants.h</a></div></div>
<div class="ttc" id="agrpc_2credentials_8h_html_a8fe8a5a9b93ff8671a7843add47d57be"><div class="ttname"><a href="grpc_2credentials_8h.html#a8fe8a5a9b93ff8671a7843add47d57be">grpc_tls_credentials_options</a></div><div class="ttdeci">struct grpc_tls_credentials_options grpc_tls_credentials_options</div><div class="ttdoc">EXPERIMENTAL API - Subject to change.</div><div class="ttdef"><b>Definition:</b> credentials.h:572</div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_credentials_options_html_af2e70d1796eafe1e3e1123a96d2b87fb"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#af2e70d1796eafe1e3e1123a96d2b87fb">grpc::experimental::TlsCredentialsOptions::set_certificate_verifier</a></div><div class="ttdeci">void set_certificate_verifier(std::shared_ptr&lt; CertificateVerifier &gt; certificate_verifier)</div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_credentials_options_html_a3d91aa8b9b9c6e40ece70d16180b3d7d"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#a3d91aa8b9b9c6e40ece70d16180b3d7d">grpc::experimental::TlsCredentialsOptions::operator=</a></div><div class="ttdeci">TlsCredentialsOptions &amp; operator=(const TlsCredentialsOptions &amp;other)=delete</div></div>
<div class="ttc" id="aclassgrpc_1_1experimental_1_1_tls_credentials_options_html_abe7e779769e0843f16a06aeeb70790e4"><div class="ttname"><a href="classgrpc_1_1experimental_1_1_tls_credentials_options.html#abe7e779769e0843f16a06aeeb70790e4">grpc::experimental::TlsCredentialsOptions::set_crl_directory</a></div><div class="ttdeci">void set_crl_directory(const std::string &amp;path)</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri May 17 2024 01:17:16 for GRPC C++ by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>