/external/conscrypt/common/src/jni/main/include/ |
ScopedSslBio.h | 20 #include <openssl/ssl.h> 25 * Sets the read and write BIO for an SSL connection and removes it when it goes out of scope. 30 ScopedSslBio(SSL* ssl, BIO* rbio, BIO* wbio) : ssl_(ssl) { 41 SSL* const ssl_;
|
OpenSslError.h | 20 #include <openssl/ssl.h> 26 * instantiate this object during an SSL call that may fail and not worry 36 OpenSslError(SSL* ssl, int returnCode) : sslError_(SSL_ERROR_NONE), released_(false) { 37 reset(ssl, returnCode); 50 void reset(SSL* ssl, int returnCode) { 52 sslError_ = SSL_get_error(ssl, returnCode);
|
/external/boringssl/src/ssl/ |
tls_record.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 109 #include <openssl/ssl.h> 139 /* ssl_needs_record_splitting returns one if |ssl|'s current outgoing cipher 141 static int ssl_needs_record_splitting(const SSL *ssl) { 143 return ssl->s3->aead_write_ctx != NULL && 144 ssl->s3->aead_write_ctx->version < TLS1_1_VERSION & [all...] |
handshake_client.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 150 #include <openssl/ssl.h> 188 SSL *const ssl = hs->ssl; local 191 assert(ssl->handshake_func == ssl3_connect); 192 assert(!ssl->server) 570 SSL *const ssl = hs->ssl; local 648 SSL *const ssl = hs->ssl; local 716 SSL *const ssl = hs->ssl; local 776 SSL *const ssl = hs->ssl; local 809 SSL *const ssl = hs->ssl; local 881 SSL *const ssl = hs->ssl; local 1076 SSL *const ssl = hs->ssl; local 1120 SSL *const ssl = hs->ssl; local 1177 SSL *const ssl = hs->ssl; local 1234 SSL *const ssl = hs->ssl; local 1424 SSL *const ssl = hs->ssl; local 1493 SSL *const ssl = hs->ssl; local 1515 SSL *const ssl = hs->ssl; local 1555 SSL *const ssl = hs->ssl; local 1734 SSL *const ssl = hs->ssl; local 1815 SSL *const ssl = hs->ssl; local 1836 SSL *const ssl = hs->ssl; local 1859 SSL *const ssl = hs->ssl; local [all...] |
tls13_both.cc | 15 #include <openssl/ssl.h> 37 SSL *const ssl = hs->ssl; local 42 OPENSSL_PUT_ERROR(SSL, SSL_R_SSL_HANDSHAKE_FAILURE); 47 int ret = ssl->method->flush_flight(ssl); 54 ssl->method->expect_flight(ssl); 60 int ret = ssl->method->ssl_get_message(ssl) 187 SSL *const ssl = hs->ssl; local 375 SSL *const ssl = hs->ssl; local 426 SSL *const ssl = hs->ssl; local 458 SSL *const ssl = hs->ssl; local 530 SSL *const ssl = hs->ssl; local 581 SSL *const ssl = hs->ssl; local [all...] |
d1_srtp.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 117 #include <openssl/ssl.h> 166 OPENSSL_PUT_ERROR(SSL, SSL_R_SRTP_COULD_NOT_ALLOCATE_PROFILES); 178 OPENSSL_PUT_ERROR(SSL, SSL_R_SRTP_UNKNOWN_PROTECTION_PROFILE); 204 int SSL_set_srtp_profiles(SSL *ssl, const char *profiles) { 205 return ssl_ctx_make_profiles(profiles, &ssl->srtp_profiles) [all...] |
tls13_server.cc | 22 #include <openssl/ssl.h> 62 SSL *const ssl = hs->ssl; local 69 OPENSSL_PUT_ERROR(SSL, SSL_R_MISSING_KEY_SHARE); 70 ssl3_send_alert(ssl, SSL3_AL_FATAL, SSL_AD_MISSING_EXTENSION); 81 ssl3_send_alert(ssl, SSL3_AL_FATAL, alert); 100 !CBB_add_u16(&contents, hs->ssl->version) || 109 const SSL *ssl, const SSL_CLIENT_HELLO *client_hello) 155 SSL *const ssl = hs->ssl; local 219 SSL *const ssl = hs->ssl; local 264 SSL *const ssl = hs->ssl; local 351 SSL *const ssl = hs->ssl; local 481 SSL *const ssl = hs->ssl; local 502 SSL *const ssl = hs->ssl; local 535 SSL *const ssl = hs->ssl; local 649 SSL *const ssl = hs->ssl; local 696 SSL *const ssl = hs->ssl; local 725 SSL *const ssl = hs->ssl; local 736 SSL *const ssl = hs->ssl; local 762 SSL *const ssl = hs->ssl; local 796 SSL *const ssl = hs->ssl; local [all...] |
ssl_x509.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 141 #include <openssl/ssl.h> 158 /* check_ssl_x509_method asserts that |ssl| has the X509-based method 159 * installed. Calling an X509-based method on an |ssl| with a different method 161 static void check_ssl_x509_method(const SSL *ssl) { 162 assert(ssl == NULL || ssl->ctx->x509_method == &ssl_crypto_x509_method) [all...] |
ssl_versions.cc | 15 #include <openssl/ssl.h> 105 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_SSL_VERSION); 114 OPENSSL_PUT_ERROR(SSL, SSL_R_UNKNOWN_SSL_VERSION); 125 /* SSL 3.0 is disabled by default and TLS 1.0 does not exist in DTLS. */ 152 int SSL_set_min_proto_version(SSL *ssl, uint16_t version) { 153 return set_min_version(ssl->method, &ssl->conf_min_version, version); 156 int SSL_set_max_proto_version(SSL *ssl, uint16_t version) 303 SSL *const ssl = hs->ssl; local [all...] |
t1_lib.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 109 #include <openssl/ssl.h> 173 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); 205 int ssl_client_hello_init(SSL *ssl, SSL_CLIENT_HELLO *out, const uint8_t *in, 208 out->ssl = ssl; 323 SSL *const ssl = hs->ssl; local 616 SSL *const ssl = hs->ssl; local 638 SSL *const ssl = hs->ssl; local 722 SSL *const ssl = hs->ssl; local 746 SSL *const ssl = hs->ssl; local 829 SSL *const ssl = hs->ssl; local 863 SSL *const ssl = hs->ssl; local 902 SSL *const ssl = hs->ssl; local 965 SSL *const ssl = hs->ssl; local 1001 SSL *const ssl = hs->ssl; local 1045 SSL *const ssl = hs->ssl; local 1089 SSL *const ssl = hs->ssl; local 1109 SSL *const ssl = hs->ssl; local 1152 SSL *const ssl = hs->ssl; local 1173 SSL *const ssl = hs->ssl; local 1190 SSL *const ssl = hs->ssl; local 1249 SSL *const ssl = hs->ssl; local 1270 SSL *const ssl = hs->ssl; local 1304 SSL *const ssl = hs->ssl; local 1319 SSL *const ssl = hs->ssl; local 1369 SSL *const ssl = hs->ssl; local 1393 SSL *const ssl = hs->ssl; local 1414 SSL *const ssl = hs->ssl; local 1481 SSL *const ssl = hs->ssl; local 1536 SSL *const ssl = hs->ssl; local 1565 SSL *const ssl = hs->ssl; local 1581 SSL *const ssl = hs->ssl; local 1599 SSL *const ssl = hs->ssl; local 1615 SSL *const ssl = hs->ssl; local 1639 SSL *const ssl = hs->ssl; local 1673 SSL *const ssl = hs->ssl; local 1721 SSL *const ssl = hs->ssl; local 1764 SSL *const ssl = hs->ssl; local 1847 SSL *const ssl = hs->ssl; local 1869 SSL *const ssl = hs->ssl; local 1880 SSL *const ssl = hs->ssl; local 2058 SSL *const ssl = hs->ssl; local 2080 SSL *const ssl = hs->ssl; local 2102 SSL *const ssl = hs->ssl; local 2137 SSL *const ssl = hs->ssl; local 2343 SSL *const ssl = hs->ssl; local 2402 SSL *const ssl = hs->ssl; local 2668 SSL *const ssl = hs->ssl; local 2784 SSL *const ssl = hs->ssl; local 2823 SSL *const ssl = hs->ssl; local 2908 SSL *const ssl = hs->ssl; local 2925 SSL *const ssl = hs->ssl; local 3004 SSL *const ssl = hs->ssl; local 3031 SSL *const ssl = hs->ssl; local 3260 SSL *const ssl = hs->ssl; local 3314 SSL *const ssl = hs->ssl; local 3384 SSL *const ssl = hs->ssl; local 3434 SSL *const ssl = hs->ssl; local 3480 SSL *const ssl = hs->ssl; local [all...] |
/external/python/cpython2/Lib/test/ |
test_ssl.py | 2 # Test the support for SSL and sockets 25 ssl = support.import_module("ssl") variable 27 PROTOCOLS = sorted(ssl._PROTOCOL_NAMES) 29 IS_LIBRESSL = ssl.OPENSSL_VERSION.startswith('LibreSSL') 30 IS_OPENSSL_1_1 = not IS_LIBRESSL and ssl.OPENSSL_VERSION_INFO >= (1, 1, 0) 91 ssl.sslwrap_simple(socket.socket(socket.AF_INET)) 98 ssl.sslwrap_simple(socket.socket(socket.AF_INET)._sock) 108 return ssl._OPENSSL_API_VERSION >= (0, 9, 8, 13, 15) 112 return ssl.OPENSSL_VERSION_INFO >= (0, 9, 7, 8, 15 [all...] |
/external/conscrypt/testing/src/main/java/libcore/javax/net/ssl/ |
TestSSLSessions.java | 16 package libcore.javax.net.ssl; 17 import javax.net.ssl.SSLSession; 18 import javax.net.ssl.SSLSocket; 19 import javax.net.ssl.SSLSocketFactory; 64 SSLSocket ssl = (SSLSocket) sf.createSocket(); local 65 SSLSession invalid = ssl.getSession();
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
TestSSLSessions.java | 17 package libcore.javax.net.ssl; 19 import javax.net.ssl.SSLSession; 20 import javax.net.ssl.SSLSocket; 21 import javax.net.ssl.SSLSocketFactory; 68 SSLSocket ssl = (SSLSocket) sf.createSocket(); local 69 SSLSession invalid = ssl.getSession();
|
/libcore/ojluni/src/main/java/com/sun/net/ssl/internal/ssl/ |
X509ExtendedTrustManager.java | 26 package com.sun.net.ssl.internal.ssl; 28 import javax.net.ssl.X509TrustManager; 68 * root, return if it can be validated and is trusted for client SSL 97 * root, return if it can be validated and is trusted for server SSL
|
/external/conscrypt/android-stub/src/main/java/javax/net/ssl/ |
SNIHostName.java | 17 package javax.net.ssl;
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
SSLServerSessionCache.java | 19 import javax.net.ssl.SSLSession; 22 * A persistent {@link javax.net.ssl.SSLSession} cache used by 23 * {@link javax.net.ssl.SSLSessionContext} to share server-side SSL sessions 37 * @param id from {@link javax.net.ssl.SSLSession#getId()}
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/ssl/ |
DummySSLServerSocketFactory.java | 17 package com.google.polo.ssl; 22 import javax.net.ssl.KeyManager; 23 import javax.net.ssl.SSLServerSocketFactory; 24 import javax.net.ssl.TrustManager;
|
DummySSLSocketFactory.java | 17 package com.google.polo.ssl; 22 import javax.net.ssl.KeyManager; 23 import javax.net.ssl.SSLSocketFactory; 24 import javax.net.ssl.TrustManager;
|
/external/libvncserver/libvncserver/ |
rfbssl_openssl.c | 25 #include <openssl/ssl.h> 30 SSL *ssl; member in struct:rfbssl_ctx 58 rfbErr("SSL connection but no cert specified\n"); 65 } else if (NULL == (ctx->ssl = SSL_new(ctx->ssl_ctx))) { 68 } else if (!(SSL_set_fd(ctx->ssl, cl->sock))) { 72 while ((r = SSL_accept(ctx->ssl)) < 0) { 73 if (SSL_get_error(ctx->ssl, r) != SSL_ERROR_WANT_READ) 77 rfbErr("SSL_accept failed %d\n", SSL_get_error(ctx->ssl, r)); 91 while ((ret = SSL_write(ctx->ssl, buf, bufsize)) <= 0) [all...] |
/libcore/ojluni/src/main/java/javax/net/ssl/ |
HandshakeCompletedListener.java | 26 package javax.net.ssl; 32 * notifications about the completion of an SSL protocol handshake 33 * on a given SSL connection. 35 * <P> When an SSL handshake completes, new security parameters will 39 * peer identity and a new SSL cipher suite. 48 * when a SSL handshake is completed. 50 * @param event the event identifying when the SSL Handshake 51 * completed on a given SSL connection
|
SSLHandshakeException.java | 27 package javax.net.ssl; 44 * an SSL subsystem during handshaking.
|
SSLKeyException.java | 27 package javax.net.ssl; 30 * Reports a bad SSL key. Normally, this indicates misconfiguration 31 * of the server or client SSL certificate and private key. 43 * found by an SSL subsystem.
|
SSLPeerUnverifiedException.java | 27 package javax.net.ssl; 36 * peer authentication was established during SSL handshaking) this 48 * Constructs an exception reporting that the SSL peer's
|
SSLProtocolException.java | 27 package javax.net.ssl; 30 * Reports an error in the operation of the SSL protocol. Normally 42 * Constructs an exception reporting an SSL protocol error 43 * detected by an SSL subsystem.
|
SSLSessionBindingListener.java | 27 package javax.net.ssl;
|