22 const char*
tls_sni(
const char*);
23 int tls_open(
int,
void**,
int,
const char*);
28 posix_ssize_t
tls_send(
void*,
const void*,
size_t);
29 posix_ssize_t
tls_recv(
void*,
void*,
size_t,
int);
int tls_vulnerability_check(int)
Check TLS subsystem for known vulnerabilities.
void tls_exit(void)
Shutdown TLS subsystem.
void tls_free(void *)
Free an object allocated by TLS module.
posix_ssize_t tls_send(void *, const void *, size_t)
Send data.
int tls_close(void **)
Terminate TLS encryption layer on top of network connection.
int tls_crl_update_check(void)
Check whether CRL update interval has elapsed.
posix_ssize_t tls_recv(void *, void *, size_t, int)
Receive data.
int tls_cert_get_string(void *, const char **)
Print certificate.
int tls_get_ciphersuite(void **, const char **, const char **, const char **)
Get protocol and cipher suite name that was negotiated for connection.
int tls_open(int, void **, int, const char *)
Establish TLS encryption layer on top of open network connection.
int tls_init(void)
Init TLS subsystem.
int tls_cert_verify(void **, void **, const char *, int)
Check whether server has presented a certificate and verify it.
const char * tls_sni(const char *)
Check whether server name used for connection is not an IP address.
void tls_crl_update_control(int)
Enable or disable automatic CRL updates.
Generated at 2024-04-27 using