PcapPlusPlus
SSLCommon.h
Go to the documentation of this file.
1 #ifndef PACKETPP_SSL_LAYER_COMMON
2 #define PACKETPP_SSL_LAYER_COMMON
3 
4 
14 namespace pcpp
15 {
16 
21 #pragma pack(push, 1)
23  {
25  uint8_t recordType;
27  uint16_t recordVersion;
29  uint16_t length;
30  };
31 #pragma pack(pop)
32 
33 
38 #pragma pack(push, 1)
40  {
42  uint8_t handshakeType;
44  uint8_t length1;
46  uint16_t length2;
47  };
48 #pragma pack(pop)
49 
50 
55 #pragma pack(push, 1)
57  {
59  uint16_t handshakeVersion;
61  uint8_t random[32];
62  };
63 #pragma pack(pop)
64 
65 
70 #pragma pack(push, 1)
72  {
75  };
76 #pragma pack(pop)
77 
78 
83 #pragma pack(push, 1)
85  {
87  uint8_t alertLevel;
90  };
91 #pragma pack(pop)
92 
93 
98  {
102  SSL_ALERT = 21,
107  };
108 
113  {
115  SSL2 = 0x0200,
117  SSL3 = 0x0300,
119  TLS1_0 = 0x0301,
121  TLS1_1 = 0x0302,
123  TLS1_2 = 0x0303
124  };
125 
130  {
155  };
156 
161  {
168  };
169 
174  {
184  SSL_ALERT_RECORD_OVERFLOW = 22,
227  };
228 
233  {
260  };
261 
266  {
293  };
294 
299  {
372  };
373 
378  {
399  };
400 
405  {
462  };
463 
468  {
491  };
492 
493 } //namespace pcpp
494 
495 #endif // PACKETPP_SSL_LAYER_COMMON
Definition: SSLCommon.h:317
SSLSymetricEncryptionAlgorithm
Definition: SSLCommon.h:298
Definition: SSLCommon.h:325
uint8_t changeCipherSpec
Definition: SSLCommon.h:74
Definition: SSLCommon.h:384
Definition: SSLCommon.h:349
Definition: SSLCommon.h:212
Definition: SSLCommon.h:478
Definition: SSLCommon.h:369
Definition: SSLCommon.h:415
Definition: SSLCommon.h:461
Definition: SSLCommon.h:319
Definition: SSLCommon.h:398
Definition: SSLCommon.h:396
Definition: SSLCommon.h:210
Definition: SSLCommon.h:142
Definition: SSLCommon.h:140
Definition: SSLCommon.h:365
Definition: SSLCommon.h:447
Definition: SSLCommon.h:355
Definition: SSLCommon.h:286
Definition: SSLCommon.h:167
Definition: SSLCommon.h:323
Definition: SSLCommon.h:182
Definition: SSLCommon.h:457
Definition: SSLCommon.h:484
Definition: SSLCommon.h:453
Definition: SSLCommon.h:276
Definition: SSLCommon.h:437
uint16_t length2
Definition: SSLCommon.h:46
Definition: SSLCommon.h:367
SSLAlertDescription
Definition: SSLCommon.h:173
Definition: SSLCommon.h:251
Definition: SSLCommon.h:474
SSLClientCertificateType
Definition: SSLCommon.h:467
Definition: SSLCommon.h:429
SSLHandshakeType
Definition: SSLCommon.h:129
Definition: SSLCommon.h:257
Definition: SSLCommon.h:288
Definition: SSLCommon.h:305
Definition: SSLCommon.h:144
Definition: SSLCommon.h:488
uint8_t handshakeType
Definition: SSLCommon.h:42
Definition: SSLCommon.h:331
Definition: SSLCommon.h:152
Definition: SSLCommon.h:292
Definition: SSLCommon.h:71
Definition: SSLCommon.h:347
Definition: SSLCommon.h:239
Definition: SSLCommon.h:115
Definition: SSLCommon.h:196
Definition: SSLCommon.h:407
Definition: SSLCommon.h:146
Definition: SSLCommon.h:22
Definition: SSLCommon.h:337
Definition: SSLCommon.h:303
Definition: SSLCommon.h:178
Definition: SSLCommon.h:413
Definition: SSLCommon.h:343
Definition: SSLCommon.h:411
Definition: SSLCommon.h:134
Definition: SSLCommon.h:123
Definition: SSLCommon.h:243
Definition: SSLCommon.h:451
Definition: SSLCommon.h:102
Definition: SSLCommon.h:284
Definition: SSLCommon.h:235
Definition: SSLCommon.h:106
Definition: SSLCommon.h:245
Definition: SSLCommon.h:490
Definition: SSLCommon.h:417
Definition: SSLCommon.h:255
Definition: SSLCommon.h:208
uint8_t alertDescription
Definition: SSLCommon.h:89
Definition: SSLCommon.h:392
Definition: SSLCommon.h:333
Definition: SSLCommon.h:119
Definition: SSLCommon.h:445
Definition: SSLCommon.h:482
Definition: SSLCommon.h:278
Definition: SSLCommon.h:361
Definition: SSLCommon.h:345
Definition: SSLCommon.h:307
Definition: SSLCommon.h:132
Definition: SSLCommon.h:315
Definition: SSLCommon.h:117
Definition: SSLCommon.h:419
Definition: SSLCommon.h:371
SSLAlertLevel
Definition: SSLCommon.h:160
uint8_t alertLevel
Definition: SSLCommon.h:87
Definition: SSLCommon.h:363
Definition: SSLCommon.h:56
SSLRecordType
Definition: SSLCommon.h:97
Definition: SSLCommon.h:311
uint16_t recordVersion
Definition: SSLCommon.h:27
Definition: SSLCommon.h:214
SSLHashingAlgorithm
Definition: SSLCommon.h:377
Definition: SSLCommon.h:226
Definition: SSLCommon.h:357
Definition: SSLCommon.h:476
Definition: SSLCommon.h:237
Definition: SSLCommon.h:253
Definition: SSLCommon.h:423
Definition: SSLCommon.h:200
Definition: SSLCommon.h:386
Definition: SSLCommon.h:421
Definition: SSLCommon.h:380
Definition: SSLCommon.h:329
Definition: SSLCommon.h:353
Definition: SSLCommon.h:449
Definition: SSLCommon.h:425
Definition: SSLCommon.h:455
Definition: SSLCommon.h:249
Definition: SSLCommon.h:154
Definition: SSLCommon.h:390
Definition: SSLCommon.h:382
Definition: SSLCommon.h:148
Definition: SSLCommon.h:198
Definition: SSLCommon.h:321
Definition: SSLCommon.h:84
Definition: SSLCommon.h:339
Definition: SSLCommon.h:301
Definition: SSLCommon.h:39
Definition: SSLCommon.h:441
Definition: SSLCommon.h:335
Definition: SSLCommon.h:470
Definition: SSLCommon.h:192
Definition: SSLCommon.h:194
Definition: SSLCommon.h:280
Definition: SSLCommon.h:290
Definition: SSLCommon.h:388
Definition: SSLCommon.h:270
Definition: SSLCommon.h:341
Definition: SSLCommon.h:433
Definition: SSLCommon.h:104
Definition: SSLCommon.h:202
Definition: SSLCommon.h:431
Definition: SSLCommon.h:472
Definition: SSLCommon.h:409
Definition: SSLCommon.h:282
Definition: SSLCommon.h:435
Definition: SSLCommon.h:222
Definition: SSLCommon.h:165
Definition: SSLCommon.h:309
Definition: SSLCommon.h:274
Definition: SSLCommon.h:150
Definition: SSLCommon.h:206
Definition: SSLCommon.h:427
Definition: SSLCommon.h:268
Definition: SSLCommon.h:188
Definition: SSLCommon.h:180
Definition: SSLCommon.h:204
Definition: SSLCommon.h:459
Definition: SSLCommon.h:272
SSLVersion
Definition: SSLCommon.h:112
Definition: SSLCommon.h:394
Definition: SSLCommon.h:241
Definition: SSLCommon.h:136
Definition: SSLCommon.h:121
Definition: SSLCommon.h:176
Definition: SSLCommon.h:186
Definition: SSLCommon.h:486
Definition: SSLCommon.h:100
Definition: SSLCommon.h:163
uint8_t length1
Definition: SSLCommon.h:44
Definition: SSLCommon.h:247
uint16_t handshakeVersion
Definition: SSLCommon.h:59
uint16_t length
Definition: SSLCommon.h:29
Definition: SSLCommon.h:138
Definition: SSLCommon.h:313
Definition: SSLCommon.h:220
The main namespace for the PcapPlusPlus lib.
uint8_t random[32]
Definition: SSLCommon.h:61
SSLAuthenticationAlgorithm
Definition: SSLCommon.h:265
Definition: SSLCommon.h:259
Definition: SSLCommon.h:190
Definition: SSLCommon.h:327
Definition: SSLCommon.h:351
SSLExtensionType
Definition: SSLCommon.h:404
Definition: SSLCommon.h:218
Definition: SSLCommon.h:480
uint8_t recordType
Definition: SSLCommon.h:25
SSLKeyExchangeAlgorithm
Definition: SSLCommon.h:232
Definition: SSLCommon.h:224
Definition: SSLCommon.h:359
Definition: SSLCommon.h:216