- TLS_client_methodSSL_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_methodSSL_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_methodSSL_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. 
- closeConnectionvoid closeConnection(Session session) 
- Disconnect from mail server. 
- closeSecureConnectionint closeSecureConnection(Session session) 
- Shutdown SSL/TLS connection. 
- getContextSSL_CTX* getContext(string caFile, string caPath, string certificateFile, string keyFile, bool asServer) 
- isSSLErrorbool isSSLError(int socketStatus) 
- isSSLReadErrorbool isSSLReadError(Session session, int status) 
- isTryAgainbool isTryAgain(Session session, int status) 
- openConnectionSession openConnection(Session session) 
- openSecureConnectionSession openSecureConnection(Session session) 
- Initialize SSL/TLS connection. 
- resultauto  result(Status status, T value) 
- socketReadResult!string socketRead(Session session, Duration timeout, bool timeoutFail) 
- socketSecureReadResult!string socketSecureRead(Session session) 
- Read data from a TLS/SSL connection. 
- socketSecureWriteauto  socketSecureWrite(Session session, string buf) 
- Write data to a TLS/SSL connection. 
- socketWritessize_t socketWrite(Session session, string buf) 
- sslConnectionErrorstring sslConnectionError(Session session, int socketStatus) 
- sslReadErrorMessagestring sslReadErrorMessage(Session session, int status)