Expand description
WARNING: This code has not been audited. Use at your own risk.
Structs§
- Turtls
Cipher List - The supported ciphersuites.
- Turtls
Config - Configure
TurtlsConn
connections. - Turtls
Conn - A TLS connection object.
- Turtls
Exts - The extensions to use in the handshake.
- Turtls
Io - The functions to use to perform IO.
Enums§
- Turtls
Alert - TLS error reporting.
- Turtls
Error - The result of a TLS operation.
Functions§
- turtls_
app_ ⚠proto - Returns a pointer to name of the negotiated application protocol.
- turtls_
close ⚠ - Alerts the peer and closes the connection.
- turtls_
connect ⚠ - Performs a TLS handshake with a server, returning the connection status.
- turtls_
free ⚠ - Frees a connection object.
- turtls_
get_ ⚠config - Returns a pointer to the configuration struct
tls_conn
. - turtls_
get_ ⚠error - Returns the last error to occur.
- turtls_
get_ ⚠tls_ error - Returns last TLS error to occur.
- turtls_
new - Creates a new connection object.
- turtls_
stringify_ alert - Returns a string representation of the alert.