Wireshark  4.3.0
The Wireshark network protocol analyzer
secrets-types.h
Go to the documentation of this file.
1 
12 #ifndef __SECRETS_TYPES_H__
13 #define __SECRETS_TYPES_H__
14 
15 #include "ws_symbol_export.h"
16 
17 #include <stdint.h>
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif /* __cplusplus */
22 
23 /*
24  * Type describing the format of the opaque secrets value in a pcapng DSB.
25  */
26 #define SECRETS_TYPE_TLS 0x544c534b /* TLS Key Log */
27 #define SECRETS_TYPE_SSH 0x5353484b /* SSH Key Log */
28 #define SECRETS_TYPE_WIREGUARD 0x57474b4c /* WireGuard Key Log */
29 #define SECRETS_TYPE_ZIGBEE_NWK_KEY 0x5a4e574b /* Zigbee NWK Key */
30 #define SECRETS_TYPE_ZIGBEE_APS_KEY 0x5a415053 /* Zigbee APS Key */
31 #define SECRETS_TYPE_OPCUA 0x55414b4c /* OPC UA Key Log */
32 
33 WS_DLL_PUBLIC
34 const char* secrets_type_description(uint32_t type);
35 
36 #ifdef __cplusplus
37 }
38 #endif /* __cplusplus */
39 
40 #endif /* __SECRETS_TYPES_H__ */