Changeset 3110 for pjproject/trunk/pjsip/include/pjsip/sip_transport_tls.h
- Timestamp:
- Feb 25, 2010 11:58:19 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_transport_tls.h
r3106 r3110 123 123 124 124 /** 125 * Specifies the action when verification of server TLS certificate126 * resulting errors:125 * Specifies TLS transport behavior on the server TLS certificate 126 * verification result: 127 127 * - If \a verify_server is disabled (set to PJ_FALSE), TLS transport 128 128 * will just notify the application via #pjsip_tp_state_callback with 129 * state (PJSIP_TP_STATE_CONNECTED | PJSIP_TP_STATE_TLS_VERIF_ERROR) 130 * whenever there is any TLS verification error, the return value of 131 * the callback will be used to decide whether transport should be 132 * shutdown. 129 * state PJSIP_TP_STATE_CONNECTED regardless TLS verification result. 133 130 * - If \a verify_server is enabled (set to PJ_TRUE), TLS transport 134 131 * will be shutdown and application will be notified with state 135 * (PJSIP_TP_STATE_DISCONNECTED | PJSIP_TP_STATE_TLS_VERIF_ERROR)136 * whenever there is any TLS verification error.137 * 138 * When the verification resulting success, application will be notified139 * via #pjsip_tp_state_callback with state PJSIP_TP_STATE_CONNECTED.132 * PJSIP_TP_STATE_DISCONNECTED whenever there is any TLS verification 133 * error, otherwise PJSIP_TP_STATE_CONNECTED will be notified. 134 * 135 * In any cases, application can inspect #pjsip_tls_state_info in the 136 * callback to see the verification detail. 140 137 * 141 138 * Default value is PJ_FALSE. … … 144 141 145 142 /** 146 * Specifies the action when verification of server TLS certificate147 * resulting errors:143 * Specifies TLS transport behavior on the client TLS certificate 144 * verification result: 148 145 * - If \a verify_client is disabled (set to PJ_FALSE), TLS transport 149 146 * will just notify the application via #pjsip_tp_state_callback with 150 * state (PJSIP_TP_STATE_ACCEPTED | PJSIP_TP_STATE_TLS_VERIF_ERROR) 151 * whenever there is any TLS verification error, the return value of 152 * the callback will be used to decide whether transport should be 153 * shutdown. 147 * state PJSIP_TP_STATE_CONNECTED regardless TLS verification result. 154 148 * - If \a verify_client is enabled (set to PJ_TRUE), TLS transport 155 149 * will be shutdown and application will be notified with state 156 * (PJSIP_TP_STATE_REJECTED | PJSIP_TP_STATE_TLS_VERIF_ERROR)157 * whenever there is any TLS verification error.158 * 159 * When the verification resulting success, application will be notified160 * via #pjsip_tp_state_callback with state PJSIP_TP_STATE_ACCEPTED.150 * PJSIP_TP_STATE_DISCONNECTED whenever there is any TLS verification 151 * error, otherwise PJSIP_TP_STATE_CONNECTED will be notified. 152 * 153 * In any cases, application can inspect #pjsip_tls_state_info in the 154 * callback to see the verification detail. 161 155 * 162 156 * Default value is PJ_FALSE. … … 166 160 /** 167 161 * When acting as server (incoming TLS connections), reject inocming 168 * connection if client doesn't have a validcertificate.162 * connection if client doesn't supply a TLS certificate. 169 163 * 170 164 * This setting corresponds to SSL_VERIFY_FAIL_IF_NO_PEER_CERT flag. … … 210 204 211 205 /** 212 * This structure defines transport state extended info specifically for 213 * TLS transport. 206 * This structure defines TLS transport extended info in <tt>ext_info</tt> 207 * field of #pjsip_transport_state_info for the transport state notification 208 * callback #pjsip_tp_state_callback. 214 209 */ 215 210 typedef struct pjsip_tls_state_info
Note: See TracChangeset
for help on using the changeset viewer.