![]() |
![]()
| ![]() |
![]()
NAME
SYNOPSIS
struct tls *
struct tls *
int
void
void
DESCRIPTIONA TLS connection is represented as a struct
tls object called a “context”. A new context is created
by either the
The context can then be configured with the
function
After configuration,
tls_connect(3)
can be called on objects created with
After use, a TLS context should be closed with
tls_close(3),
and then freed by calling
A TLS context can be reset by calling
RETURN VALUES
SEE ALSOtls_accept_socket(3), tls_config_new(3), tls_connect(3), tls_init(3) HISTORYThese functions appeared in OpenBSD 5.6 and got their final names in OpenBSD 5.7. AUTHORSJoel Sing <jsing@openbsd.org>
|