#include <ssl_connection.h>
Public Member Functions | |
| CL_SSLConnection (CL_TCPConnection *connection, CL_PK11PasswordHandler *handler) | |
| Construction:. | |
| ~CL_SSLConnection () | |
Private Member Functions | |
| PRFileDesc * | create_prfd () |
| Implementation:. | |
Static Private Member Functions | |
| static SECStatus | auth_certificate (void *arg, PRFileDesc *ssl_fd, PRBool check_sig, PRBool is_server) |
| static SECStatus | bad_certificate (void *arg, PRFileDesc *ssl_fd) |
| static SECStatus | get_client_auth_data (void *arg, PRFileDesc *fd, CERTDistNames *ca_names, CERTCertificate **ret_cert, SECKEYPrivateKey **ret_key) |
| static void | handshake_completed (PRFileDesc *ssl_fd, void *arg) |
| static void | prfd_dtor (PRFileDesc *fd) |
| static PRStatus | prfd_close (PRFileDesc *fd) |
| static PRInt32 | prfd_read (PRFileDesc *fd, void *buf, PRInt32 amount) |
| static PRInt32 | prfd_write (PRFileDesc *fd, const void *buf, PRInt32 amount) |
| static PRInt32 | prfd_available (PRFileDesc *fd) |
| static PRInt64 | prfd_available64 (PRFileDesc *fd) |
| static PRStatus | prfd_fsync (PRFileDesc *fd) |
| static PRInt32 | prfd_seek (PRFileDesc *fd, PRInt32 offset, PRSeekWhence whence) |
| static PRInt64 | prfd_seek64 (PRFileDesc *fd, PRInt64 offset, PRSeekWhence whence) |
| static PRStatus | prfd_file_info (PRFileDesc *fd, PRFileInfo *info) |
| static PRStatus | prfd_file_info64 (PRFileDesc *fd, PRFileInfo64 *info64) |
| static PRInt32 | prfd_writev (PRFileDesc *fd, const PRIOVec *iov, PRInt32 size, PRIntervalTime timeout) |
| static PRStatus | prfd_connect (PRFileDesc *fd, const PRNetAddr *addr, PRIntervalTime timeout) |
| static PRFileDesc * | prfd_accept (PRFileDesc *fd, PRNetAddr *addr, PRIntervalTime timeout) |
| static PRStatus | prfd_bind (PRFileDesc *fd, const PRNetAddr *addr) |
| static PRStatus | prfd_listen (PRFileDesc *fd, PRIntn backlog) |
| static PRStatus | prfd_shutdown (PRFileDesc *fd, PRIntn how) |
| static PRInt32 | prfd_recv (PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout) |
| static PRInt32 | prfd_send (PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, PRIntervalTime timeout) |
| static PRInt32 | prfd_recvfrom (PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRIntervalTime timeout) |
| static PRInt32 | prfd_sendto (PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRIntervalTime timeout) |
| static PRInt16 | prfd_poll (PRFileDesc *fd, PRInt16 in_flags, PRInt16 *out_flags) |
| static PRInt32 | prfd_acceptread (PRFileDesc *listen_sock, PRFileDesc **accepted_sock, PRNetAddr **peer_addr, void *buf, PRInt32 amount, PRIntervalTime timeout) |
| static PRInt32 | prfd_transmitfile (PRFileDesc *network_socket, PRFileDesc *source_file, const void *headers, PRInt32 hlen, PRTransmitFileFlags flags, PRIntervalTime timeout) |
| static PRStatus | prfd_getsockname (PRFileDesc *fd, PRNetAddr *addr) |
| static PRStatus | prfd_getpeername (PRFileDesc *fd, PRNetAddr *addr) |
| static PRStatus | prfd_getsockopt (PRFileDesc *fd, PRSocketOptionData *data) |
| static PRStatus | prfd_setsockopt (PRFileDesc *fd, const PRSocketOptionData *data) |
| static PRInt32 | prfd_sendfile (PRFileDesc *network_socket, PRSendFileData *send_data, PRTransmitFileFlags flags, PRIntervalTime timeout) |
| static PRStatus | prfd_connectcontinue (PRFileDesc *fd, PRInt16 out_flags) |
| static PRIntn | prfd_reserved (PRFileDesc *fd) |
Private Attributes | |
| PRFileDesc * | ssl_fd |
| CL_TCPConnection * | connection |
| CL_PK11PasswordHandler * | password_handler |
Static Private Attributes | |
| static PRIOMethods | methods |
|
||||||||||||
|
Construction:.
Definition at line 39 of file ssl_connection.cpp. References auth_certificate(), bad_certificate(), create_prfd(), get_client_auth_data(), handshake_completed(), password_handler, ssl_fd, and TEXT. |
|
|
Definition at line 98 of file ssl_connection.cpp. References ssl_fd. |
|
||||||||||||||||||||
|
Definition at line 171 of file ssl_connection.cpp. References ssl_fd. Referenced by CL_SSLConnection(). |
|
||||||||||||
|
Definition at line 177 of file ssl_connection.cpp. Referenced by CL_SSLConnection(). |
|
|
Implementation:.
Definition at line 152 of file ssl_connection.cpp. Referenced by CL_SSLConnection(). |
|
||||||||||||||||||||||||
|
Definition at line 183 of file ssl_connection.cpp. References ssl_fd. Referenced by CL_SSLConnection(). |
|
||||||||||||
|
Definition at line 194 of file ssl_connection.cpp. Referenced by CL_SSLConnection(). |
|
||||||||||||||||
|
Definition at line 275 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||||||||||||||||||
|
Definition at line 351 of file ssl_connection.cpp. References cl_log_event(). |
|
|
Definition at line 221 of file ssl_connection.cpp. References cl_log_event(). |
|
|
Definition at line 227 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||
|
Definition at line 281 of file ssl_connection.cpp. References cl_log_event(). |
|
|
Definition at line 203 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||||||
|
Definition at line 269 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||
|
Definition at line 409 of file ssl_connection.cpp. References cl_log_event(). |
|
|
Definition at line 199 of file ssl_connection.cpp. |
|
||||||||||||
|
Definition at line 251 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||
|
Definition at line 257 of file ssl_connection.cpp. References cl_log_event(). |
|
|
Definition at line 233 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||
|
Definition at line 381 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||
|
Definition at line 375 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||
|
Definition at line 387 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||
|
Definition at line 287 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||||||
|
Definition at line 345 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||||||
|
Definition at line 209 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||||||||||||||
|
Definition at line 299 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||||||||||||||||||
|
Definition at line 321 of file ssl_connection.cpp. References cl_log_event(). |
|
|
Definition at line 415 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||||||
|
Definition at line 239 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||||||
|
Definition at line 245 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||||||||||||||
|
Definition at line 310 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||||||||||
|
Definition at line 399 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||||||||||||||||||
|
Definition at line 333 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||
|
Definition at line 393 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||
|
Definition at line 293 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||||||||||||||||||
|
Definition at line 363 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||||||
|
Definition at line 215 of file ssl_connection.cpp. References cl_log_event(). |
|
||||||||||||||||||||
|
Definition at line 263 of file ssl_connection.cpp. References cl_log_event(). |
|
|
Definition at line 60 of file ssl_connection.h. |
|
|
Definition at line 112 of file ssl_connection.cpp. Referenced by create_prfd(). |
|
|
Definition at line 62 of file ssl_connection.h. Referenced by CL_SSLConnection(). |
|
|
Definition at line 58 of file ssl_connection.h. Referenced by auth_certificate(), CL_SSLConnection(), get_client_auth_data(), and ~CL_SSLConnection(). |
1.4.1