Home
last modified time | relevance | path

Searched refs:verify_mode (Results 1 – 25 of 43) sorted by relevance

12

/third_party/libwebsockets/lib/tls/mbedtls/wrapper/platform/
Dssl_pm.c253 if (ssl->verify_mode == SSL_VERIFY_PEER) in ssl_pm_reload_crt()
255 else if (ssl->verify_mode == SSL_VERIFY_FAIL_IF_NO_PEER_CERT) in ssl_pm_reload_crt()
257 else if (ssl->verify_mode == SSL_VERIFY_CLIENT_ONCE) in ssl_pm_reload_crt()
967 if (ctx->verify_mode == SSL_VERIFY_PEER) in SSL_set_SSL_CTX()
969 else if (ctx->verify_mode == SSL_VERIFY_FAIL_IF_NO_PEER_CERT) in SSL_set_SSL_CTX()
971 else if (ctx->verify_mode == SSL_VERIFY_CLIENT_ONCE) in SSL_set_SSL_CTX()
979 ssl->verify_mode = ctx->verify_mode; in SSL_set_SSL_CTX()
/third_party/python/Lib/test/
Dtest_ssl.py294 context.verify_mode = cert_reqs
1202 self.assertEqual(ctx.verify_mode, ssl.CERT_NONE)
1203 ctx.verify_mode = ssl.CERT_OPTIONAL
1204 self.assertEqual(ctx.verify_mode, ssl.CERT_OPTIONAL)
1205 ctx.verify_mode = ssl.CERT_REQUIRED
1206 self.assertEqual(ctx.verify_mode, ssl.CERT_REQUIRED)
1207 ctx.verify_mode = ssl.CERT_NONE
1208 self.assertEqual(ctx.verify_mode, ssl.CERT_NONE)
1210 ctx.verify_mode = None
1212 ctx.verify_mode = 42
[all …]
Dtest_smtpnet.py32 context.verify_mode = ssl.CERT_NONE
67 context.verify_mode = ssl.CERT_NONE
Dtest_poplib.py384 self.assertEqual(ctx.verify_mode, ssl.CERT_REQUIRED)
425 ctx.verify_mode = ssl.CERT_NONE
/third_party/python/Lib/
Dssl.py728 def verify_mode(self): member in SSLContext
729 value = super().verify_mode
735 @verify_mode.setter
736 def verify_mode(self, value): member in SSLContext
737 super(SSLContext, SSLContext).verify_mode.__set__(self, value)
757 context.verify_mode = CERT_REQUIRED
766 elif context.verify_mode != CERT_NONE:
808 context.verify_mode = cert_reqs
820 elif context.verify_mode != CERT_NONE:
1434 context.verify_mode = cert_reqs
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/include/internal/
Dssl_types.h188 int verify_mode; member
230 int verify_mode; member
/third_party/boost/libs/asio/include/boost/asio/ssl/
Dverify_mode.hpp36 typedef int verify_mode; typedef
Dcontext.hpp159 BOOST_ASIO_DECL void set_verify_mode(verify_mode v);
174 verify_mode v, boost::system::error_code& ec);
Dcontext_base.hpp180 typedef int verify_mode; typedef in boost::asio::ssl::context_base
Dstream.hpp242 void set_verify_mode(verify_mode v) in set_verify_mode()
262 verify_mode v, boost::system::error_code& ec) in set_verify_mode()
/third_party/boost/boost/asio/ssl/
Dverify_mode.hpp36 typedef int verify_mode; typedef
Dcontext.hpp159 BOOST_ASIO_DECL void set_verify_mode(verify_mode v);
174 verify_mode v, boost::system::error_code& ec);
Dcontext_base.hpp180 typedef int verify_mode; typedef in boost::asio::ssl::context_base
Dstream.hpp242 void set_verify_mode(verify_mode v) in set_verify_mode()
262 verify_mode v, boost::system::error_code& ec) in set_verify_mode()
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/library/
Dssl_lib.c338 ssl->verify_mode = ctx->verify_mode; in SSL_new()
928 return ctx->verify_mode; in SSL_CTX_get_verify_mode()
1087 ctx->verify_mode = mode; in SSL_CTX_set_verify()
1098 ssl->verify_mode = mode; in SSL_set_verify()
/third_party/boost/libs/beast/include/boost/beast/ssl/
Dssl_stream.hpp202 set_verify_mode(net::ssl::verify_mode v) in set_verify_mode()
220 set_verify_mode(net::ssl::verify_mode v, in set_verify_mode()
/third_party/boost/boost/beast/ssl/
Dssl_stream.hpp202 set_verify_mode(net::ssl::verify_mode v) in set_verify_mode()
220 set_verify_mode(net::ssl::verify_mode v, in set_verify_mode()
/third_party/node/src/
Dtls_wrap.cc910 int verify_mode; in SetVerifyMode() local
915 verify_mode = SSL_VERIFY_NONE; in SetVerifyMode()
918 verify_mode = SSL_VERIFY_PEER; in SetVerifyMode()
920 verify_mode |= SSL_VERIFY_FAIL_IF_NO_PEER_CERT; in SetVerifyMode()
926 verify_mode = SSL_VERIFY_NONE; in SetVerifyMode()
930 SSL_set_verify(wrap->ssl_.get(), verify_mode, crypto::VerifyCallback); in SetVerifyMode()
/third_party/boost/libs/asio/include/boost/asio/ssl/detail/
Dengine.hpp75 verify_mode v, boost::system::error_code& ec);
/third_party/boost/boost/asio/ssl/detail/
Dengine.hpp75 verify_mode v, boost::system::error_code& ec);
/third_party/python/Lib/test/test_asyncio/
Dutils.py78 server_context.verify_mode = ssl.CERT_NONE
86 client_context.verify_mode = ssl.CERT_NONE
/third_party/openssl/ssl/statem/
Dstatem_srvr.c191 if ((s->verify_mode & SSL_VERIFY_PEER) in ossl_statem_server_read_transition()
192 && (s->verify_mode & SSL_VERIFY_FAIL_IF_NO_PEER_CERT)) { in ossl_statem_server_read_transition()
370 s->verify_mode & SSL_VERIFY_PEER in send_certificate_request()
375 && (!SSL_IS_TLS13(s) || !(s->verify_mode & SSL_VERIFY_POST_HANDSHAKE) in send_certificate_request()
382 !(s->verify_mode & SSL_VERIFY_CLIENT_ONCE)) in send_certificate_request()
394 || (s->verify_mode & SSL_VERIFY_FAIL_IF_NO_PEER_CERT)) in send_certificate_request()
2468 } else if (!(s->verify_mode & SSL_VERIFY_PEER) in tls_construct_server_hello()
3695 else if ((s->verify_mode & SSL_VERIFY_PEER) && in tls_process_client_certificate()
3696 (s->verify_mode & SSL_VERIFY_FAIL_IF_NO_PEER_CERT)) { in tls_process_client_certificate()
/third_party/openssl/ssl/
Dssl_conf.c973 cctx->pvfy_flags = &ssl->verify_mode; in SSL_CONF_CTX_set_ssl()
992 cctx->pvfy_flags = &ctx->verify_mode; in SSL_CONF_CTX_set_ssl_ctx()
/third_party/python/Misc/NEWS.d/
D3.7.0rc1.rst192 ssl.SSLContext.verify_mode.
/third_party/python/Doc/library/
Dssl.rst145 as *purpose* sets :data:`~SSLContext.verify_mode` to :data:`CERT_REQUIRED`
557 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs``
570 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs``
587 Possible value for :attr:`SSLContext.verify_mode`, or the ``cert_reqs``
1594 other peers' certificates when :data:`verify_mode` is other than
1925 :attr:`~SSLContext.verify_mode` must be set to :data:`CERT_OPTIONAL` or
1928 hostname checking automatically sets :attr:`~SSLContext.verify_mode` from
1939 context.verify_mode = ssl.CERT_REQUIRED
1951 :attr:`~SSLContext.verify_mode` is now automatically changed
1953 :attr:`~SSLContext.verify_mode` is :data:`CERT_NONE`. Previously
[all …]

12