3232// / pcpp::SSLLayer. The pcpp::SSLLayer is an abstract class which cannot be instantiated. Only its 4 derived classes can
3333// / be instantiated. This means you'll never see a layer of type pcpp::SSLLayer, you'll only see the type of the derived
3434// / classes. A basic class diagram looks like this:
35- // / @verbatim
36- // /
35+ // / @code{.unparsed}
3736// / ╔═════════════════════════════════════════════════════════════════════════════════════════════════╗
3837// / ║ +----------------------------+ ║
3938// / ║ +---| SSLHandshakeLayer | ===> Handshake record type ║
5150// / ║ +---| SSLApplicationDataLayer | ===> Application data record type ║
5251// / ║ +----------------------------+ ║
5352// / ╚═════════════════════════════════════════════════════════════════════════════════════════════════╝
54- // / @endverbatim
53+ // / @endcode
5554// /
5655// / A single packet may include several SSL/TLS records, meaning
5756// / several layer instances of these types, for example:
5857// /
59- // / @verbatim
60- // /
58+ // / @code{.unparsed}
6159// / ╔══════════════════════════════════════════════════════════════════════════════╗
6260// / ║ +--------------------------+ ║
6361// / ║ | EthLayer | ║
7371// / ║ | SSLHandshakeLayer | / ║
7472// / ║ +--------------------------+ ║
7573// / ╚══════════════════════════════════════════════════════════════════════════════╝
76- // / @endverbatim
74+ // / @endcode
7775// /
7876// / <BR><BR>
7977// /
107105// / them reside in SSLHandshake.h. Following is a simple diagram of these
108106// / classes:
109107// /
110- // / @verbatim
111- // /
108+ // / @code{.unparsed}
112109// / ╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
113110// / ║ SSLHandshakeMessage ║
114111// / ║ | ║
134131// / ║ | ║
135132// / ║ |---SSLNewSessionTicketMessage ==> New-session-ticket message ║
136133// / ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
137- // / @endverbatim
134+ // / @endcode
138135// /
139136// / In addition, for all handshake messages which aren't supported in PcapPlusPlus or for encrypted
140137// / handshake messages There is another class: pcpp::SSLUnknownMessage
@@ -279,8 +276,7 @@ namespace pcpp
279276 // / demonstrates). But there are cases a layer may contain more than 1 message. To better explain this layer
280277 // / structure. We'll use 2 examples. The first will be client-hello message. The layer structure will look like this:
281278 // /
282- // / @verbatim
283- // /
279+ // / @code{.unparsed}
284280 // / ╔══════════════════════════════════════════════════════════════════════════════════════════╗
285281 // / ║ |------------------- SSLHandshakeLayer ----------------------| ║
286282 // / ║ +----------------------+-------------------------------------+ ║
@@ -296,14 +292,12 @@ namespace pcpp
296292 // / ║ TLS1_2 length ║
297293 // / ║ | yyy ║
298294 // / ╚══════════════════════════════════════════════════════════════════════════════════════════╝
299- // /
300- // / @endverbatim
295+ // / @endcode
301296 // /
302297 // / Second example is a multiple-message handshake layer comprises of server-hello, certificate and
303298 // / server-key-exchange messages:
304299 // /
305- // / @verbatim
306- // /
300+ // / @code{.unparsed}
307301 // / ╔═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
308302 // / ║ |---------------------------------------------- SSLHandshakeLayer -----------------------------------------------------| ║
309303 // / ║ +----------------------+-------------------------------------+---------------------------+-----------------------------+ ║
@@ -317,7 +311,7 @@ namespace pcpp
317311 // / ║ SSL_HANDSHAKE length handshake SSL_CERTIFICATE SSL_SERVER_KEY_EXCHANGE ║
318312 // / ║ (22) xxx | version,length | | ║
319313 // / ╚═════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
320- // / @endverbatim
314+ // / @endcode
321315 // clang-format on
322316#ifdef __GNUC__
323317# pragma GCC diagnostic pop
0 commit comments