Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
rsa.h
Go to the documentation of this file.
1
12#ifndef __RSA_H__
13#define __RSA_H__
14
15#include <wireshark.h>
16#include <gcrypt.h>
17
18#ifdef HAVE_LIBGNUTLS
19#include <stdio.h>
20#include <gnutls/abstract.h>
21WS_DLL_PUBLIC gcry_sexp_t rsa_privkey_to_sexp(gnutls_x509_privkey_t priv_key, char **err);
22
29WS_DLL_PUBLIC gnutls_x509_privkey_t rsa_load_pem_key(FILE* fp, char **err);
30
38WS_DLL_PUBLIC gnutls_x509_privkey_t rsa_load_pkcs12(FILE* fp, const char *cert_passwd, char** err);
39#endif
40
41WS_DLL_PUBLIC void rsa_private_key_free(void * key);
42
43
44#endif /* __RSA_H__ */