- TLS_client_method
SSL_METHOD* TLS_client_method()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- TLS_method
SSL_METHOD* TLS_method()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- TLS_server_method
SSL_METHOD* TLS_server_method()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- closeConnection
void closeConnection(Session session)
Disconnect from mail server.
- closeSecureConnection
int closeSecureConnection(Session session)
Shutdown SSL/TLS connection.
- getContext
SSL_CTX* getContext(string caFile, string caPath, string certificateFile, string keyFile, bool asServer)
- isSSLError
bool isSSLError(int socketStatus)
- isSSLReadError
bool isSSLReadError(Session session, int status)
- isTryAgain
bool isTryAgain(Session session, int status)
- openConnection
Session openConnection(Session session)
- openSecureConnection
Session openSecureConnection(Session session)
Initialize SSL/TLS connection.
- result
auto result(Status status, T value)
- socketRead
Result!string socketRead(Session session, Duration timeout, bool timeoutFail)
- socketSecureRead
Result!string socketSecureRead(Session session)
Read data from a TLS/SSL connection.
- socketSecureWrite
auto socketSecureWrite(Session session, string buf)
Write data to a TLS/SSL connection.
- socketWrite
ssize_t socketWrite(Session session, string buf)
- sslConnectionError
string sslConnectionError(Session session, int socketStatus)
- sslReadErrorMessage
string sslReadErrorMessage(Session session, int status)