syslog-ng source
tls-verifier.h File Reference
#include "syslog-ng.h"
#include "atomic.h"
#include <openssl/ssl.h>
Include dependency graph for tls-verifier.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TLSVerifier
 

Typedefs

typedef gint(* TLSSessionVerifyFunc) (gint ok, X509_STORE_CTX *ctx, gpointer user_data)
 

Functions

TLSVerifiertls_verifier_new (TLSSessionVerifyFunc verify_func, gpointer verify_data, GDestroyNotify verify_data_destroy)
 
TLSVerifiertls_verifier_ref (TLSVerifier *self)
 
void tls_verifier_unref (TLSVerifier *self)
 
gboolean tls_verify_certificate_name (X509 *cert, const gchar *hostname)
 
gboolean tls_wildcard_match (const gchar *host_name, const gchar *pattern)
 

Typedef Documentation

◆ TLSSessionVerifyFunc

typedef gint(* TLSSessionVerifyFunc) (gint ok, X509_STORE_CTX *ctx, gpointer user_data)

Function Documentation

◆ tls_verifier_new()

TLSVerifier* tls_verifier_new ( TLSSessionVerifyFunc  verify_func,
gpointer  verify_data,
GDestroyNotify  verify_data_destroy 
)

◆ tls_verifier_ref()

TLSVerifier* tls_verifier_ref ( TLSVerifier self)

◆ tls_verifier_unref()

void tls_verifier_unref ( TLSVerifier self)

◆ tls_verify_certificate_name()

gboolean tls_verify_certificate_name ( X509 *  cert,
const gchar *  hostname 
)

◆ tls_wildcard_match()

gboolean tls_wildcard_match ( const gchar *  host_name,
const gchar *  pattern 
)