Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Functions
ssl_key_export.h File Reference
#include "cfile.h"

Go to the source code of this file.

Functions

int ssl_session_key_count (void)
 
char * ssl_export_sessions (size_t *length)
 
void tls_export_dsb (capture_file *cf)
 

Detailed Description

SSL session key utilities. Copied from ui/gkt/export_sslkeys.c by Sake Blok sake@.nosp@m.euro.nosp@m.net.n.nosp@m.l (20110526)

Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs

SPDX-License-Identifier: GPL-2.0-or-later

Function Documentation

◆ ssl_export_sessions()

char * ssl_export_sessions ( size_t *  length)
extern

Dump our SSL Session Keys to a string

Parameters
[out]lengthLength of returned string.
Returns
A string containing all the SSL Session Keys. Must be freed with g_free().

◆ ssl_session_key_count()

int ssl_session_key_count ( void  )
extern

Return the number of available SSL session keys.

Returns
The number of available SSL session keys.

◆ tls_export_dsb()

void tls_export_dsb ( capture_file cf)
extern

Add a DSB with the used TLS secrets to a capture file.

Parameters
cfThe capture file