/external/python/cpython3/Lib/test/ |
D | test_ssl.py | 224 context.verify_mode = cert_reqs 1086 self.assertEqual(ctx.verify_mode, ssl.CERT_NONE) 1087 ctx.verify_mode = ssl.CERT_OPTIONAL 1088 self.assertEqual(ctx.verify_mode, ssl.CERT_OPTIONAL) 1089 ctx.verify_mode = ssl.CERT_REQUIRED 1090 self.assertEqual(ctx.verify_mode, ssl.CERT_REQUIRED) 1091 ctx.verify_mode = ssl.CERT_NONE 1092 self.assertEqual(ctx.verify_mode, ssl.CERT_NONE) 1094 ctx.verify_mode = None 1096 ctx.verify_mode = 42 [all …]
|
D | test_smtpnet.py | 30 context.verify_mode = ssl.CERT_NONE 65 context.verify_mode = ssl.CERT_NONE
|
D | test_poplib.py | 373 self.assertEqual(ctx.verify_mode, ssl.CERT_REQUIRED) 413 ctx.verify_mode = ssl.CERT_NONE
|
D | test_imaplib.py | 507 self.assertEqual(ssl_context.verify_mode, ssl.CERT_REQUIRED) 980 ssl_context.verify_mode = ssl.CERT_NONE
|
D | test_ftplib.py | 918 ctx.verify_mode = ssl.CERT_NONE 949 self.assertEqual(ctx.verify_mode, ssl.CERT_REQUIRED)
|
/external/python/cpython3/Lib/ |
D | ssl.py | 539 def verify_mode(self): member in SSLContext 540 value = super().verify_mode 546 @verify_mode.setter 547 def verify_mode(self, value): member in SSLContext 548 super(SSLContext, SSLContext).verify_mode.__set__(self, value) 569 context.verify_mode = CERT_REQUIRED 574 elif context.verify_mode != CERT_NONE: 603 context.verify_mode = cert_reqs 615 elif context.verify_mode != CERT_NONE: 1212 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
|
D | test_ftplib.py | 748 ctx.verify_mode = ssl.CERT_REQUIRED
|
/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/boringssl/src/ssl/ |
D | handshake.cc | 201 if ((!ssl->server || (config->verify_mode & SSL_VERIFY_PEER)) && in ssl_max_handshake_message_len() 337 if (hs->config->verify_mode == SSL_VERIFY_NONE) { in ssl_verify_peer_cert() 387 assert(hs->config->verify_mode != SSL_VERIFY_NONE); in ssl_reverify_peer_cert()
|
D | ssl_x509.cc | 413 if (verify_ret <= 0 && hs->config->verify_mode != SSL_VERIFY_NONE) { in ssl_crypto_x509_session_verify_cert_chain() 639 return ctx->verify_mode; in SSL_CTX_get_verify_mode() 659 ssl->config->verify_mode = mode; in SSL_set_verify() 685 ctx->verify_mode = mode; in SSL_CTX_set_verify()
|
D | tls13_server.cc | 633 hs->cert_request = !!(hs->config->verify_mode & SSL_VERIFY_PEER); in do_send_server_hello() 635 if ((hs->config->verify_mode & SSL_VERIFY_PEER_IF_NO_OBC) && in do_send_server_hello() 840 (hs->config->verify_mode & SSL_VERIFY_FAIL_IF_NO_PEER_CERT) == 0; in do_read_client_certificate()
|
D | ssl_lib.cc | 686 ssl->config->verify_mode = ctx->verify_mode; in SSL_new() 823 if (!!(ssl->config->verify_mode & SSL_VERIFY_PEER) && in SSL_quic_max_handshake_flight_len() 1652 return ssl->config->verify_mode; in SSL_get_verify_mode() 1997 ctx->verify_mode = mode; in SSL_CTX_set_custom_verify() 2007 ssl->config->verify_mode = mode; in SSL_set_custom_verify()
|
D | handshake_server.cc | 738 hs->cert_request = !!(hs->config->verify_mode & SSL_VERIFY_PEER); in do_select_parameters() 740 if ((hs->config->verify_mode & SSL_VERIFY_PEER_IF_NO_OBC) && in do_select_parameters() 1111 if (hs->config->verify_mode & SSL_VERIFY_FAIL_IF_NO_PEER_CERT) { in do_read_client_certificate()
|
D | internal.h | 2533 uint8_t verify_mode = SSL_VERIFY_NONE; 2997 int verify_mode = SSL_VERIFY_NONE;
|
/external/python/httplib2/python2/httplib2/test/ |
D | test_ssl_context.py | 62 self.assertEqual(conn.sock.context.verify_mode, ssl.CERT_REQUIRED)
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | utils.py | 76 server_context.verify_mode = ssl.CERT_NONE 84 client_context.verify_mode = ssl.CERT_NONE
|
D | test_events.py | 1104 sslcontext_client.verify_mode = ssl.CERT_REQUIRED 1134 sslcontext_client.verify_mode = ssl.CERT_REQUIRED 1163 sslcontext_client.verify_mode = ssl.CERT_REQUIRED 1194 sslcontext_client.verify_mode = ssl.CERT_REQUIRED 1219 sslcontext_client.verify_mode = ssl.CERT_REQUIRED
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0rc1.rst | 192 ssl.SSLContext.verify_mode.
|
D | 3.6.6rc1.rst | 615 ssl.SSLContext.verify_mode.
|
/external/python/cpython3/Doc/library/ |
D | ssl.rst | 137 as *purpose* sets :data:`~SSLContext.verify_mode` to :data:`CERT_REQUIRED` 543 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs`` 556 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs`` 573 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs`` 1520 other peers' certificates when :data:`verify_mode` is other than 1871 :attr:`~SSLContext.verify_mode` must be set to :data:`CERT_OPTIONAL` or 1874 hostname checking automatically sets :attr:`~SSLContext.verify_mode` from 1883 context.verify_mode = ssl.CERT_REQUIRED 1895 :attr:`~SSLContext.verify_mode` is now automatically changed 1897 :attr:`~SSLContext.verify_mode` is :data:`CERT_NONE`. Previously [all …]
|
/external/python/cpython2/Doc/library/ |
D | ssl.rst | 259 as *purpose* sets :data:`~SSLContext.verify_mode` to :data:`CERT_REQUIRED` 521 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs`` 531 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs`` 543 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs`` 1125 other peers' certificates when :data:`verify_mode` is other than 1328 :attr:`~SSLContext.verify_mode` must be set to :data:`CERT_OPTIONAL` or 1337 context.verify_mode = ssl.CERT_REQUIRED 1372 .. attribute:: SSLContext.verify_mode 1543 >>> context.verify_mode = ssl.CERT_REQUIRED
|
/external/python/cpython3/Lib/http/ |
D | client.py | 1369 will_verify = context.verify_mode != ssl.CERT_NONE
|
/external/python/httplib2/python3/httplib2/ |
D | __init__.py | 184 context.verify_mode = (
|