| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
secrets-types.h
Go to the documentation of this file.
1
11
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#define SECRETS_TYPE_ESP 0x45535053 /* ESP SA Key */
33
40WS_DLL_PUBLIC
41 const char* secrets_type_description(uint32_t type);
42
43#ifdef __cplusplus
44}
45#endif /* __cplusplus */
46
47#endif /* __SECRETS_TYPES_H__ */
secrets_type_description
WS_DLL_PUBLIC const char * secrets_type_description(uint32_t type)
Returns a description for a given secrets type.
Definition secrets-types.c:13