-
Notifications
You must be signed in to change notification settings - Fork 0
/
structSessionData.html
505 lines (453 loc) · 30.3 KB
/
structSessionData.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
<!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.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MCProtocolCPP: SessionData Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">MCProtocolCPP
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-attribs">Public Attributes</a> |
<a href="structSessionData-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">SessionData Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><a class="el" href="structSessionData.html" title="SessionData struct containing tls session information.">SessionData</a> struct containing tls session information.
<a href="structSessionData.html#details">More...</a></p>
<p><code>#include <<a class="el" href="tls__client_8hpp_source.html">tls_client.hpp</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a6c5ed59ecb7939dbce1b58db77318074"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="structSessionData.html#a6c5ed59ecb7939dbce1b58db77318074">clientIdentifier</a> = "chrome_120"</td></tr>
<tr class="memdesc:a6c5ed59ecb7939dbce1b58db77318074"><td class="mdescLeft"> </td><td class="mdescRight">clientIdentifier field <a href="structSessionData.html#a6c5ed59ecb7939dbce1b58db77318074">More...</a><br /></td></tr>
<tr class="separator:a6c5ed59ecb7939dbce1b58db77318074"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac7334f0fdedbb9fcf9f3aeef46c1ffa9"><td class="memItemLeft" align="right" valign="top">std::optional< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="structSessionData.html#ac7334f0fdedbb9fcf9f3aeef46c1ffa9">connectionFlow</a></td></tr>
<tr class="memdesc:ac7334f0fdedbb9fcf9f3aeef46c1ffa9"><td class="mdescLeft"> </td><td class="mdescRight">connectionFlow field <a href="structSessionData.html#ac7334f0fdedbb9fcf9f3aeef46c1ffa9">More...</a><br /></td></tr>
<tr class="separator:ac7334f0fdedbb9fcf9f3aeef46c1ffa9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a000c152b5e2077fdb7ec9ef670df296b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structSessionData.html#a000c152b5e2077fdb7ec9ef670df296b">randomTlsExtensionOrder</a> = false</td></tr>
<tr class="memdesc:a000c152b5e2077fdb7ec9ef670df296b"><td class="mdescLeft"> </td><td class="mdescRight">randomTlsExtensionOrder field <a href="structSessionData.html#a000c152b5e2077fdb7ec9ef670df296b">More...</a><br /></td></tr>
<tr class="separator:a000c152b5e2077fdb7ec9ef670df296b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abf2e2f3e9f7652be42344ab6ac7189d3"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structSessionData.html#abf2e2f3e9f7652be42344ab6ac7189d3">forceHttp1</a> = false</td></tr>
<tr class="memdesc:abf2e2f3e9f7652be42344ab6ac7189d3"><td class="mdescLeft"> </td><td class="mdescRight">forceHttp1 field <a href="structSessionData.html#abf2e2f3e9f7652be42344ab6ac7189d3">More...</a><br /></td></tr>
<tr class="separator:abf2e2f3e9f7652be42344ab6ac7189d3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a32ab19e360b5d3ae48a7634495f6d71e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structSessionData.html#a32ab19e360b5d3ae48a7634495f6d71e">debug</a> = false</td></tr>
<tr class="memdesc:a32ab19e360b5d3ae48a7634495f6d71e"><td class="mdescLeft"> </td><td class="mdescRight">debug field <a href="structSessionData.html#a32ab19e360b5d3ae48a7634495f6d71e">More...</a><br /></td></tr>
<tr class="separator:a32ab19e360b5d3ae48a7634495f6d71e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a509c0f6f7e93da0cb4dcf08fa4b92901"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structSessionData.html#a509c0f6f7e93da0cb4dcf08fa4b92901">catchPanics</a> = false</td></tr>
<tr class="memdesc:a509c0f6f7e93da0cb4dcf08fa4b92901"><td class="mdescLeft"> </td><td class="mdescRight">catchPanics field <a href="structSessionData.html#a509c0f6f7e93da0cb4dcf08fa4b92901">More...</a><br /></td></tr>
<tr class="separator:a509c0f6f7e93da0cb4dcf08fa4b92901"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a39d7ce2bcb3fc65eb2a6b39fe1c8cbff"><td class="memItemLeft" align="right" valign="top">std::optional< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="structSessionData.html#a39d7ce2bcb3fc65eb2a6b39fe1c8cbff">ja3String</a></td></tr>
<tr class="memdesc:a39d7ce2bcb3fc65eb2a6b39fe1c8cbff"><td class="mdescLeft"> </td><td class="mdescRight">ja3String field <a href="structSessionData.html#a39d7ce2bcb3fc65eb2a6b39fe1c8cbff">More...</a><br /></td></tr>
<tr class="separator:a39d7ce2bcb3fc65eb2a6b39fe1c8cbff"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a08284b0fe6bf82b9048f7eb30ffa0d94"><td class="memItemLeft" align="right" valign="top">std::optional< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="structSessionData.html#a08284b0fe6bf82b9048f7eb30ffa0d94">h2Settings</a></td></tr>
<tr class="memdesc:a08284b0fe6bf82b9048f7eb30ffa0d94"><td class="mdescLeft"> </td><td class="mdescRight">h2Settings field <a href="structSessionData.html#a08284b0fe6bf82b9048f7eb30ffa0d94">More...</a><br /></td></tr>
<tr class="separator:a08284b0fe6bf82b9048f7eb30ffa0d94"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad817efa8e4aa565601de2f33a827629d"><td class="memItemLeft" align="right" valign="top">std::optional< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="structSessionData.html#ad817efa8e4aa565601de2f33a827629d">h2SettingsOrder</a></td></tr>
<tr class="memdesc:ad817efa8e4aa565601de2f33a827629d"><td class="mdescLeft"> </td><td class="mdescRight">h2SettingsOrder field <a href="structSessionData.html#ad817efa8e4aa565601de2f33a827629d">More...</a><br /></td></tr>
<tr class="separator:ad817efa8e4aa565601de2f33a827629d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3dd56fe70e3bb3f78891770f3ea764eb"><td class="memItemLeft" align="right" valign="top">std::optional< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="structSessionData.html#a3dd56fe70e3bb3f78891770f3ea764eb">supportedSignatureAlgorithms</a></td></tr>
<tr class="memdesc:a3dd56fe70e3bb3f78891770f3ea764eb"><td class="mdescLeft"> </td><td class="mdescRight">supportedSignatureAlgorithms field <a href="structSessionData.html#a3dd56fe70e3bb3f78891770f3ea764eb">More...</a><br /></td></tr>
<tr class="separator:a3dd56fe70e3bb3f78891770f3ea764eb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9eb7680121408b1a9f13f9ac5887bafc"><td class="memItemLeft" align="right" valign="top">std::optional< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="structSessionData.html#a9eb7680121408b1a9f13f9ac5887bafc">supportedVersions</a></td></tr>
<tr class="memdesc:a9eb7680121408b1a9f13f9ac5887bafc"><td class="mdescLeft"> </td><td class="mdescRight">supportedVersions field <a href="structSessionData.html#a9eb7680121408b1a9f13f9ac5887bafc">More...</a><br /></td></tr>
<tr class="separator:a9eb7680121408b1a9f13f9ac5887bafc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5097c0c77f6d2c39e5b21b286af989d0"><td class="memItemLeft" align="right" valign="top">std::optional< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="structSessionData.html#a5097c0c77f6d2c39e5b21b286af989d0">keyShareCurves</a></td></tr>
<tr class="memdesc:a5097c0c77f6d2c39e5b21b286af989d0"><td class="mdescLeft"> </td><td class="mdescRight">keyShareCurves field <a href="structSessionData.html#a5097c0c77f6d2c39e5b21b286af989d0">More...</a><br /></td></tr>
<tr class="separator:a5097c0c77f6d2c39e5b21b286af989d0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a43238bd482172f08fc9d99f2f323b6d9"><td class="memItemLeft" align="right" valign="top">std::optional< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="structSessionData.html#a43238bd482172f08fc9d99f2f323b6d9">certCompressionAlgo</a></td></tr>
<tr class="memdesc:a43238bd482172f08fc9d99f2f323b6d9"><td class="mdescLeft"> </td><td class="mdescRight">certCompressionAlgo field <a href="structSessionData.html#a43238bd482172f08fc9d99f2f323b6d9">More...</a><br /></td></tr>
<tr class="separator:a43238bd482172f08fc9d99f2f323b6d9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a422af0b0aa574ebbbe282ca1719c6b96"><td class="memItemLeft" align="right" valign="top">std::optional< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="structSessionData.html#a422af0b0aa574ebbbe282ca1719c6b96">pseudoHeaderOrder</a></td></tr>
<tr class="memdesc:a422af0b0aa574ebbbe282ca1719c6b96"><td class="mdescLeft"> </td><td class="mdescRight">pseudoHeaderOrder field <a href="structSessionData.html#a422af0b0aa574ebbbe282ca1719c6b96">More...</a><br /></td></tr>
<tr class="separator:a422af0b0aa574ebbbe282ca1719c6b96"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a64fd872e8a8e08a5ffeb496fc5fb81d5"><td class="memItemLeft" align="right" valign="top">std::optional< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="structSessionData.html#a64fd872e8a8e08a5ffeb496fc5fb81d5">priorityFrames</a></td></tr>
<tr class="memdesc:a64fd872e8a8e08a5ffeb496fc5fb81d5"><td class="mdescLeft"> </td><td class="mdescRight">priorityFrames field <a href="structSessionData.html#a64fd872e8a8e08a5ffeb496fc5fb81d5">More...</a><br /></td></tr>
<tr class="separator:a64fd872e8a8e08a5ffeb496fc5fb81d5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9f283d7ce0e486aace4d6b1248633224"><td class="memItemLeft" align="right" valign="top">std::optional< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="structSessionData.html#a9f283d7ce0e486aace4d6b1248633224">headerOrder</a></td></tr>
<tr class="memdesc:a9f283d7ce0e486aace4d6b1248633224"><td class="mdescLeft"> </td><td class="mdescRight">headerOrder field <a href="structSessionData.html#a9f283d7ce0e486aace4d6b1248633224">More...</a><br /></td></tr>
<tr class="separator:a9f283d7ce0e486aace4d6b1248633224"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="structSessionData.html" title="SessionData struct containing tls session information.">SessionData</a> struct containing tls session information. </p>
<p>This struct encapsulates various configuration options related to a session. It includes client identifier, connection flow, TLS settings, debugging options, and other optional configuration parameters. </p>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="a509c0f6f7e93da0cb4dcf08fa4b92901"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a509c0f6f7e93da0cb4dcf08fa4b92901">◆ </a></span>catchPanics</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool SessionData::catchPanics = false</td>
</tr>
</table>
</div><div class="memdoc">
<p>catchPanics field </p>
<p>Specifies whether to catch and handle panics (fatal errors) gracefully. When set to true, panics are caught and handled; when false, they may cause the application to crash. </p>
</div>
</div>
<a id="a43238bd482172f08fc9d99f2f323b6d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a43238bd482172f08fc9d99f2f323b6d9">◆ </a></span>certCompressionAlgo</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::optional<std::string> SessionData::certCompressionAlgo</td>
</tr>
</table>
</div><div class="memdoc">
<p>certCompressionAlgo field </p>
<p>This optional field specifies the supported certificate compression algorithms for secure communications. It allows the configuration of various algorithms that can be used to compress certificates, reducing the size of the data transmitted during the handshake.</p>
<p>Examples:</p><ul>
<li>"zlib": A widely-used compression algorithm providing a good balance between speed and compression ratio.</li>
<li>"brotli": A modern compression algorithm that provides higher compression ratios, especially for text data.</li>
<li>"zstd": A fast compression algorithm with a very high compression ratio, suitable for real-time compression. </li>
</ul>
</div>
</div>
<a id="a6c5ed59ecb7939dbce1b58db77318074"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c5ed59ecb7939dbce1b58db77318074">◆ </a></span>clientIdentifier</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string SessionData::clientIdentifier = "chrome_120"</td>
</tr>
</table>
</div><div class="memdoc">
<p>clientIdentifier field </p>
<p>This field specifies the client software and version being emulated during the TLS session. It helps in mimicking the behavior and characteristics of different browsers or client applications.</p>
<p>Example client identifiers:</p><ul>
<li>chrome_120 (chrome) <em>DEFAULT</em></li>
<li>chrome_103 (chrome)</li>
<li>chrome_112 (chrome)</li>
<li>safari_15_6_1 (safari)</li>
<li>firefox_105 (firefox)</li>
<li>opera_89 (opera)</li>
</ul>
<dl class="section note"><dt>Note</dt><dd>Check the <a class="el" href="tls__client_8hpp.html#aafbc58640089850372d7a0c0bb98467c">clientIdentifiers</a> vector for full list of all avaiable client identifiers </dd></dl>
</div>
</div>
<a id="ac7334f0fdedbb9fcf9f3aeef46c1ffa9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7334f0fdedbb9fcf9f3aeef46c1ffa9">◆ </a></span>connectionFlow</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::optional<int> SessionData::connectionFlow</td>
</tr>
</table>
</div><div class="memdoc">
<p>connectionFlow field </p>
<p>This optional field specifies a unique identifier for the connection flow. It can be used to track and manage the sequence of operations during the TLS session.</p>
<p>Example: 15663105 </p>
</div>
</div>
<a id="a32ab19e360b5d3ae48a7634495f6d71e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32ab19e360b5d3ae48a7634495f6d71e">◆ </a></span>debug</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool SessionData::debug = false</td>
</tr>
</table>
</div><div class="memdoc">
<p>debug field </p>
<p>Specifies whether debug mode is enabled. When set to true, debug mode is enabled; when false, it is disabled. </p>
</div>
</div>
<a id="abf2e2f3e9f7652be42344ab6ac7189d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf2e2f3e9f7652be42344ab6ac7189d3">◆ </a></span>forceHttp1</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool SessionData::forceHttp1 = false</td>
</tr>
</table>
</div><div class="memdoc">
<p>forceHttp1 field </p>
<p>Specifies whether to force the use of HTTP/1.x protocol instead of HTTP/2 or later versions. When set to true, HTTP/1.x is forced; when false, other supported protocols may be used. </p>
</div>
</div>
<a id="a08284b0fe6bf82b9048f7eb30ffa0d94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08284b0fe6bf82b9048f7eb30ffa0d94">◆ </a></span>h2Settings</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::optional<std::string> SessionData::h2Settings</td>
</tr>
</table>
</div><div class="memdoc">
<p>h2Settings field </p>
<p>This field contains settings for HTTP/2 connections, allowing the configuration of various parameters that control the behavior of the HTTP/2 protocol. These settings are sent by both the client and the server to communicate their preferences and capabilities.</p>
<p>Possible Settings:</p><ul>
<li>HEADER_TABLE_SIZE: The size of the header compression table used to decode header blocks.</li>
<li>SETTINGS_ENABLE_PUSH: A boolean indicating whether server push is enabled (1) or disabled (0).</li>
<li>MAX_CONCURRENT_STREAMS: The maximum number of concurrent streams the sender is willing to accept.</li>
<li>INITIAL_WINDOW_SIZE: The initial window size in bytes for stream-level flow control.</li>
<li>MAX_FRAME_SIZE: The maximum size of a frame the sender is willing to receive.</li>
<li>MAX_HEADER_LIST_SIZE: The maximum size of header list that the sender is prepared to accept.</li>
</ul>
<p>Example: { "HEADER_TABLE_SIZE": 65536, "MAX_CONCURRENT_STREAMS": 1000, "INITIAL_WINDOW_SIZE": 6291456, "MAX_HEADER_LIST_SIZE": 262144 } </p>
</div>
</div>
<a id="ad817efa8e4aa565601de2f33a827629d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad817efa8e4aa565601de2f33a827629d">◆ </a></span>h2SettingsOrder</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::optional<std::string> SessionData::h2SettingsOrder</td>
</tr>
</table>
</div><div class="memdoc">
<p>h2SettingsOrder field </p>
<p>This optional field specifies the order of HTTP/2 header frame settings. These settings control various parameters for HTTP/2 connections, influencing behaviors such as header table size, maximum concurrent streams, initial window size, and maximum header list size.</p>
<p>The order of settings:</p><ul>
<li>"HEADER_TABLE_SIZE": Size of the header compression table.</li>
<li>"MAX_CONCURRENT_STREAMS": Maximum number of concurrent streams.</li>
<li>"INITIAL_WINDOW_SIZE": Initial window size for flow control.</li>
<li>"MAX_HEADER_LIST_SIZE": Maximum size of header list.</li>
</ul>
<p>Example: [ "HEADER_TABLE_SIZE", "MAX_CONCURRENT_STREAMS", "INITIAL_WINDOW_SIZE", "MAX_HEADER_LIST_SIZE" ] </p>
</div>
</div>
<a id="a9f283d7ce0e486aace4d6b1248633224"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f283d7ce0e486aace4d6b1248633224">◆ </a></span>headerOrder</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::optional<std::string> SessionData::headerOrder</td>
</tr>
</table>
</div><div class="memdoc">
<p>headerOrder field </p>
<p>This optional field specifies the order of headers used in a communication protocol or message. It defines the sequence in which headers should appear or be processed.</p>
<p>Example: [ "key1", "key2" ]</p>
<p>The order of headers:</p><ul>
<li>"key1": The first header key in the sequence.</li>
<li>"key2": The second header key in the sequence.</li>
</ul>
<p>Note: The actual content or type of headers can vary depending on the specific protocol or message format. </p>
</div>
</div>
<a id="a39d7ce2bcb3fc65eb2a6b39fe1c8cbff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39d7ce2bcb3fc65eb2a6b39fe1c8cbff">◆ </a></span>ja3String</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::optional<std::string> SessionData::ja3String</td>
</tr>
</table>
</div><div class="memdoc">
<p>ja3String field </p>
<p>This optional field is a JA3 string which uniquely identifies the client fingerprint in a TLS handshake. The string format includes:</p><ul>
<li>TLSVersion: The version of the TLS protocol being used.</li>
<li>Ciphers: A list of cipher suites supported by the client.</li>
<li>Extensions: A list of TLS extensions supported by the client.</li>
<li>EllipticCurves: A list of elliptic curves supported by the client.</li>
<li>EllipticCurvePointFormats: The formats for elliptic curve points supported by the client.</li>
</ul>
<p>ja3 string format: <TLSVersion>,<Ciphers>,<sslen>,<Extensions>,<EllipticCurves>,<EllipticCurvePointFormats></p>
<p>Example: 771,4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47 -53,0-23-65281-10-11-35-16-5-13-18-51-45-43-27-17513,29-23-24,0 </p>
</div>
</div>
<a id="a5097c0c77f6d2c39e5b21b286af989d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5097c0c77f6d2c39e5b21b286af989d0">◆ </a></span>keyShareCurves</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::optional<std::string> SessionData::keyShareCurves</td>
</tr>
</table>
</div><div class="memdoc">
<p>keyShareCurves field </p>
<p>This optional field specifies the supported elliptic curves for key exchange in secure communications. It allows the configuration of various curves that can be used for establishing shared secrets in secure connections.</p>
<p>Possible Settings:</p><ul>
<li>GREASE: A mechanism to ensure future elliptic curves can be gracefully handled.</li>
<li>P256: NIST P-256 elliptic curve.</li>
<li>P384: NIST P-384 elliptic curve.</li>
<li>P521: NIST P-521 elliptic curve.</li>
<li>X25519: Curve25519 for use with Elliptic-curve Diffie–Hellman (ECDH) key exchange.</li>
</ul>
<p>Example: [ "GREASE", "X25519" ] </p>
</div>
</div>
<a id="a64fd872e8a8e08a5ffeb496fc5fb81d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a64fd872e8a8e08a5ffeb496fc5fb81d5">◆ </a></span>priorityFrames</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::optional<std::string> SessionData::priorityFrames</td>
</tr>
</table>
</div><div class="memdoc">
<p>priorityFrames field </p>
<p>This optional field specifies the priority frames used in HTTP/2 to manage stream prioritization. Each frame contains information about a stream's priority parameters such as weight, dependency, and exclusivity.</p>
<p>Each priority frame specifies:</p><ul>
<li>streamID: The identifier of the stream for which the priority parameters are defined.</li>
<li>priorityParam: Object containing the priority parameters:<ul>
<li>weight: The weight of the stream in relation to its peers.</li>
<li>streamDep: The dependency stream ID (0 indicates no dependency).</li>
<li>exclusive: Indicates if the dependency is exclusive (true) or not (false or 0).</li>
</ul>
</li>
</ul>
<p>Example: [ { "streamID": 3, "priorityParam": { "weight": 201, "streamDep": 0, "exclusive": false } }, { "streamID": 5, "priorityParam": { "weight": 101, "streamDep": false, "exclusive": 0 } } ] </p>
</div>
</div>
<a id="a422af0b0aa574ebbbe282ca1719c6b96"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a422af0b0aa574ebbbe282ca1719c6b96">◆ </a></span>pseudoHeaderOrder</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::optional<std::string> SessionData::pseudoHeaderOrder</td>
</tr>
</table>
</div><div class="memdoc">
<p>pseudoHeaderOrder field </p>
<p>This optional field specifies the order of pseudo headers used in HTTP/2 requests. Pseudo headers are headers that begin with a colon (:) and convey essential metadata about the HTTP request or response.</p>
<p>Pseudo Header Order:</p><ul>
<li>":authority": The authority part of the request URI.</li>
<li>":method": The HTTP method (GET, POST, etc.) of the request.</li>
<li>":path": The path component of the request URI.</li>
<li>":scheme": The scheme (http, https) of the request URI.</li>
</ul>
<p>Example: [ ":method", ":authority", ":scheme", ":path" ] </p>
</div>
</div>
<a id="a000c152b5e2077fdb7ec9ef670df296b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a000c152b5e2077fdb7ec9ef670df296b">◆ </a></span>randomTlsExtensionOrder</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool SessionData::randomTlsExtensionOrder = false</td>
</tr>
</table>
</div><div class="memdoc">
<p>randomTlsExtensionOrder field </p>
<p>Specifies whether TLS extensions should be randomized in order during communication. When set to true, TLS extensions are randomized; when false, they are used in their default order. </p>
</div>
</div>
<a id="a3dd56fe70e3bb3f78891770f3ea764eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3dd56fe70e3bb3f78891770f3ea764eb">◆ </a></span>supportedSignatureAlgorithms</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::optional<std::string> SessionData::supportedSignatureAlgorithms</td>
</tr>
</table>
</div><div class="memdoc">
<p>supportedSignatureAlgorithms field </p>
<p>This optional field specifies the supported signature algorithms for cryptographic operations. It allows the configuration of various algorithms that can be used for creating and verifying digital signatures in secure communications.</p>
<p>Possible Settings:</p><ul>
<li>PKCS1WithSHA256: RSA signature with PKCS #1 and SHA-256.</li>
<li>PKCS1WithSHA384: RSA signature with PKCS #1 and SHA-384.</li>
<li>PKCS1WithSHA512: RSA signature with PKCS #1 and SHA-512.</li>
<li>PSSWithSHA256: RSA-PSS signature with SHA-256.</li>
<li>PSSWithSHA384: RSA-PSS signature with SHA-384.</li>
<li>PSSWithSHA512: RSA-PSS signature with SHA-512.</li>
<li>ECDSAWithP256AndSHA256: ECDSA signature with P-256 curve and SHA-256.</li>
<li>ECDSAWithP384AndSHA384: ECDSA signature with P-384 curve and SHA-384.</li>
<li>ECDSAWithP521AndSHA512: ECDSA signature with P-521 curve and SHA-512.</li>
<li>PKCS1WithSHA1: RSA signature with PKCS #1 and SHA-1 (deprecated and less secure).</li>
<li>ECDSAWithSHA1: ECDSA signature with SHA-1 (deprecated and less secure).</li>
</ul>
<p>Example: [ "ECDSAWithP256AndSHA256", "PSSWithSHA256", "PKCS1WithSHA256", "ECDSAWithP384AndSHA384", "PSSWithSHA384", "PKCS1WithSHA384", "PSSWithSHA512", "PKCS1WithSHA512" ] </p>
</div>
</div>
<a id="a9eb7680121408b1a9f13f9ac5887bafc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9eb7680121408b1a9f13f9ac5887bafc">◆ </a></span>supportedVersions</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::optional<std::string> SessionData::supportedVersions</td>
</tr>
</table>
</div><div class="memdoc">
<p>supportedVersions field </p>
<p>This optional field specifies the supported protocol versions for secure communications. It allows the configuration of various versions that can be used for establishing secure connections.</p>
<p>Possible Settings:</p><ul>
<li>GREASE: A mechanism to ensure future protocol versions can be gracefully handled.</li>
<li>1.3: TLS version 1.3, the latest version with improved security and performance.</li>
<li>1.2: TLS version 1.2, widely used and supports modern cryptographic algorithms.</li>
<li>1.1: TLS version 1.1, older version with fewer security features (deprecated).</li>
<li>1.0: TLS version 1.0, the initial version with basic security features (deprecated).</li>
</ul>
<p>Example: [ "GREASE", "1.3", "1.2" ] </p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>include/<a class="el" href="tls__client_8hpp_source.html">tls_client.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>