/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
SSLContextSpiTest.java | 16 package org.apache.harmony.tests.javax.net.ssl; 18 import javax.net.ssl.KeyManagerFactory; 19 import javax.net.ssl.SSLContextSpi; 20 import javax.net.ssl.SSLEngine; 21 import javax.net.ssl.SSLServerSocketFactory; 22 import javax.net.ssl.SSLSessionContext; 23 import javax.net.ssl.SSLSocketFactory; 24 import javax.net.ssl.KeyManager; 25 import javax.net.ssl.TrustManager; 26 import javax.net.ssl.TrustManagerFactory 44 SSLContextSpiImpl ssl = new SSLContextSpiImpl(); local 56 SSLContextSpiImpl ssl = new SSLContextSpiImpl(); local 75 SSLContextSpiImpl ssl = new SSLContextSpiImpl(); local 105 SSLContextSpiImpl ssl = new SSLContextSpiImpl(); local 156 SSLContextSpiImpl ssl = new SSLContextSpiImpl(); local 195 SSLContextSpiImpl ssl = new SSLContextSpiImpl(); local [all...] |
SSLSessionBindingListenerTest.java | 18 package org.apache.harmony.tests.javax.net.ssl; 20 import javax.net.ssl.SSLServerSocket; 21 import javax.net.ssl.SSLServerSocketFactory; 22 import javax.net.ssl.SSLSession; 23 import javax.net.ssl.SSLSessionBindingEvent; 24 import javax.net.ssl.SSLSessionBindingListener; 25 import javax.net.ssl.SSLSocket; 26 import javax.net.ssl.SSLSocketFactory; 59 * javax.net.ssl.SSLSessionBindingListener#valueBound(SSLSessionBindingEvent event) 74 * javax.net.ssl.SSLSessionBindingListener#valueUnbound(SSLSessionBindingEvent event [all...] |
/external/boringssl/src/ssl/ |
t1_enc.cc | 4 * This package is an SSL implementation written 6 * The implementation was written so as to conform with Netscapes SSL. 11 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 136 #include <openssl/ssl.h> 280 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); 289 OPENSSL_PUT_ERROR(SSL, ERR_LIB_EVP); 304 OPENSSL_PUT_ERROR(SSL, ERR_LIB_EVP); 327 SSL *const ssl = hs->ssl local [all...] |
tls_method.cc | 4 * This package is an SSL implementation written 6 * The implementation was written so as to conform with Netscapes SSL. 11 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 57 #include <openssl/ssl.h> 70 static void ssl3_expect_flight(SSL *ssl) {} 72 static void ssl3_received_flight(SSL *ssl) {} 74 static int ssl3_set_read_state(SSL *ssl, SSL_AEAD_CTX *aead_ctx) [all...] |
tls13_enc.cc | 15 #include <openssl/ssl.h> 46 if (!init_key_schedule(hs, ssl3_protocol_version(hs->ssl), 56 SSL *const ssl = hs->ssl; local 57 return init_key_schedule(hs, SSL_SESSION_protocol_version(ssl->session), 58 ssl->session->cipher->algorithm_prf); 114 int tls13_set_traffic_key(SSL *ssl, enum evp_aead_direction_t direction, 117 const SSL_SESSION *session = SSL_get_session(ssl); 197 SSL *const ssl = hs->ssl; local 209 SSL *const ssl = hs->ssl; local 223 SSL *const ssl = hs->ssl; local 373 SSL *const ssl = hs->ssl; local [all...] |
dtls_record.cc | 59 * This package is an SSL implementation written 61 * The implementation was written so as to conform with Netscapes SSL. 66 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 112 #include <openssl/ssl.h> 175 enum ssl_open_record_t dtls_open_record(SSL *ssl, uint8_t *out_type, CBS *out, 193 (ssl->s3->have_version && version != ssl->version) || 201 ssl_do_msg_callback(ssl, 0 /* read */, SSL3_RT_HEADER, in [all...] |
ssl_privkey.cc | 4 * This package is an SSL implementation written 6 * The implementation was written so as to conform with Netscapes SSL. 11 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 57 #include <openssl/ssl.h> 79 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_CERTIFICATE_TYPE); 97 int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa) { 102 OPENSSL_PUT_ERROR(SSL, ERR_R_PASSED_NULL_PARAMETER); 108 OPENSSL_PUT_ERROR(SSL, ERR_R_EVP_LIB) 445 SSL *const ssl = hs->ssl; local 482 SSL *const ssl = hs->ssl; local 512 SSL *const ssl = hs->ssl; local [all...] |
internal.h | 4 * This package is an SSL implementation written 6 * The implementation was written so as to conform with Netscapes SSL. 11 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 148 #include <openssl/ssl.h> 194 int ssl_get_version_range(const SSL *ssl, uint16_t *out_min_version, 212 /* ssl3_protocol_version returns |ssl|'s protocol version. It is an error to 214 uint16_t ssl3_protocol_version(const SSL *ssl); 1014 SSL *ssl; member in struct:ssl_handshake_st [all...] |
ssl_stat.cc | 4 * This package is an SSL implementation written 6 * The implementation was written so as to conform with Netscapes SSL. 11 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 84 #include <openssl/ssl.h> 91 static int ssl_state(const SSL *ssl) { 92 if (ssl->s3->hs == NULL) { 93 assert(ssl->s3->initial_handshake_complete); 97 return ssl->s3->hs->state [all...] |
/external/conscrypt/openjdk-integ-tests/src/test/java/libcore/javax/net/ssl/ |
SSLServerSocketFactoryTest.java | 17 package libcore.javax.net.ssl; 19 import javax.net.ssl.SSLServerSocketFactory;
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/ssl/ |
DummyTrustManager.java | 17 package com.google.polo.ssl; 21 import javax.net.ssl.X509TrustManager;
|
/external/okhttp/okhttp-testing-support/src/main/java/com/squareup/okhttp/testing/ |
RecordingHostnameVerifier.java | 20 import javax.net.ssl.HostnameVerifier; 21 import javax.net.ssl.SSLSession;
|
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
BrowserCompatHostnameVerifier.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.java $ 32 package org.apache.http.conn.ssl; 34 import javax.net.ssl.SSLException;
|
StrictHostnameVerifier.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/ssl/StrictHostnameVerifier.java $ 32 package org.apache.http.conn.ssl; 34 import javax.net.ssl.SSLException;
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
SslWrapper.java | 35 import javax.net.ssl.SSLException; 36 import javax.net.ssl.SSLHandshakeException; 37 import javax.net.ssl.X509KeyManager; 38 import javax.net.ssl.X509TrustManager; 45 * A utility wrapper that abstracts operations on the underlying native SSL instance. 52 private long ssl; field in class:SslWrapper 58 long ssl = NativeCrypto.SSL_new(ctx); local 59 return new SslWrapper(ssl, parameters, handshakeCallbacks, chooser, pskCallbacks); 62 private SslWrapper(long ssl, SSLParametersImpl parameters, 65 this.ssl = ssl 72 long ssl() { method in class:SslWrapper [all...] |
/external/curl/lib/vtls/ |
axtls.c | 25 * Source file for all axTLS-specific code for the TLS/SSL layer. No code 33 #include <axTLS/ssl.h> 54 /* axTLS has no global init. Everything is done through SSL and SSL_CTX 123 if(connssl->ssl) { 124 ssl_free (connssl->ssl); 125 connssl->ssl = NULL; 135 * ssl context and state. This function is called after the TCP connect 142 SSL *ssl = NULL; local 154 if(conn->ssl[sockindex].state == ssl_connection_complete 289 SSL *ssl = conn->ssl[sockindex].ssl; local 481 SSL *ssl = conn->ssl[sockindex].ssl; local [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_ssl.py | 1 # Test the support for SSL and sockets 23 ssl = test_support.import_module("ssl") variable 40 ssl.sslwrap_simple(socket.socket(socket.AF_INET)) 47 ssl.sslwrap_simple(socket.socket(socket.AF_INET)._sock) 56 if hasattr(ssl, 'PROTOCOL_SSLv2'): 58 # implicit SSL context without trying to connect or listen. 69 ssl.CERT_NONE, ssl.PROTOCOL_SSLv2, None, None) 70 except ssl.SSLError as e [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_ssl.py | 1 # Test the support for SSL and sockets 23 ssl = test_support.import_module("ssl") variable 40 ssl.sslwrap_simple(socket.socket(socket.AF_INET)) 47 ssl.sslwrap_simple(socket.socket(socket.AF_INET)._sock) 56 if hasattr(ssl, 'PROTOCOL_SSLv2'): 58 # implicit SSL context without trying to connect or listen. 69 ssl.CERT_NONE, ssl.PROTOCOL_SSLv2, None, None) 70 except ssl.SSLError as e [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_ssl.py | 1 # Test the support for SSL and sockets 23 ssl = test_support.import_module("ssl") variable 40 ssl.sslwrap_simple(socket.socket(socket.AF_INET)) 47 ssl.sslwrap_simple(socket.socket(socket.AF_INET)._sock) 56 if hasattr(ssl, 'PROTOCOL_SSLv2'): 58 # implicit SSL context without trying to connect or listen. 69 ssl.CERT_NONE, ssl.PROTOCOL_SSLv2, None, None) 70 except ssl.SSLError as e [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_ssl.py | 1 # Test the support for SSL and sockets 23 ssl = test_support.import_module("ssl") variable 40 ssl.sslwrap_simple(socket.socket(socket.AF_INET)) 47 ssl.sslwrap_simple(socket.socket(socket.AF_INET)._sock) 56 if hasattr(ssl, 'PROTOCOL_SSLv2'): 58 # implicit SSL context without trying to connect or listen. 69 ssl.CERT_NONE, ssl.PROTOCOL_SSLv2, None, None) 70 except ssl.SSLError as e [all...] |
/external/boringssl/src/tool/ |
transport_common.h | 18 #include <openssl/ssl.h> 52 void PrintConnectionInfo(const SSL *ssl); 58 bool TransferData(SSL *ssl, int sock);
|
/libcore/benchmarks/src/benchmarks/regression/ |
SSLLoopbackBenchmark.java | 19 import javax.net.ssl.SSLSocket; 21 import libcore.javax.net.ssl.TestSSLContext; 22 import libcore.javax.net.ssl.TestSSLSocketPair;
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_ssl.py | 1 # Test the support for SSL and sockets
23 ssl = test_support.import_module("ssl")
variable 40 ssl.sslwrap_simple(socket.socket(socket.AF_INET))
47 ssl.sslwrap_simple(socket.socket(socket.AF_INET)._sock)
56 if hasattr(ssl, 'PROTOCOL_SSLv2'):
58 # implicit SSL context without trying to connect or listen.
69 ssl.CERT_NONE, ssl.PROTOCOL_SSLv2, None, None)
70 except ssl.SSLError as e: [all...] |
/external/boringssl/src/ssl/test/ |
bssl_shim.cc | 56 #include <openssl/ssl.h> 128 static bool SetTestConfig(SSL *ssl, const TestConfig *config) { 129 return SSL_set_ex_data(ssl, g_config_index, (void *)config) == 1; 132 static const TestConfig *GetTestConfig(const SSL *ssl) { 133 return (const TestConfig *)SSL_get_ex_data(ssl, g_config_index); 136 static bool SetTestState(SSL *ssl, std::unique_ptr<TestState> state) { 138 if (SSL_set_ex_data(ssl, g_state_index, state.get()) == 1) 711 SSL* ssl = (SSL*)X509_STORE_CTX_get_ex_data(store_ctx, local [all...] |
/external/boringssl/src/include/openssl/ |
ssl.h | 4 * This package is an SSL implementation written 6 * The implementation was written so as to conform with Netscapes SSL. 11 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 171 /* SSL implementation. */ 174 /* SSL contexts. 205 /* SSL connections. 207 * An |SSL| object represents a single TLS or DTLS connection. Although the 208 * shared |SSL_CTX| is thread-safe, an |SSL| is not thread-safe and may only be 211 /* SSL_new returns a newly-allocated |SSL| using |ctx| or NULL on error. The ne 1405 OPENSSL_EXPORT STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *ssl); variable 1439 OPENSSL_EXPORT STACK_OF(X509) *SSL_get_peer_cert_chain(const SSL *ssl); variable 1451 OPENSSL_EXPORT STACK_OF(X509) *SSL_get_peer_full_cert_chain(const SSL *ssl); variable 1460 SSL_get0_peer_certificates(const SSL *ssl); variable 2418 OPENSSL_EXPORT STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *ssl); variable 2428 const SSL *ssl); variable 2737 SSL *ssl); variable 3200 SSL *ssl; member in struct:ssl_early_callback_ctx [all...] |