grpc/cpp/grpc__security__constants_8...

206 lines
36 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/grpc/grpc_security_constants.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_9d7a14d6d9adcbe4c35dbdb88d867e2e.html">grpc</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">grpc_security_constants.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="grpc__security__constants_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 2016 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 GRPC_GRPC_SECURITY_CONSTANTS_H</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#define GRPC_GRPC_SECURITY_CONSTANTS_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">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#aff82fdff9e7c40c4dd4bdc650e38e25a"> 26</a></span>&#160;<span class="preprocessor">#define GRPC_TRANSPORT_SECURITY_TYPE_PROPERTY_NAME &quot;transport_security_type&quot;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a35a35c597b7090b8ac7e2d854c9bcc7a"> 27</a></span>&#160;<span class="preprocessor">#define GRPC_SSL_TRANSPORT_SECURITY_TYPE &quot;ssl&quot;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a9f689af6e31c98c996522441cf069da3"> 28</a></span>&#160;<span class="preprocessor">#define GRPC_TLS_TRANSPORT_SECURITY_TYPE &quot;tls&quot;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; </div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#afee5e0fade6e0af1954529f1f08afe0c"> 30</a></span>&#160;<span class="preprocessor">#define GRPC_X509_CN_PROPERTY_NAME &quot;x509_common_name&quot;</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a982fc088817a32a03fbc9b27bc514629"> 31</a></span>&#160;<span class="preprocessor">#define GRPC_X509_SUBJECT_PROPERTY_NAME &quot;x509_subject&quot;</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a1412421653b7999544296f56025a0f36"> 32</a></span>&#160;<span class="preprocessor">#define GRPC_X509_SAN_PROPERTY_NAME &quot;x509_subject_alternative_name&quot;</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#ad46c3fd565d6a24eeb25d1fdc342cb28"> 33</a></span>&#160;<span class="preprocessor">#define GRPC_X509_PEM_CERT_PROPERTY_NAME &quot;x509_pem_cert&quot;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="comment">// Please note that internally, we just faithfully pass whatever value we got by</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="comment">// calling SSL_get_peer_cert_chain() in OpenSSL/BoringSSL. This will mean in</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="comment">// OpenSSL, the following conditions might apply:</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="comment">// 1. On the client side, this property returns the full certificate chain. On</span></div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="comment">// the server side, this property will return the certificate chain without the</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="comment">// leaf certificate. Application can use GRPC_X509_PEM_CERT_PROPERTY_NAME to</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="comment">// get the peer leaf certificate.</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="comment">// 2. If the session is resumed, this property could be empty for OpenSSL (but</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="comment">// not for BoringSSL).</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="comment">// For more, please refer to the official OpenSSL manual:</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="comment">// https://www.openssl.org/docs/man1.1.0/man3/SSL_get_peer_cert_chain.html.</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a4ea60d47d799302dc1b760bcfa78e5a1"> 45</a></span>&#160;<span class="preprocessor">#define GRPC_X509_PEM_CERT_CHAIN_PROPERTY_NAME &quot;x509_pem_cert_chain&quot;</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#aacbb09bfff7ebda81d9d3d89f0597312"> 46</a></span>&#160;<span class="preprocessor">#define GRPC_SSL_SESSION_REUSED_PROPERTY &quot;ssl_session_reused&quot;</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#ab19cdead9b37b4818118403d4d3b4ebb"> 47</a></span>&#160;<span class="preprocessor">#define GRPC_TRANSPORT_SECURITY_LEVEL_PROPERTY_NAME &quot;security_level&quot;</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a2f5d1fd6d796535d7ccef836c6a5208d"> 48</a></span>&#160;<span class="preprocessor">#define GRPC_PEER_DNS_PROPERTY_NAME &quot;peer_dns&quot;</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#abb77790260f0d5b9ffb8d8095bbbe044"> 49</a></span>&#160;<span class="preprocessor">#define GRPC_PEER_SPIFFE_ID_PROPERTY_NAME &quot;peer_spiffe_id&quot;</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a1cd49207ca7cd943fabc7ee334c0b599"> 50</a></span>&#160;<span class="preprocessor">#define GRPC_PEER_URI_PROPERTY_NAME &quot;peer_uri&quot;</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a9f64629d47653ee491c99787ca620a33"> 51</a></span>&#160;<span class="preprocessor">#define GRPC_PEER_EMAIL_PROPERTY_NAME &quot;peer_email&quot;</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#af7ad4e75b69d08674bceca1187b90258"> 52</a></span>&#160;<span class="preprocessor">#define GRPC_PEER_IP_PROPERTY_NAME &quot;peer_ip&quot;</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; </div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a48565da473b7c82fa2453798f620fd59"> 57</a></span>&#160;<span class="preprocessor">#define GRPC_DEFAULT_SSL_ROOTS_FILE_PATH_ENV_VAR \</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="preprocessor"> &quot;GRPC_DEFAULT_SSL_ROOTS_FILE_PATH&quot;</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; </div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a3874f70577fc9fe15fd2c4ce68a36ecd"> 63</a></span>&#160;<span class="preprocessor">#define GRPC_GOOGLE_CREDENTIALS_ENV_VAR &quot;GOOGLE_APPLICATION_CREDENTIALS&quot;</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a90c47ae1d8c33145342170fe615fa68c"> 66</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a90c47ae1d8c33145342170fe615fa68cadc1832235a9330a02cfa9a753eab70bc"> 67</a></span>&#160; <a class="code" href="grpc__security__constants_8h.html#a90c47ae1d8c33145342170fe615fa68cadc1832235a9330a02cfa9a753eab70bc">GRPC_SSL_ROOTS_OVERRIDE_OK</a>,</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a90c47ae1d8c33145342170fe615fa68caa0fdee0e3b14865c1ee4e7d89a46cc64"> 68</a></span>&#160; <a class="code" href="grpc__security__constants_8h.html#a90c47ae1d8c33145342170fe615fa68caa0fdee0e3b14865c1ee4e7d89a46cc64">GRPC_SSL_ROOTS_OVERRIDE_FAIL_PERMANENTLY</a>, </div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a90c47ae1d8c33145342170fe615fa68ca0c132ade28f3f56729b82119fc9f8142"> 69</a></span>&#160; <a class="code" href="grpc__security__constants_8h.html#a90c47ae1d8c33145342170fe615fa68ca0c132ade28f3f56729b82119fc9f8142">GRPC_SSL_ROOTS_OVERRIDE_FAIL</a></div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;} <a class="code" href="grpc__security__constants_8h.html#a90c47ae1d8c33145342170fe615fa68c">grpc_ssl_roots_override_result</a>;</div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; </div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a4f19e93998bbda68d9c24f27673ff627"> 73</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a4f19e93998bbda68d9c24f27673ff627ac5460b1687280e87915d11adc507988d"> 74</a></span>&#160; <a class="code" href="grpc__security__constants_8h.html#a4f19e93998bbda68d9c24f27673ff627ac5460b1687280e87915d11adc507988d">GRPC_SSL_CERTIFICATE_CONFIG_RELOAD_UNCHANGED</a>,</div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a4f19e93998bbda68d9c24f27673ff627a00758a0455bc6cfbfe0e2af5f4f861cb"> 75</a></span>&#160; <a class="code" href="grpc__security__constants_8h.html#a4f19e93998bbda68d9c24f27673ff627a00758a0455bc6cfbfe0e2af5f4f861cb">GRPC_SSL_CERTIFICATE_CONFIG_RELOAD_NEW</a>,</div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a4f19e93998bbda68d9c24f27673ff627a87b80abccb958ca6899bc7e965ed8855"> 76</a></span>&#160; <a class="code" href="grpc__security__constants_8h.html#a4f19e93998bbda68d9c24f27673ff627a87b80abccb958ca6899bc7e965ed8855">GRPC_SSL_CERTIFICATE_CONFIG_RELOAD_FAIL</a></div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;} <a class="code" href="grpc__security__constants_8h.html#a4f19e93998bbda68d9c24f27673ff627">grpc_ssl_certificate_config_reload_status</a>;</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; </div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a29ffe63a8bb3b4945ecab42d82758f09"> 79</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a29ffe63a8bb3b4945ecab42d82758f09a8bced4a94b58d31fd0718d3203da376f"> 84</a></span>&#160; <a class="code" href="grpc__security__constants_8h.html#a29ffe63a8bb3b4945ecab42d82758f09a8bced4a94b58d31fd0718d3203da376f">GRPC_SSL_DONT_REQUEST_CLIENT_CERTIFICATE</a>,</div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a29ffe63a8bb3b4945ecab42d82758f09af7c66a36be648bf7e396a145654d79f1"> 94</a></span>&#160; <a class="code" href="grpc__security__constants_8h.html#a29ffe63a8bb3b4945ecab42d82758f09af7c66a36be648bf7e396a145654d79f1">GRPC_SSL_REQUEST_CLIENT_CERTIFICATE_BUT_DONT_VERIFY</a>,</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a29ffe63a8bb3b4945ecab42d82758f09a7390ee04c71c633589eefdad872c2048"> 105</a></span>&#160; <a class="code" href="grpc__security__constants_8h.html#a29ffe63a8bb3b4945ecab42d82758f09a7390ee04c71c633589eefdad872c2048">GRPC_SSL_REQUEST_CLIENT_CERTIFICATE_AND_VERIFY</a>,</div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a29ffe63a8bb3b4945ecab42d82758f09a6522b7d489da328ef7c9745039a93f42"> 115</a></span>&#160; <a class="code" href="grpc__security__constants_8h.html#a29ffe63a8bb3b4945ecab42d82758f09a6522b7d489da328ef7c9745039a93f42">GRPC_SSL_REQUEST_AND_REQUIRE_CLIENT_CERTIFICATE_BUT_DONT_VERIFY</a>,</div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a29ffe63a8bb3b4945ecab42d82758f09a1041edab0ab12d270937f066f1e1ea0d"> 125</a></span>&#160; <a class="code" href="grpc__security__constants_8h.html#a29ffe63a8bb3b4945ecab42d82758f09a1041edab0ab12d270937f066f1e1ea0d">GRPC_SSL_REQUEST_AND_REQUIRE_CLIENT_CERTIFICATE_AND_VERIFY</a></div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;} <a class="code" href="grpc__security__constants_8h.html#a29ffe63a8bb3b4945ecab42d82758f09">grpc_ssl_client_certificate_request_type</a>;</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160; </div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;<span class="comment">/* Security levels of grpc transport security. It represents an inherent</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;<span class="comment"> * property of a backend connection and is determined by a channel credential</span></div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;<span class="comment"> * used to create the connection. */</span></div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a3c3165c49cd7a359ddb8656aae7e9dd6"> 131</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a3c3165c49cd7a359ddb8656aae7e9dd6a1cb478ac1535b61fdd1cb2c1e2062b3a"> 132</a></span>&#160; <a class="code" href="grpc__security__constants_8h.html#a3c3165c49cd7a359ddb8656aae7e9dd6a1cb478ac1535b61fdd1cb2c1e2062b3a">GRPC_SECURITY_MIN</a>,</div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a3c3165c49cd7a359ddb8656aae7e9dd6abb83593125096051f1c26ffa8df813b1"> 133</a></span>&#160; <a class="code" href="grpc__security__constants_8h.html#a3c3165c49cd7a359ddb8656aae7e9dd6abb83593125096051f1c26ffa8df813b1">GRPC_SECURITY_NONE</a> = <a class="code" href="grpc__security__constants_8h.html#a3c3165c49cd7a359ddb8656aae7e9dd6a1cb478ac1535b61fdd1cb2c1e2062b3a">GRPC_SECURITY_MIN</a>,</div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a3c3165c49cd7a359ddb8656aae7e9dd6ad9ad5579bef3a4b55e461f29c9fbd957"> 134</a></span>&#160; <a class="code" href="grpc__security__constants_8h.html#a3c3165c49cd7a359ddb8656aae7e9dd6ad9ad5579bef3a4b55e461f29c9fbd957">GRPC_INTEGRITY_ONLY</a>,</div>
<div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a3c3165c49cd7a359ddb8656aae7e9dd6af27dbc67f757ccd2ff3537e053ad06c3"> 135</a></span>&#160; <a class="code" href="grpc__security__constants_8h.html#a3c3165c49cd7a359ddb8656aae7e9dd6af27dbc67f757ccd2ff3537e053ad06c3">GRPC_PRIVACY_AND_INTEGRITY</a>,</div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a3c3165c49cd7a359ddb8656aae7e9dd6a3dac3570a7b2f7189f426c0377bdb1e1"> 136</a></span>&#160; <a class="code" href="grpc__security__constants_8h.html#a3c3165c49cd7a359ddb8656aae7e9dd6a3dac3570a7b2f7189f426c0377bdb1e1">GRPC_SECURITY_MAX</a> = <a class="code" href="grpc__security__constants_8h.html#a3c3165c49cd7a359ddb8656aae7e9dd6af27dbc67f757ccd2ff3537e053ad06c3">GRPC_PRIVACY_AND_INTEGRITY</a>,</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160;} <a class="code" href="grpc__security__constants_8h.html#a3c3165c49cd7a359ddb8656aae7e9dd6">grpc_security_level</a>;</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; </div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#a31d00ce5c064e1fff4261a6d6298dc11a94e03cdcc2f95916c9eaf6ab486ed768"> 143</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> { <a class="code" href="grpc__security__constants_8h.html#a31d00ce5c064e1fff4261a6d6298dc11a94e03cdcc2f95916c9eaf6ab486ed768">UDS</a> = 0, <a class="code" href="grpc__security__constants_8h.html#a31d00ce5c064e1fff4261a6d6298dc11acb07333a9323d16e7e2258fe5bb4aed8">LOCAL_TCP</a> } <a class="code" href="grpc__security__constants_8h.html#a31d00ce5c064e1fff4261a6d6298dc11">grpc_local_connect_type</a>;</div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; </div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="grpc__security__constants_8h.html#ab7f46c1753e3601b1de9aa31958748dda900414265a7f4babe6386ce7356b5ebb"> 146</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">enum</span> { <a class="code" href="grpc__security__constants_8h.html#ab7f46c1753e3601b1de9aa31958748dda05ba9c03f48f1d2ab9774e456d24522f">TLS1_2</a>, <a class="code" href="grpc__security__constants_8h.html#ab7f46c1753e3601b1de9aa31958748dda900414265a7f4babe6386ce7356b5ebb">TLS1_3</a> } <a class="code" href="grpc__security__constants_8h.html#ab7f46c1753e3601b1de9aa31958748dd">grpc_tls_version</a>;</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; </div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;}</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; </div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* GRPC_GRPC_SECURITY_CONSTANTS_H */</span><span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="agrpc__security__constants_8h_html_a3c3165c49cd7a359ddb8656aae7e9dd6a1cb478ac1535b61fdd1cb2c1e2062b3a"><div class="ttname"><a href="grpc__security__constants_8h.html#a3c3165c49cd7a359ddb8656aae7e9dd6a1cb478ac1535b61fdd1cb2c1e2062b3a">GRPC_SECURITY_MIN</a></div><div class="ttdeci">@ GRPC_SECURITY_MIN</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:132</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_a4f19e93998bbda68d9c24f27673ff627"><div class="ttname"><a href="grpc__security__constants_8h.html#a4f19e93998bbda68d9c24f27673ff627">grpc_ssl_certificate_config_reload_status</a></div><div class="ttdeci">grpc_ssl_certificate_config_reload_status</div><div class="ttdoc">Callback results for dynamically loading a SSL certificate config.</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:73</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_ab7f46c1753e3601b1de9aa31958748dda900414265a7f4babe6386ce7356b5ebb"><div class="ttname"><a href="grpc__security__constants_8h.html#ab7f46c1753e3601b1de9aa31958748dda900414265a7f4babe6386ce7356b5ebb">TLS1_3</a></div><div class="ttdeci">@ TLS1_3</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:146</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_a29ffe63a8bb3b4945ecab42d82758f09a7390ee04c71c633589eefdad872c2048"><div class="ttname"><a href="grpc__security__constants_8h.html#a29ffe63a8bb3b4945ecab42d82758f09a7390ee04c71c633589eefdad872c2048">GRPC_SSL_REQUEST_CLIENT_CERTIFICATE_AND_VERIFY</a></div><div class="ttdeci">@ GRPC_SSL_REQUEST_CLIENT_CERTIFICATE_AND_VERIFY</div><div class="ttdoc">Server requests client certificate but does not enforce that the client presents a certificate.</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:105</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_a31d00ce5c064e1fff4261a6d6298dc11acb07333a9323d16e7e2258fe5bb4aed8"><div class="ttname"><a href="grpc__security__constants_8h.html#a31d00ce5c064e1fff4261a6d6298dc11acb07333a9323d16e7e2258fe5bb4aed8">LOCAL_TCP</a></div><div class="ttdeci">@ LOCAL_TCP</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:143</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_a29ffe63a8bb3b4945ecab42d82758f09af7c66a36be648bf7e396a145654d79f1"><div class="ttname"><a href="grpc__security__constants_8h.html#a29ffe63a8bb3b4945ecab42d82758f09af7c66a36be648bf7e396a145654d79f1">GRPC_SSL_REQUEST_CLIENT_CERTIFICATE_BUT_DONT_VERIFY</a></div><div class="ttdeci">@ GRPC_SSL_REQUEST_CLIENT_CERTIFICATE_BUT_DONT_VERIFY</div><div class="ttdoc">Server requests client certificate but does not enforce that the client presents a certificate.</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:94</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_a3c3165c49cd7a359ddb8656aae7e9dd6abb83593125096051f1c26ffa8df813b1"><div class="ttname"><a href="grpc__security__constants_8h.html#a3c3165c49cd7a359ddb8656aae7e9dd6abb83593125096051f1c26ffa8df813b1">GRPC_SECURITY_NONE</a></div><div class="ttdeci">@ GRPC_SECURITY_NONE</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:133</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_a90c47ae1d8c33145342170fe615fa68ca0c132ade28f3f56729b82119fc9f8142"><div class="ttname"><a href="grpc__security__constants_8h.html#a90c47ae1d8c33145342170fe615fa68ca0c132ade28f3f56729b82119fc9f8142">GRPC_SSL_ROOTS_OVERRIDE_FAIL</a></div><div class="ttdeci">@ GRPC_SSL_ROOTS_OVERRIDE_FAIL</div><div class="ttdoc">Do not try fallback options.</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:69</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_a4f19e93998bbda68d9c24f27673ff627ac5460b1687280e87915d11adc507988d"><div class="ttname"><a href="grpc__security__constants_8h.html#a4f19e93998bbda68d9c24f27673ff627ac5460b1687280e87915d11adc507988d">GRPC_SSL_CERTIFICATE_CONFIG_RELOAD_UNCHANGED</a></div><div class="ttdeci">@ GRPC_SSL_CERTIFICATE_CONFIG_RELOAD_UNCHANGED</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:74</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_a4f19e93998bbda68d9c24f27673ff627a00758a0455bc6cfbfe0e2af5f4f861cb"><div class="ttname"><a href="grpc__security__constants_8h.html#a4f19e93998bbda68d9c24f27673ff627a00758a0455bc6cfbfe0e2af5f4f861cb">GRPC_SSL_CERTIFICATE_CONFIG_RELOAD_NEW</a></div><div class="ttdeci">@ GRPC_SSL_CERTIFICATE_CONFIG_RELOAD_NEW</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:75</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_a90c47ae1d8c33145342170fe615fa68c"><div class="ttname"><a href="grpc__security__constants_8h.html#a90c47ae1d8c33145342170fe615fa68c">grpc_ssl_roots_override_result</a></div><div class="ttdeci">grpc_ssl_roots_override_result</div><div class="ttdoc">Results for the SSL roots override callback.</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:66</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_a90c47ae1d8c33145342170fe615fa68cadc1832235a9330a02cfa9a753eab70bc"><div class="ttname"><a href="grpc__security__constants_8h.html#a90c47ae1d8c33145342170fe615fa68cadc1832235a9330a02cfa9a753eab70bc">GRPC_SSL_ROOTS_OVERRIDE_OK</a></div><div class="ttdeci">@ GRPC_SSL_ROOTS_OVERRIDE_OK</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:67</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_a4f19e93998bbda68d9c24f27673ff627a87b80abccb958ca6899bc7e965ed8855"><div class="ttname"><a href="grpc__security__constants_8h.html#a4f19e93998bbda68d9c24f27673ff627a87b80abccb958ca6899bc7e965ed8855">GRPC_SSL_CERTIFICATE_CONFIG_RELOAD_FAIL</a></div><div class="ttdeci">@ GRPC_SSL_CERTIFICATE_CONFIG_RELOAD_FAIL</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:76</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="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="agrpc__security__constants_8h_html_a3c3165c49cd7a359ddb8656aae7e9dd6ad9ad5579bef3a4b55e461f29c9fbd957"><div class="ttname"><a href="grpc__security__constants_8h.html#a3c3165c49cd7a359ddb8656aae7e9dd6ad9ad5579bef3a4b55e461f29c9fbd957">GRPC_INTEGRITY_ONLY</a></div><div class="ttdeci">@ GRPC_INTEGRITY_ONLY</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:134</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_a31d00ce5c064e1fff4261a6d6298dc11a94e03cdcc2f95916c9eaf6ab486ed768"><div class="ttname"><a href="grpc__security__constants_8h.html#a31d00ce5c064e1fff4261a6d6298dc11a94e03cdcc2f95916c9eaf6ab486ed768">UDS</a></div><div class="ttdeci">@ UDS</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:143</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_a3c3165c49cd7a359ddb8656aae7e9dd6"><div class="ttname"><a href="grpc__security__constants_8h.html#a3c3165c49cd7a359ddb8656aae7e9dd6">grpc_security_level</a></div><div class="ttdeci">grpc_security_level</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:131</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_ab7f46c1753e3601b1de9aa31958748dda05ba9c03f48f1d2ab9774e456d24522f"><div class="ttname"><a href="grpc__security__constants_8h.html#ab7f46c1753e3601b1de9aa31958748dda05ba9c03f48f1d2ab9774e456d24522f">TLS1_2</a></div><div class="ttdeci">@ TLS1_2</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:146</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_a29ffe63a8bb3b4945ecab42d82758f09a6522b7d489da328ef7c9745039a93f42"><div class="ttname"><a href="grpc__security__constants_8h.html#a29ffe63a8bb3b4945ecab42d82758f09a6522b7d489da328ef7c9745039a93f42">GRPC_SSL_REQUEST_AND_REQUIRE_CLIENT_CERTIFICATE_BUT_DONT_VERIFY</a></div><div class="ttdeci">@ GRPC_SSL_REQUEST_AND_REQUIRE_CLIENT_CERTIFICATE_BUT_DONT_VERIFY</div><div class="ttdoc">Server requests client certificate and enforces that the client presents a certificate.</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:115</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_a29ffe63a8bb3b4945ecab42d82758f09a8bced4a94b58d31fd0718d3203da376f"><div class="ttname"><a href="grpc__security__constants_8h.html#a29ffe63a8bb3b4945ecab42d82758f09a8bced4a94b58d31fd0718d3203da376f">GRPC_SSL_DONT_REQUEST_CLIENT_CERTIFICATE</a></div><div class="ttdeci">@ GRPC_SSL_DONT_REQUEST_CLIENT_CERTIFICATE</div><div class="ttdoc">Server does not request client certificate.</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:84</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_a3c3165c49cd7a359ddb8656aae7e9dd6af27dbc67f757ccd2ff3537e053ad06c3"><div class="ttname"><a href="grpc__security__constants_8h.html#a3c3165c49cd7a359ddb8656aae7e9dd6af27dbc67f757ccd2ff3537e053ad06c3">GRPC_PRIVACY_AND_INTEGRITY</a></div><div class="ttdeci">@ GRPC_PRIVACY_AND_INTEGRITY</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:135</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_a29ffe63a8bb3b4945ecab42d82758f09a1041edab0ab12d270937f066f1e1ea0d"><div class="ttname"><a href="grpc__security__constants_8h.html#a29ffe63a8bb3b4945ecab42d82758f09a1041edab0ab12d270937f066f1e1ea0d">GRPC_SSL_REQUEST_AND_REQUIRE_CLIENT_CERTIFICATE_AND_VERIFY</a></div><div class="ttdeci">@ GRPC_SSL_REQUEST_AND_REQUIRE_CLIENT_CERTIFICATE_AND_VERIFY</div><div class="ttdoc">Server requests client certificate and enforces that the client presents a certificate.</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:125</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_a90c47ae1d8c33145342170fe615fa68caa0fdee0e3b14865c1ee4e7d89a46cc64"><div class="ttname"><a href="grpc__security__constants_8h.html#a90c47ae1d8c33145342170fe615fa68caa0fdee0e3b14865c1ee4e7d89a46cc64">GRPC_SSL_ROOTS_OVERRIDE_FAIL_PERMANENTLY</a></div><div class="ttdeci">@ GRPC_SSL_ROOTS_OVERRIDE_FAIL_PERMANENTLY</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:68</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_a31d00ce5c064e1fff4261a6d6298dc11"><div class="ttname"><a href="grpc__security__constants_8h.html#a31d00ce5c064e1fff4261a6d6298dc11">grpc_local_connect_type</a></div><div class="ttdeci">grpc_local_connect_type</div><div class="ttdoc">Type of local connections for which local channel/server credentials will be applied.</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:143</div></div>
<div class="ttc" id="agrpc__security__constants_8h_html_a3c3165c49cd7a359ddb8656aae7e9dd6a3dac3570a7b2f7189f426c0377bdb1e1"><div class="ttname"><a href="grpc__security__constants_8h.html#a3c3165c49cd7a359ddb8656aae7e9dd6a3dac3570a7b2f7189f426c0377bdb1e1">GRPC_SECURITY_MAX</a></div><div class="ttdeci">@ GRPC_SECURITY_MAX</div><div class="ttdef"><b>Definition:</b> grpc_security_constants.h:136</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri May 17 2024 01:17:15 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>