78 static_assert(
sizeof(
ssl_tls_alert) == 2,
"ssl_tls_alert size is not 2 bytes");
156 m_SSLVersionValue = sslVersionValue;
169 return m_SSLVersionValue;
177 std::string
toString(
bool countTlsDraftsAs1_3 =
false);
180 uint16_t m_SSLVersionValue;
244 SSL_ALERT_RECORD_OVERFLOW = 22,
Definition: SSLCommon.h:98
uint16_t asUInt()
Definition: SSLCommon.h:167
std::string toString(bool countTlsDraftsAs1_3=false)
SSLVersion(uint16_t sslVersionValue)
Definition: SSLCommon.h:154
SSLVersionEnum asEnum(bool countTlsDraftsAs1_3=false)
SSLVersionEnum
SSL/TLS versions enum.
Definition: SSLCommon.h:102
@ TLS1_3_D14
TLS 1.3 (draft 14)
Definition: SSLCommon.h:114
@ TLS1_2
TLS 1.2.
Definition: SSLCommon.h:110
@ TLS1_3_D22
TLS 1.3 (draft 22)
Definition: SSLCommon.h:130
@ TLS1_0
TLS 1.0.
Definition: SSLCommon.h:106
@ SSL3
SSL 3.0.
Definition: SSLCommon.h:104
@ TLS1_3_D21
TLS 1.3 (draft 21)
Definition: SSLCommon.h:128
@ TLS1_3_D20
TLS 1.3 (draft 20)
Definition: SSLCommon.h:126
@ TLS1_3_D18
TLS 1.3 (draft 18)
Definition: SSLCommon.h:122
@ TLS1_3_FBD26
TLS 1.3 (Facebook draft 26)
Definition: SSLCommon.h:146
@ TLS1_3_D28
TLS 1.3 (draft 28)
Definition: SSLCommon.h:142
@ TLS1_3_D16
TLS 1.3 (draft 16)
Definition: SSLCommon.h:118
@ Unknown
Unknown value.
Definition: SSLCommon.h:148
@ TLS1_3_D27
TLS 1.3 (draft 27)
Definition: SSLCommon.h:140
@ TLS1_3_D15
TLS 1.3 (draft 15)
Definition: SSLCommon.h:116
@ TLS1_3_D24
TLS 1.3 (draft 24)
Definition: SSLCommon.h:134
@ TLS1_1
TLS 1.1.
Definition: SSLCommon.h:108
@ TLS1_3_D19
TLS 1.3 (draft 19)
Definition: SSLCommon.h:124
@ TLS1_3_D26
TLS 1.3 (draft 26)
Definition: SSLCommon.h:138
@ TLS1_3_D25
TLS 1.3 (draft 25)
Definition: SSLCommon.h:136
@ TLS1_3
TLS 1.3.
Definition: SSLCommon.h:112
@ TLS1_3_FBD23
TLS 1.3 (Facebook draft 23)
Definition: SSLCommon.h:144
@ TLS1_3_D17
TLS 1.3 (draft 17)
Definition: SSLCommon.h:120
@ TLS1_3_D23
TLS 1.3 (draft 23)
Definition: SSLCommon.h:132
The main namespace for the PcapPlusPlus lib.
SSLAlertDescription
SSL/TLS alert description types.
Definition: SSLCommon.h:234
@ SSL_ALERT_DECRYPTION_FAILED
Decryption failed alert.
Definition: SSLCommon.h:242
@ SSL_ALERT_NO_CERTIFICATE
No certificate alert.
Definition: SSLCommon.h:250
@ SSL_ALERT_DECOMPRESSION_FAILURE
Decompression failure alert.
Definition: SSLCommon.h:246
@ SSL_ALERT_ACCESS_DENIED
Access denied alert.
Definition: SSLCommon.h:266
@ SSL_ALERT_UNEXPECTED_MESSAGE
Unexpected message alert.
Definition: SSLCommon.h:238
@ SSL_ALERT_UNSUPPORTED_EXTENSION
Unsupported extension alert.
Definition: SSLCommon.h:284
@ SSL_ALERT_BAD_CERTIFICATE
Bad certificate alert.
Definition: SSLCommon.h:252
@ SSL_ALERT_ILLEGAL_PARAMETER
Illegal parameter alert.
Definition: SSLCommon.h:262
@ SSL_ALERT_INSUFFICIENT_SECURITY
Insufficient security alert.
Definition: SSLCommon.h:276
@ SSL_ALERT_INTERNAL_ERROR
Internal error alert.
Definition: SSLCommon.h:278
@ SSL_ALERT_USER_CANCELLED
User cancelled alert.
Definition: SSLCommon.h:280
@ SSL_ALERT_CERTIFICATE_EXPIRED
Certificate expired alert.
Definition: SSLCommon.h:258
@ SSL_ALERT_CERTIFICATE_UNKNOWN
Certificate unknown alert.
Definition: SSLCommon.h:260
@ SSL_ALERT_UNSUPPORTED_CERTIFICATE
Unsupported certificate.
Definition: SSLCommon.h:254
@ SSL_ALERT_CLOSE_NOTIFY
Close notify alert.
Definition: SSLCommon.h:236
@ SSL_ALERT_BAD_RECORD_MAC
Bad record MAC alert.
Definition: SSLCommon.h:240
@ SSL_ALERT_HANDSHAKE_FAILURE
Handshake failure alert.
Definition: SSLCommon.h:248
@ SSL_ALERT_ENCRYPTED
Encrtpyed alert (cannot determine its type)
Definition: SSLCommon.h:286
@ SSL_ALERT_UNKNOWN_CA
Unknown CA alert.
Definition: SSLCommon.h:264
@ SSL_ALERT_NO_RENEGOTIATION
No negotiation alert.
Definition: SSLCommon.h:282
@ SSL_ALERT_DECODE_ERROR
Decode error alert.
Definition: SSLCommon.h:268
@ SSL_ALERT_PROTOCOL_VERSION
Protocol version alert.
Definition: SSLCommon.h:274
@ SSL_ALERT_CERTIFICATE_REVOKED
Certificate revoked alert.
Definition: SSLCommon.h:256
@ SSL_ALERT_EXPORT_RESTRICTION
Export restriction alert.
Definition: SSLCommon.h:272
@ SSL_ALERT_DECRYPT_ERROR
Decrypt error alert.
Definition: SSLCommon.h:270
SSLKeyExchangeAlgorithm
SSL/TLS key exchange algorithms.
Definition: SSLCommon.h:291
@ SSL_KEYX_DH
Diffie-Hellman.
Definition: SSLCommon.h:297
@ SSL_KEYX_GOST
GOST.
Definition: SSLCommon.h:311
@ SSL_KEYX_PCT
PCT.
Definition: SSLCommon.h:315
@ SSL_KEYX_Unknown
Unknown algorithm.
Definition: SSLCommon.h:317
@ SSL_KEYX_DHE
Diffie-Hellman ephemeral.
Definition: SSLCommon.h:299
@ SSL_KEYX_KRB5
Kerberos 5.
Definition: SSLCommon.h:307
@ SSL_KEYX_ECDH
Elliptic curve Diffie�Hellman.
Definition: SSLCommon.h:301
@ SSL_KEYX_PSK
Pre-Shared Key.
Definition: SSLCommon.h:309
@ SSL_KEYX_FORTEZZA
Fortezza Crypto Card.
Definition: SSLCommon.h:305
@ SSL_KEYX_ECDHE
Elliptic curve Diffie�Hellman ephemeral.
Definition: SSLCommon.h:303
@ SSL_KEYX_RSA
RSA (Rivest-Shamir-Adleman)
Definition: SSLCommon.h:295
@ SSL_KEYX_SRP
Secure Remote Password.
Definition: SSLCommon.h:313
@ SSL_KEYX_NULL
Null value.
Definition: SSLCommon.h:293
SSLRecordType
SSL/TLS message types.
Definition: SSLCommon.h:82
@ SSL_ALERT
SSL alert message.
Definition: SSLCommon.h:86
@ SSL_CHANGE_CIPHER_SPEC
Change-cipher-spec message.
Definition: SSLCommon.h:84
@ SSL_HANDSHAKE
SSL handshake message.
Definition: SSLCommon.h:88
@ SSL_APPLICATION_DATA
SSL data message.
Definition: SSLCommon.h:90
SSLExtensionType
SSL/TLS extension types.
Definition: SSLCommon.h:459
@ SSL_EXT_ENCRYPT_THEN_MAC
Encrypt-then-MAC extension.
Definition: SSLCommon.h:505
@ SSL_EXT_EC_POINT_FORMATS
Elliptic Curves Point Format extension.
Definition: SSLCommon.h:483
@ SSL_EXT_SUPPORTED_GROUPS
Supported Groups extension (renamed from "elliptic curves")
Definition: SSLCommon.h:481
@ SSL_EXT_SERVER_AUTHZ
Server Authorization extension.
Definition: SSLCommon.h:477
@ SSL_EXT_KEY_SHARE
Key share extension (TLS 1.3)
Definition: SSLCommon.h:531
@ SSL_EXT_SERVER_NAME
Server Name Indication extension.
Definition: SSLCommon.h:461
@ SSL_EXT_EXTENDED_MASTER_SECRET
Extended Master Secret extension.
Definition: SSLCommon.h:507
@ SSL_EXT_HEARTBEAT
TLS Heartbit extension.
Definition: SSLCommon.h:491
@ SSL_EXT_SUPPORTED_VERSIONS
Supported versions extension (TLS 1.3)
Definition: SSLCommon.h:517
@ SSL_EXT_STATUS_REQUEST
Certificate Status Request extension.
Definition: SSLCommon.h:471
@ SSL_EXT_APPLICATION_LAYER_PROTOCOL_NEGOTIATION
Application Layer Protocol Negotiation (ALPN) extension.
Definition: SSLCommon.h:493
@ SSL_EXT_PRE_SHARED_KEY
Pre-shared key (PSK) extension (TLS 1.3)
Definition: SSLCommon.h:513
@ SSL_EXT_PSK_KEY_EXCHANGE_MODES
Pre-Shared Key Exchange Modes extension (TLS 1.3)
Definition: SSLCommon.h:521
@ SSL_EXT_MAX_FRAGMENT_LENGTH
Maximum Fragment Length Negotiation extension.
Definition: SSLCommon.h:463
@ SSL_EXT_EARLY_DATA
Early data extension (TLS 1.3)
Definition: SSLCommon.h:515
@ SSL_EXT_CERT_TYPE
Certificate Type extension.
Definition: SSLCommon.h:479
@ SSL_EXT_SIGNED_CERTIFICATE_TIMESTAMP
Signed Certificate Timestamp extension.
Definition: SSLCommon.h:497
@ SSL_EXT_SIGNATURE_ALGORITHMS
Signature Algorithms extension.
Definition: SSLCommon.h:487
@ SSL_EXT_SERVER_CERTIFICATE_TYPE
Server Certificate Type extension.
Definition: SSLCommon.h:501
@ SSL_EXT_TRUNCATED_HMAC
Truncated HMAC extension.
Definition: SSLCommon.h:469
@ SSL_EXT_STATUS_REQUEST_V2
Status Request extension.
Definition: SSLCommon.h:495
@ SSL_EXT_SIGNATURE_ALGORITHM_CERT
Signature algorithm cert extension (TLS 1.3)
Definition: SSLCommon.h:529
@ SSL_EXT_CLIENT_CERTIFICATE_URL
Client Certificate URLs extension.
Definition: SSLCommon.h:465
@ SSL_EXT_CLIENT_AUTHZ
Client Authorization extension.
Definition: SSLCommon.h:475
@ SSL_EXT_USE_SRTP
Use Secure Real-time Transport Protocol extension.
Definition: SSLCommon.h:489
@ SSL_EXT_COOKIE
Cookie extension (TLS 1.3)
Definition: SSLCommon.h:519
@ SSL_EXT_SESSIONTICKET_TLS
SessionTicket TLS extension.
Definition: SSLCommon.h:511
@ SSL_EXT_CERTIFICATE_AUTHORITIES
Certificate authorities extension (TLS 1.3)
Definition: SSLCommon.h:523
@ SSL_EXT_CLIENT_CERTIFICATE_TYPE
Client Certificate Type extension.
Definition: SSLCommon.h:499
@ SSL_EXT_Unknown
Unknown extension.
Definition: SSLCommon.h:535
@ SSL_EXT_PADDING
ClientHello Padding extension.
Definition: SSLCommon.h:503
@ SSL_EXT_POST_HANDSHAKE_AUTH
Post handshake auth extension (TLS 1.3)
Definition: SSLCommon.h:527
@ SSL_EXT_RENEGOTIATION_INFO
Renegotiation Indication extension.
Definition: SSLCommon.h:533
@ SSL_EXT_TOKEN_BINDING
Token Binding extension.
Definition: SSLCommon.h:509
@ SSL_EXT_OLD_FILTERS
Old filters extension (TLS 1.3)
Definition: SSLCommon.h:525
@ SSL_EXT_SRP
Secure Remote Password extension.
Definition: SSLCommon.h:485
@ SSL_EXT_TRUSTED_CA_KEYS
Trusted CA Indication extension.
Definition: SSLCommon.h:467
@ SSL_EXT_USER_MAPPING
TLS User Mapping extension.
Definition: SSLCommon.h:473
SSLClientCertificateType
SSL/TLS client certificate types.
Definition: SSLCommon.h:540
@ SSL_CCT_ECDSA_SIGN
ECDSA_SIGN.
Definition: SSLCommon.h:556
@ SSL_CCT_RSA_FIXED_DH
RSA_FIXED_DH.
Definition: SSLCommon.h:546
@ SSL_CCT_DSS_SIGN
DSS_SIGN.
Definition: SSLCommon.h:544
@ SSL_CCT_RSA_SIGN
RSA_SIGN.
Definition: SSLCommon.h:542
@ SSL_CCT_RSA_EPHEMERAL_DH_RESERVED
RSA_EPHEMERAL_DH_RESERVED.
Definition: SSLCommon.h:550
@ SSL_CCT_DSS_FIXED_DH
DSS_FIXED_DH.
Definition: SSLCommon.h:548
@ SSL_CCT_UNKNOWN
Unknown client certificate type.
Definition: SSLCommon.h:562
@ SSL_CCT_DSS_EPHEMERAL_DH_RESERVED
DSS_EPHEMERAL_DH_RESERVED.
Definition: SSLCommon.h:552
@ SSL_CCT_ECDSA_FIXED_ECDH
ECDSA_FIXED_ECDH.
Definition: SSLCommon.h:560
@ SSL_CCT_FORTEZZA_DMS_RESERVED
FORTEZZA_DMS_RESERVED.
Definition: SSLCommon.h:554
@ SSL_CCT_RSA_FIXED_ECDH
FIXED_ECDH.
Definition: SSLCommon.h:558
SSLAlertLevel
SSL/TLS alert levels.
Definition: SSLCommon.h:223
@ SSL_ALERT_LEVEL_FATAL
Fatal level alert.
Definition: SSLCommon.h:227
@ SSL_ALERT_LEVEL_WARNING
Warning level alert.
Definition: SSLCommon.h:225
@ SSL_ALERT_LEVEL_ENCRYPTED
For encrypted alerts the level is unknown so this type will be returned.
Definition: SSLCommon.h:229
SSLSymetricEncryptionAlgorithm
SSL/TLS symmetric encryption algorithms.
Definition: SSLCommon.h:353
@ SSL_SYM_CAMELLIA_256_CBC
CAMELLIA_256_CBC.
Definition: SSLCommon.h:391
@ SSL_SYM_GOST28147
GOST28147.
Definition: SSLCommon.h:389
@ SSL_SYM_AES_128_CCM
AES_128_CCM.
Definition: SSLCommon.h:425
@ SSL_SYM_RC4_64
RC4_64.
Definition: SSLCommon.h:413
@ SSL_SYM_RC2_CBC_128_CBC
RC2_CBC_128_CBC.
Definition: SSLCommon.h:405
@ SSL_SYM_RC2_CBC_40
RC2_CBC_40.
Definition: SSLCommon.h:361
@ SSL_SYM_ARIA_256_GCM
ARIA_256_GCM.
Definition: SSLCommon.h:421
@ SSL_SYM_IDEA_CBC
IDEA_CBC.
Definition: SSLCommon.h:363
@ SSL_SYM_AES_256_CBC
AES_256_CBC.
Definition: SSLCommon.h:377
@ SSL_SYM_ARIA_128_CBC
ARIA_128_CBC.
Definition: SSLCommon.h:415
@ SSL_SYM_RC4_40
RC4_40.
Definition: SSLCommon.h:357
@ SSL_SYM_AES_128_CBC
AES_128_CBC.
Definition: SSLCommon.h:375
@ SSL_SYM_SEED_CBC
SEED_CBC.
Definition: SSLCommon.h:393
@ SSL_SYM_FORTEZZA_CBC
FORTEZZA_CBC.
Definition: SSLCommon.h:371
@ SSL_SYM_AES_128
AES_128.
Definition: SSLCommon.h:395
@ SSL_SYM_CAMELLIA_128_CBC
CAMELLIA_128_CBC.
Definition: SSLCommon.h:379
@ SSL_SYM_3DES_EDE_CBC
3DES_EDE_CBC
Definition: SSLCommon.h:369
@ SSL_SYM_AES_256_GCM
AES_256_GCM.
Definition: SSLCommon.h:401
@ SSL_SYM_ARIA_256_CBC
ARIA_256_CBC.
Definition: SSLCommon.h:417
@ SSL_SYM_IDEA_128_CBC
IDEA_128_CBC.
Definition: SSLCommon.h:407
@ SSL_SYM_NULL
Null value.
Definition: SSLCommon.h:355
@ SSL_SYM_CHACHA20_POLY1305
CHACHA20_POLY1305.
Definition: SSLCommon.h:423
@ SSL_SYM_RC2_CBC_56
RC2_CBC_56.
Definition: SSLCommon.h:387
@ SSL_SYM_ARIA_128_GCM
ARIA_128_GCM.
Definition: SSLCommon.h:419
@ SSL_SYM_DES_CBC_40
DES_CBC_40.
Definition: SSLCommon.h:373
@ SSL_SYM_CAMELLIA_256_GCM
CAMELLIA_256_GCM.
Definition: SSLCommon.h:383
@ SSL_SYM_CAMELLIA_128_GCM
CAMELLIA_128_GCM.
Definition: SSLCommon.h:381
@ SSL_SYM_AES_128_GCM
SSL_SYM_AES_128_GCM.
Definition: SSLCommon.h:399
@ SSL_SYM_DES40_CBC
DES40_CBC.
Definition: SSLCommon.h:365
@ SSL_SYM_RC4_56
RC4_56.
Definition: SSLCommon.h:385
@ SSL_SYM_AES_256
AES_256.
Definition: SSLCommon.h:397
@ SSL_SYM_DES_64_CBC
DES_64_CBC.
Definition: SSLCommon.h:409
@ SSL_SYM_RC4_128_EXPORT40
RC4_128_EXPORT40.
Definition: SSLCommon.h:403
@ SSL_SYM_DES_192_EDE3_CBC
DES_192_EDE3_CBC.
Definition: SSLCommon.h:411
@ SSL_SYM_RC4_128
RC4_128.
Definition: SSLCommon.h:359
@ SSL_SYM_Unknown
Unknown algorithm.
Definition: SSLCommon.h:429
@ SSL_SYM_DES_CBC
DES_CBC.
Definition: SSLCommon.h:367
@ SSL_SYM_AES_128_CCM_8
AES_128_CCM_8.
Definition: SSLCommon.h:427
SSLAuthenticationAlgorithm
SSL/TLS authentication algorithms.
Definition: SSLCommon.h:322
@ SSL_AUTH_Unknown
Unknown algorithm.
Definition: SSLCommon.h:348
@ SSL_AUTH_SHA
SHA-1 (Secure Hash Algorithm)
Definition: SSLCommon.h:342
@ SSL_AUTH_RSA
RSA (Rivest-Shamir-Adleman)
Definition: SSLCommon.h:326
@ SSL_AUTH_PSK
Pre-Shared Key.
Definition: SSLCommon.h:336
@ SSL_AUTH_GOST
GOST.
Definition: SSLCommon.h:340
@ SSL_AUTH_ECDSA
Elliptic Curve Digital Signature Algorithm.
Definition: SSLCommon.h:338
@ SSL_AUTH_PCT
PCT.
Definition: SSLCommon.h:344
@ SSL_AUTH_KRB5
Kerberos 5.
Definition: SSLCommon.h:334
@ SSL_AUTH_DHE
Diffie-Hellman ephemeral.
Definition: SSLCommon.h:346
@ SSL_AUTH_DSS
Digital Signature Standard.
Definition: SSLCommon.h:328
@ SSL_AUTH_NULL
Null value.
Definition: SSLCommon.h:324
@ SSL_AUTH_KEA
Diffie-Hellman based key-exchange protocol.
Definition: SSLCommon.h:332
@ SSL_AUTH_anon
Anonymous.
Definition: SSLCommon.h:330
SSLHandshakeType
SSL/TLS handshake message types.
Definition: SSLCommon.h:188
@ SSL_CERTIFICATE
Certificate message type.
Definition: SSLCommon.h:202
@ SSL_CERTIFICATE_VERIFY
Certificate-verify message type.
Definition: SSLCommon.h:210
@ SSL_SERVER_DONE
Server-hello-done message type.
Definition: SSLCommon.h:208
@ SSL_CERTIFICATE_REQUEST
Certificate-request message type.
Definition: SSLCommon.h:206
@ SSL_CLIENT_KEY_EXCHANGE
Client-key-exchange message type.
Definition: SSLCommon.h:212
@ SSL_KEY_UPDATE
Key-update message type (TLS 1.3)
Definition: SSLCommon.h:216
@ SSL_CLIENT_HELLO
Client-hello message type.
Definition: SSLCommon.h:192
@ SSL_SERVER_KEY_EXCHANGE
Server-key-exchange message type.
Definition: SSLCommon.h:204
@ SSL_FINISHED
Finish message type.
Definition: SSLCommon.h:214
@ SSL_SERVER_HELLO
Server-hello message type.
Definition: SSLCommon.h:194
@ SSL_HANDSHAKE_UNKNOWN
Unknown SSL handshake message.
Definition: SSLCommon.h:218
@ SSL_END_OF_EARLY_DATE
End-of-early-data message type (TLS 1.3)
Definition: SSLCommon.h:198
@ SSL_ENCRYPTED_EXTENSIONS
Encrypted-extensions message type (TLS 1.3)
Definition: SSLCommon.h:200
@ SSL_HELLO_REQUEST
Hello-request message type.
Definition: SSLCommon.h:190
@ SSL_NEW_SESSION_TICKET
New-session-ticket message type.
Definition: SSLCommon.h:196
SSLHashingAlgorithm
SSL/TLS hashing algorithms.
Definition: SSLCommon.h:434
@ SSL_HASH_SHA384
SHA-384 (Secure Hash Algorithm)
Definition: SSLCommon.h:448
@ SSL_HASH_CCM
CCM mode (Counter with CBC-MAC)
Definition: SSLCommon.h:450
@ SSL_HASH_SHA256
SHA-256 (Secure Hash Algorithm)
Definition: SSLCommon.h:442
@ SSL_HASH_NULL
Null value.
Definition: SSLCommon.h:436
@ SSL_HASH_GOSTR3411
GOST R 34.11.
Definition: SSLCommon.h:446
@ SSL_HASH_CCM_8
CCM mode (Counter with CBC-MAC)
Definition: SSLCommon.h:452
@ SSL_HASH_Unknown
Unknown algorithm.
Definition: SSLCommon.h:454
@ SSL_HASH_MD5
Message-Digest Algorithm.
Definition: SSLCommon.h:438
@ SSL_HASH_GOST28147
GOST 28147.
Definition: SSLCommon.h:444
@ SSL_HASH_SHA
SHA-1 (Secure Hash Algorithm)
Definition: SSLCommon.h:440
Definition: SSLCommon.h:71
uint8_t alertLevel
Alert level (one of SSLAlertLevel)
Definition: SSLCommon.h:73
uint8_t alertDescription
Alert description (one of SSLAlertDescription)
Definition: SSLCommon.h:75
Definition: SSLCommon.h:60
uint8_t changeCipherSpec
Unused byte.
Definition: SSLCommon.h:62
Definition: SSLCommon.h:47
uint8_t random[32]
32-bytes random number
Definition: SSLCommon.h:51
uint16_t handshakeVersion
SSL/TLS handshake version (one of SSLVersion::SSLVersionEnum)
Definition: SSLCommon.h:49
Definition: SSLCommon.h:32
uint8_t handshakeType
Type of the handshake message (one of SSLHandshakeType)
Definition: SSLCommon.h:34
uint16_t length2
Length of the message. Length is 3-Byte long, This is the 2 LSB bytes.
Definition: SSLCommon.h:38
uint8_t length1
Length of the message. Length is 3-Byte long, This is the MSB byte.
Definition: SSLCommon.h:36
Definition: SSLCommon.h:17
uint8_t recordType
Message (record) type (one of SSLRecordType)
Definition: SSLCommon.h:19
uint16_t recordVersion
Message (record) version (one of SSLVersion::SSLVersionEnum)
Definition: SSLCommon.h:21
uint16_t length
Message (record) length in bytes.
Definition: SSLCommon.h:23