/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
TrustManagerFactorySpiTest.java | 16 package org.apache.harmony.tests.javax.net.ssl; 25 import javax.net.ssl.ManagerFactoryParameters; 26 import javax.net.ssl.TrustManager; 27 import javax.net.ssl.TrustManagerFactory; 28 import javax.net.ssl.TrustManagerFactorySpi; 38 * javax.net.ssl.TrustManagerFactorySpi#TrustManagerFactorySpi() 51 * javax.net.ssl.TrustManagerFactorySpi#engineInit(KeyStore ks) 78 * javax.net.ssl.TrustManagerFactorySpi#engineInit(ManagerFactoryParameters spec) 105 * javax.net.ssl.TrustManagerFactorySpi#engineGetTrustManagers()
|
HandshakeCompletedEventTest.java | 18 package org.apache.harmony.tests.javax.net.ssl; 29 import javax.net.ssl.HandshakeCompletedEvent; 30 import javax.net.ssl.HandshakeCompletedListener; 31 import javax.net.ssl.KeyManager; 32 import javax.net.ssl.KeyManagerFactory; 33 import javax.net.ssl.SSLContext; 34 import javax.net.ssl.SSLPeerUnverifiedException; 35 import javax.net.ssl.SSLServerSocket; 36 import javax.net.ssl.SSLSession; 37 import javax.net.ssl.SSLSocket [all...] |
HttpsURLConnectionTest.java | 19 package org.apache.harmony.tests.javax.net.ssl; 28 import javax.net.ssl.HostnameVerifier; 29 import javax.net.ssl.HttpsURLConnection; 30 import javax.net.ssl.SSLPeerUnverifiedException; 31 import javax.net.ssl.SSLSession; 32 import javax.net.ssl.SSLSocketFactory; 48 // Set the default SSL Socket factory to avoid an unmatched SSLSocketFactory 54 * javax.net.ssl.HttpsURLConnection#HttpsURLConnection(java_net_URL) 62 * javax.net.ssl.HttpsURLConnection#getCipherSuite() 78 * javax.net.ssl.HttpsURLConnection#getLocalCertificates( [all...] |
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
mySSLSession.java | 10 import javax.net.ssl.SSLPeerUnverifiedException; 11 import javax.net.ssl.SSLSessionBindingEvent; 12 import javax.net.ssl.SSLSessionBindingListener; 13 import javax.net.ssl.SSLSessionContext; 17 import javax.net.ssl.SSLSession;
|
/libcore/tools/docs/crypto/src/java/libcore/java/security/ |
ListProviders.java | 30 import javax.net.ssl.KeyManager; 31 import javax.net.ssl.SSLContext; 32 import javax.net.ssl.SSLEngine; 33 import javax.net.ssl.SSLSocketFactory; 34 import javax.net.ssl.TrustManager;
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
EmailClientConnectionManager.java | 37 import javax.net.ssl.KeyManager; 41 * {@link android.security.KeyChain} for SSL connections. 66 boolean ssl = hostAuth.shouldUseSsl(); 72 ssl ? STANDARD_PORT : port)); 76 ssl ? port : STANDARD_SSL_PORT)); 80 ssl ? port : STANDARD_SSL_PORT)); 86 * Ensures that a client SSL certificate is known to be used for the specified connection 144 * Builds a unique scheme name for an SSL connection that uses a client user certificate. 155 * a client SSL certificate by any servers
|
/system/netd/tests/dns_responder/ |
dns_tls_frontend.cpp | 28 #include <openssl/ssl.h> 148 ALOGE("SSL context creation failed"); 287 bssl::UniquePtr<SSL> ssl(SSL_new(ctx_.get())); 288 SSL_set_fd(ssl.get(), client); 290 ALOGD("Doing SSL handshake"); 292 if (SSL_accept(ssl.get()) <= 0) { 293 ALOGI("SSL negotiation failure"); 295 ALOGD("SSL handshake complete"); 296 success = handleOneRequest(ssl.get()) [all...] |
/external/curl/lib/vtls/ |
mbedtls.c | 25 * Source file for all mbedTLS-specific code for the TLS/SSL layer. No code 40 #include <mbedtls/ssl.h> 67 mbedtls_ssl_context ssl; member in struct:ssl_backend_data 197 struct ssl_connect_data *connssl = &conn->ssl[sockindex]; 245 struct ssl_connect_data* connssl = &conn->ssl[sockindex]; 383 mbedtls_ssl_init(&BACKEND->ssl); 384 if(mbedtls_ssl_setup(&BACKEND->ssl, &BACKEND->config)) { 406 infof(data, "mbedTLS: Set min SSL version to TLS 1.0\n"); 413 infof(data, "mbedTLS: Set SSL version to SSLv3\n"); 434 mbedtls_ssl_set_bio(&BACKEND->ssl, &conn->sock[sockindex] [all...] |
/external/boringssl/src/ssl/ |
ssl_file.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 111 #include <openssl/ssl.h> 143 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); 158 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); 208 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); 250 int SSL_use_certificate_file(SSL *ssl, const char *file, int type) [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_tls.c | 22 struct eap_ssl_data ssl; member in struct:eap_tls_data 51 if (eap_peer_tls_ssl_init(sm, &data->ssl, config, EAP_TYPE_TLS)) { 52 wpa_printf(MSG_INFO, "EAP-TLS: Failed to initialize SSL."); 88 if (eap_peer_tls_ssl_init(sm, &data->ssl, config, 90 wpa_printf(MSG_INFO, "EAP-TLS: Failed to initialize SSL."); 115 if (eap_peer_tls_ssl_init(sm, &data->ssl, config, 117 wpa_printf(MSG_INFO, "EAP-TLS: Failed to initialize SSL."); 143 eap_peer_tls_ssl_deinit(sm, &data->ssl); 182 data->key_data = eap_peer_tls_derive_key(sm, &data->ssl, 197 data->session_id = eap_peer_tls_derive_session_id(sm, &data->ssl, [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
_ssl.c | 0 /* SSL socket module
3 SSL support based on patches by Brian E Gallew and Laszlo Kovacs.
8 This module is imported by ssl.py. It should *not* be used
39 /* these mirror ssl.h */
48 /* start of non ssl.h errorcodes */
88 #include "openssl/ssl.h"
92 /* SSL error object */
97 /* serves as a flag to see whether we've initialized the SSL thread support. */
104 /* SSL socket object */
119 SSL* ssl; member in struct:__anon4715 [all...] |
/device/linaro/bootloader/edk2/CryptoPkg/Library/OpensslLib/ |
Install.sh | 74 cp ssl/ssl.h include/openssl 75 cp ssl/ssl2.h include/openssl 76 cp ssl/ssl3.h include/openssl 77 cp ssl/ssl23.h include/openssl 78 cp ssl/tls1.h include/openssl 79 cp ssl/dtls1.h include/openssl 80 cp ssl/kssl.h include/openssl 81 cp ssl/srtp.h include/openssl
|
/external/libmicrohttpd/src/examples/ |
mhd2spdy_spdy.c | 167 rv = SSL_write(connection->ssl, data, length); 169 int err = SSL_get_error(connection->ssl, rv); 238 rv = SSL_read(connection->ssl, buf, length); 240 int err = SSL_get_error(connection->ssl, rv); 504 * Callback function for SSL/TLS NPN. Since this program only supports 509 spdy_cb_ssl_select_next_proto(SSL* ssl, 516 (void)ssl; 535 * Setup SSL context. We pass |spdy_proto_version| to get negotiated 553 spdy_ssl_handshake(SSL *ssl 729 SSL *ssl=NULL; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_imaplib.py | 17 import ssl
19 ssl = None
variable 37 if ssl:
43 connstream = ssl.wrap_socket(newsocket,
72 # between naked sockets and SSL sockets.
174 @unittest.skipUnless(ssl, "SSL not available")
210 @unittest.skipUnless(ssl, "SSL not available")
224 if ssl: [all...] |
/external/conscrypt/common/src/main/java/org/conscrypt/ |
Java8EngineWrapper.java | 25 import javax.net.ssl.SSLEngine; 26 import javax.net.ssl.SSLEngineResult; 27 import javax.net.ssl.SSLEngineResult.HandshakeStatus; 28 import javax.net.ssl.SSLException; 29 import javax.net.ssl.SSLParameters; 30 import javax.net.ssl.SSLSession; 31 import javax.net.ssl.SSLSocket;
|
/external/okhttp/android/test/java/com/squareup/okhttp/internal/ |
PlatformTest.java | 32 import javax.net.ssl.HandshakeCompletedListener; 33 import javax.net.ssl.SSLContext; 34 import javax.net.ssl.SSLSession; 35 import javax.net.ssl.SSLSocket; 36 import javax.net.ssl.SSLSocketFactory; 37 import javax.net.ssl.TrustManager; 38 import javax.net.ssl.X509TrustManager;
|
/external/python/cpython2/Lib/test/ |
test_imaplib.py | 17 import ssl 19 ssl = None variable 37 if ssl: 43 connstream = ssl.wrap_socket(newsocket, 72 # between naked sockets and SSL sockets. 184 @unittest.skipUnless(ssl, "SSL not available") 223 @unittest.skipUnless(ssl, "SSL not available") 237 if ssl [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_imaplib.py | 17 import ssl 19 ssl = None variable 37 if ssl: 43 connstream = ssl.wrap_socket(newsocket, 72 # between naked sockets and SSL sockets. 174 @unittest.skipUnless(ssl, "SSL not available") 210 @unittest.skipUnless(ssl, "SSL not available") 224 if ssl [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_imaplib.py | 17 import ssl 19 ssl = None variable 37 if ssl: 43 connstream = ssl.wrap_socket(newsocket, 72 # between naked sockets and SSL sockets. 174 @unittest.skipUnless(ssl, "SSL not available") 210 @unittest.skipUnless(ssl, "SSL not available") 224 if ssl [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_imaplib.py | 17 import ssl 19 ssl = None variable 37 if ssl: 43 connstream = ssl.wrap_socket(newsocket, 72 # between naked sockets and SSL sockets. 174 @unittest.skipUnless(ssl, "SSL not available") 210 @unittest.skipUnless(ssl, "SSL not available") 224 if ssl [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_imaplib.py | 17 import ssl 19 ssl = None variable 37 if ssl: 43 connstream = ssl.wrap_socket(newsocket, 72 # between naked sockets and SSL sockets. 174 @unittest.skipUnless(ssl, "SSL not available") 210 @unittest.skipUnless(ssl, "SSL not available") 224 if ssl [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/ |
MailTransport.java | 37 import javax.net.ssl.HostnameVerifier; 38 import javax.net.ssl.HttpsURLConnection; 39 import javax.net.ssl.SSLException; 40 import javax.net.ssl.SSLPeerUnverifiedException; 41 import javax.net.ssl.SSLSession; 42 import javax.net.ssl.SSLSocket; 101 * SSL connection if indicated. 138 direct SSL connection, we connect with a normal connection and upgrade it into 139 SSL 210 // After the socket connects to an SSL server, confirm that the hostname is a 246 SSLSocket ssl = (SSLSocket) socket; local [all...] |
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
KeyChainTestActivity.java | 37 import javax.net.ssl.HttpsURLConnection; 38 import javax.net.ssl.KeyManager; 39 import javax.net.ssl.KeyManagerFactory; 40 import javax.net.ssl.SSLContext; 41 import javax.net.ssl.SSLSocketFactory; 42 import javax.net.ssl.TrustManager; 43 import javax.net.ssl.X509ExtendedKeyManager; 44 import javax.net.ssl.X509TrustManager; 46 import libcore.javax.net.ssl.TestSSLContext; 195 SSLContext serverContext = SSLContext.getInstance("SSL"); [all...] |
/cts/tests/tests/security/src/android/security/cts/ |
CertBlacklistTest.java | 29 import javax.net.ssl.TrustManager; 30 import javax.net.ssl.TrustManagerFactory; 31 import javax.net.ssl.X509TrustManager;
|
ConscryptIntermediateVerificationTest.java | 31 import javax.net.ssl.TrustManager; 32 import javax.net.ssl.TrustManagerFactory; 33 import javax.net.ssl.X509TrustManager;
|