/external/python/cpython3/Lib/test/ |
D | test_ssl.py | 295 context.verify_mode = cert_reqs 1158 self.assertEqual(ctx.verify_mode, ssl.CERT_NONE) 1159 ctx.verify_mode = ssl.CERT_OPTIONAL 1160 self.assertEqual(ctx.verify_mode, ssl.CERT_OPTIONAL) 1161 ctx.verify_mode = ssl.CERT_REQUIRED 1162 self.assertEqual(ctx.verify_mode, ssl.CERT_REQUIRED) 1163 ctx.verify_mode = ssl.CERT_NONE 1164 self.assertEqual(ctx.verify_mode, ssl.CERT_NONE) 1166 ctx.verify_mode = None 1168 ctx.verify_mode = 42 [all …]
|
D | test_smtpnet.py | 31 context.verify_mode = ssl.CERT_NONE 66 context.verify_mode = ssl.CERT_NONE
|
D | test_poplib.py | 378 self.assertEqual(ctx.verify_mode, ssl.CERT_REQUIRED) 419 ctx.verify_mode = ssl.CERT_NONE
|
/external/libwebsockets/lib/tls/mbedtls/wrapper/platform/ |
D | ssl_pm.c | 233 if (ssl->verify_mode == SSL_VERIFY_PEER) in ssl_pm_reload_crt() 235 else if (ssl->verify_mode == SSL_VERIFY_FAIL_IF_NO_PEER_CERT) in ssl_pm_reload_crt() 237 else if (ssl->verify_mode == SSL_VERIFY_CLIENT_ONCE) in ssl_pm_reload_crt() 932 if (ctx->verify_mode == SSL_VERIFY_PEER) in SSL_set_SSL_CTX() 934 else if (ctx->verify_mode == SSL_VERIFY_FAIL_IF_NO_PEER_CERT) in SSL_set_SSL_CTX() 936 else if (ctx->verify_mode == SSL_VERIFY_CLIENT_ONCE) in SSL_set_SSL_CTX() 944 ssl->verify_mode = ctx->verify_mode; in SSL_set_SSL_CTX()
|
/external/python/cpython3/Lib/ |
D | ssl.py | 711 def verify_mode(self): member in SSLContext 712 value = super().verify_mode 718 @verify_mode.setter 719 def verify_mode(self, value): member in SSLContext 720 super(SSLContext, SSLContext).verify_mode.__set__(self, value) 741 context.verify_mode = CERT_REQUIRED 746 elif context.verify_mode != CERT_NONE: 780 context.verify_mode = cert_reqs 792 elif context.verify_mode != CERT_NONE: 1398 context.verify_mode = cert_reqs
|
/external/python/cpython2/Lib/test/ |
D | test_ssl.py | 796 self.assertEqual(ctx.verify_mode, ssl.CERT_NONE) 797 ctx.verify_mode = ssl.CERT_OPTIONAL 798 self.assertEqual(ctx.verify_mode, ssl.CERT_OPTIONAL) 799 ctx.verify_mode = ssl.CERT_REQUIRED 800 self.assertEqual(ctx.verify_mode, ssl.CERT_REQUIRED) 801 ctx.verify_mode = ssl.CERT_NONE 802 self.assertEqual(ctx.verify_mode, ssl.CERT_NONE) 804 ctx.verify_mode = None 806 ctx.verify_mode = 42 1161 self.assertEqual(ctx.verify_mode, ssl.CERT_REQUIRED) [all …]
|
D | test_httplib.py | 864 context.verify_mode = ssl.CERT_REQUIRED 878 context.verify_mode = ssl.CERT_REQUIRED 899 context.verify_mode = ssl.CERT_REQUIRED 911 context.verify_mode = ssl.CERT_REQUIRED
|
/external/libwebsockets/lib/tls/mbedtls/wrapper/include/internal/ |
D | ssl_types.h | 184 int verify_mode; member 224 int verify_mode; member
|
/external/libwebsockets/lib/tls/mbedtls/wrapper/library/ |
D | ssl_lib.c | 315 ssl->verify_mode = ctx->verify_mode; in SSL_new() 903 return ctx->verify_mode; in SSL_CTX_get_verify_mode() 1062 ctx->verify_mode = mode; in SSL_CTX_set_verify() 1073 ssl->verify_mode = mode; in SSL_set_verify()
|
/external/python/cpython2/Lib/ |
D | ssl.py | 441 context.verify_mode = CERT_REQUIRED 457 elif context.verify_mode != CERT_NONE: 486 context.verify_mode = cert_reqs 497 elif context.verify_mode != CERT_NONE: 556 self._context.verify_mode = cert_reqs
|
/external/python/httplib2/tests/ |
D | test_https.py | 146 context.verify_mode = ssl.CERT_REQUIRED 169 context.verify_mode = ssl.CERT_REQUIRED
|
/external/python/httplib2/python2/httplib2/test/ |
D | test_ssl_context.py | 62 self.assertEqual(conn.sock.context.verify_mode, ssl.CERT_REQUIRED)
|
/external/boringssl/src/ssl/ |
D | handshake.cc | 208 if ((!ssl->server || (config->verify_mode & SSL_VERIFY_PEER)) && in ssl_max_handshake_message_len() 344 if (hs->config->verify_mode == SSL_VERIFY_NONE) { in ssl_verify_peer_cert() 395 assert(hs->config->verify_mode != SSL_VERIFY_NONE); in ssl_reverify_peer_cert()
|
D | ssl_x509.cc | 409 if (verify_ret <= 0 && hs->config->verify_mode != SSL_VERIFY_NONE) { in ssl_crypto_x509_session_verify_cert_chain() 635 return ctx->verify_mode; in SSL_CTX_get_verify_mode() 655 ssl->config->verify_mode = mode; in SSL_set_verify() 681 ctx->verify_mode = mode; in SSL_CTX_set_verify()
|
D | tls13_server.cc | 719 hs->cert_request = !!(hs->config->verify_mode & SSL_VERIFY_PEER); in do_send_server_hello() 721 if ((hs->config->verify_mode & SSL_VERIFY_PEER_IF_NO_OBC) && in do_send_server_hello() 1002 (hs->config->verify_mode & SSL_VERIFY_FAIL_IF_NO_PEER_CERT) == 0; in do_read_client_certificate()
|
D | ssl_lib.cc | 683 ssl->config->verify_mode = ctx->verify_mode; in SSL_new() 820 if (!!(ssl->config->verify_mode & SSL_VERIFY_PEER) && in SSL_quic_max_handshake_flight_len() 1721 return ssl->config->verify_mode; in SSL_get_verify_mode() 2097 ctx->verify_mode = mode; in SSL_CTX_set_custom_verify() 2107 ssl->config->verify_mode = mode; in SSL_set_custom_verify()
|
D | handshake_server.cc | 806 hs->cert_request = !!(hs->config->verify_mode & SSL_VERIFY_PEER); in do_select_parameters() 808 if ((hs->config->verify_mode & SSL_VERIFY_PEER_IF_NO_OBC) && in do_select_parameters() 1176 if (hs->config->verify_mode & SSL_VERIFY_FAIL_IF_NO_PEER_CERT) { in do_read_client_certificate()
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/ |
D | handshake.cc | 206 if ((!ssl->server || (config->verify_mode & SSL_VERIFY_PEER)) && in ssl_max_handshake_message_len() 342 if (hs->config->verify_mode == SSL_VERIFY_NONE) { in ssl_verify_peer_cert() 393 assert(hs->config->verify_mode != SSL_VERIFY_NONE); in ssl_reverify_peer_cert()
|
D | ssl_x509.cc | 409 if (verify_ret <= 0 && hs->config->verify_mode != SSL_VERIFY_NONE) { in ssl_crypto_x509_session_verify_cert_chain() 635 return ctx->verify_mode; in SSL_CTX_get_verify_mode() 655 ssl->config->verify_mode = mode; in SSL_set_verify() 681 ctx->verify_mode = mode; in SSL_CTX_set_verify()
|
D | tls13_server.cc | 644 hs->cert_request = !!(hs->config->verify_mode & SSL_VERIFY_PEER); in do_send_server_hello() 646 if ((hs->config->verify_mode & SSL_VERIFY_PEER_IF_NO_OBC) && in do_send_server_hello() 865 (hs->config->verify_mode & SSL_VERIFY_FAIL_IF_NO_PEER_CERT) == 0; in do_read_client_certificate()
|
D | ssl_lib.cc | 684 ssl->config->verify_mode = ctx->verify_mode; in SSL_new() 821 if (!!(ssl->config->verify_mode & SSL_VERIFY_PEER) && in SSL_quic_max_handshake_flight_len() 1678 return ssl->config->verify_mode; in SSL_get_verify_mode() 2054 ctx->verify_mode = mode; in SSL_CTX_set_custom_verify() 2064 ssl->config->verify_mode = mode; in SSL_set_custom_verify()
|
D | handshake_server.cc | 800 hs->cert_request = !!(hs->config->verify_mode & SSL_VERIFY_PEER); in do_select_parameters() 802 if ((hs->config->verify_mode & SSL_VERIFY_PEER_IF_NO_OBC) && in do_select_parameters() 1170 if (hs->config->verify_mode & SSL_VERIFY_FAIL_IF_NO_PEER_CERT) { in do_read_client_certificate()
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | utils.py | 77 server_context.verify_mode = ssl.CERT_NONE 85 client_context.verify_mode = ssl.CERT_NONE
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0rc1.rst | 192 ssl.SSLContext.verify_mode.
|
/external/python/cpython3/Doc/library/ |
D | ssl.rst | 137 as *purpose* sets :data:`~SSLContext.verify_mode` to :data:`CERT_REQUIRED` 551 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs`` 564 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs`` 581 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs`` 1532 other peers' certificates when :data:`verify_mode` is other than 1883 :attr:`~SSLContext.verify_mode` must be set to :data:`CERT_OPTIONAL` or 1886 hostname checking automatically sets :attr:`~SSLContext.verify_mode` from 1897 context.verify_mode = ssl.CERT_REQUIRED 1909 :attr:`~SSLContext.verify_mode` is now automatically changed 1911 :attr:`~SSLContext.verify_mode` is :data:`CERT_NONE`. Previously [all …]
|