def clear_options(self): """Directly calls OpenSSL's SSL_CTX_clear_options().""" libssl.SSL_CTX_ctrl(self._ssl_ctx_struct_p, SSL_CTRL_OPTIONS, 0, None)
def set_session_cache_mode(self, mode): """Directly calls OpenSSL's SSL_CTX_set_session_cache_mode().""" libssl.SSL_CTX_ctrl(self._ssl_ctx_struct_p, SSL_CTRL_SET_SESS_CACHE_MODE, mode, None)
def set_options(self, option): """Directly calls OpenSSL's SSL_CTX_set_options().""" libssl.SSL_CTX_ctrl(self._ssl_ctx_struct_p, SSL_CTRL_OPTIONS, option, None)