| Wireshark 4.7.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>
21
33WS_DLL_PUBLIC gcry_sexp_t rsa_privkey_to_sexp(gnutls_x509_privkey_t priv_key, char **err);
34
42WS_DLL_PUBLIC gnutls_x509_privkey_t rsa_load_pem_key(FILE* fp, char **err);
43
52WS_DLL_PUBLIC gnutls_x509_privkey_t rsa_load_pkcs12(FILE* fp, const char *cert_passwd, char** err);
53#endif
54
62WS_DLL_PUBLIC void rsa_private_key_free(void * key);
63
64
65#endif /* __RSA_H__ */
rsa_private_key_free
WS_DLL_PUBLIC void rsa_private_key_free(void *key)
Frees an RSA private key object.