Home
last modified time | relevance | path

Searched refs:ssl (Results 1 – 11 of 11) sorted by relevance

/unit/test/
H A Dtest_reconfigure_tls.py2 import ssl
14 if 'HAS_TLSv1_2' not in dir(ssl) or not ssl.HAS_TLSv1_2:
33 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
35 ctx.verify_mode = ssl.CERT_NONE
92 except ssl.SSLError:
H A Dtest_tls.py3 import ssl
110 self.context = ssl.create_default_context()
112 self.context.verify_mode = ssl.CERT_REQUIRED
178 cert_old = ssl.get_server_certificate(('127.0.0.1', 7080))
182 assert cert_old != ssl.get_server_certificate(
205 cert_old = ssl.get_server_certificate(('127.0.0.1', 7080))
209 assert cert_old != ssl.get_server_certificate(
339 except ssl.SSLError:
H A Dtest_tls_conf_command.py1 import ssl
33 except (ssl.SSLError, ConnectionRefusedError):
H A Dtest_tls_sni.py1 import ssl
124 self.context = ssl.create_default_context()
126 self.context.verify_mode = ssl.CERT_REQUIRED
/unit/auto/
H A Dssltls24 nxt_feature_test="#include <openssl/ssl.h>
40 nxt_feature_test="#include <openssl/ssl.h>
62 nxt_feature_test="#include <openssl/ssl.h>
76 nxt_feature_test="#include <openssl/ssl.h>
161 nxt_feature_test="#include <cyassl/ssl.h>
192 nxt_feature_test="#include <polarssl/ssl.h>
195 ssl_context ssl;
196 memset(&ssl, '\0', sizeof(ssl));
197 ssl_init(&ssl);
198 ssl_free(&ssl);
/unit/src/
H A Dnxt_polarssl.c15 ssl_context ssl; member
50 n = ssl_init(&ctx->ssl); in nxt_polarssl_server_init()
56 ssl_set_endpoint(&ctx->ssl, SSL_IS_SERVER ); in nxt_polarssl_server_init()
79 ssl_set_own_cert(&ctx->ssl, &ctx->certificate, &ctx->key); in nxt_polarssl_server_init()
H A Dnxt_cyassl.c26 static int nxt_cyassl_io_recv(CYASSL *ssl, char *buf, int size, void *data);
27 static int nxt_cyassl_io_send(CYASSL *ssl, char *buf, int size, void *data);
243 nxt_cyassl_io_recv(CYASSL *ssl, char *buf, int size, void *data) in nxt_cyassl_io_recv() argument
271 nxt_cyassl_io_send(CYASSL *ssl, char *buf, int size, void *data) in nxt_cyassl_io_send() argument
/unit/test/unit/applications/
H A Dtls.py2 import ssl
11 self.context = ssl.create_default_context()
13 self.context.verify_mode = ssl.CERT_NONE
/unit/src/java/nginx/unit/websocket/
H A DAsyncChannelWrapper.java24 import javax.net.ssl.SSLException;
H A DAsyncChannelWrapperSecure.java35 import javax.net.ssl.SSLEngine;
36 import javax.net.ssl.SSLEngineResult;
37 import javax.net.ssl.SSLEngineResult.HandshakeStatus;
38 import javax.net.ssl.SSLEngineResult.Status;
39 import javax.net.ssl.SSLException;
H A DWsWebSocketContainer.java52 import javax.net.ssl.SSLContext;
53 import javax.net.ssl.SSLEngine;
54 import javax.net.ssl.SSLException;
55 import javax.net.ssl.SSLParameters;
56 import javax.net.ssl.TrustManagerFactory;