/external/boringssl/src/ssl/ |
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 const char *SSL_state_string_long(const SSL *ssl) { 92 if (ssl->s3->hs == nullptr) { 93 return "SSL negotiation finished successfully"; 96 return ssl->server ? ssl_server_handshake_state(ssl->s3->hs.get() [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> 202 static void ssl_get_client_disabled(SSL *ssl, uint32_t *out_mask_a, 208 if (ssl->psk_client_callback == NULL) { 215 SSL *const ssl = hs->ssl local 291 SSL *const ssl = hs->ssl; local 344 SSL *const ssl = hs->ssl; local 414 SSL *const ssl = hs->ssl; local 483 SSL *const ssl = hs->ssl; local 520 SSL *const ssl = hs->ssl; local 564 SSL *const ssl = hs->ssl; local 800 SSL *const ssl = hs->ssl; local 850 SSL *const ssl = hs->ssl; local 920 SSL *const ssl = hs->ssl; local 1102 SSL *const ssl = hs->ssl; local 1174 SSL *const ssl = hs->ssl; local 1198 SSL *const ssl = hs->ssl; local 1249 SSL *const ssl = hs->ssl; local 1402 SSL *const ssl = hs->ssl; local 1486 SSL *const ssl = hs->ssl; local 1543 SSL *const ssl = hs->ssl; local 1567 SSL *const ssl = hs->ssl; local 1595 SSL *const ssl = hs->ssl; local 1687 SSL *const ssl = hs->ssl; local 1703 SSL *const ssl = hs->ssl; local [all...] |
tls13_server.cc | 22 #include <openssl/ssl.h> 63 SSL *const ssl = hs->ssl; local 70 OPENSSL_PUT_ERROR(SSL, SSL_R_MISSING_KEY_SHARE); 71 ssl_send_alert(ssl, SSL3_AL_FATAL, SSL_AD_MISSING_EXTENSION); 80 ssl_send_alert(ssl, SSL3_AL_FATAL, alert); 97 !CBB_add_u16(&contents, hs->ssl->version) || 106 const SSL *ssl, const SSL_CLIENT_HELLO *client_hello) 152 SSL *const ssl = hs->ssl; local 222 SSL *const ssl = hs->ssl; local 272 SSL *const ssl = hs->ssl; local 356 SSL *const ssl = hs->ssl; local 489 SSL *const ssl = hs->ssl; local 524 SSL *const ssl = hs->ssl; local 559 SSL *const ssl = hs->ssl; local 681 SSL *const ssl = hs->ssl; local 736 SSL *const ssl = hs->ssl; local 752 SSL *const ssl = hs->ssl; local 784 SSL *const ssl = hs->ssl; local 814 SSL *const ssl = hs->ssl; local 848 SSL *const ssl = hs->ssl; local 870 SSL *const ssl = hs->ssl; local [all...] |
tls13_client.cc | 15 #include <openssl/ssl.h> 54 SSL *const ssl = hs->ssl; local 55 assert(ssl->s3->have_version); 57 if (!ssl->method->get_message(ssl, &msg)) { 65 !ssl->method->add_change_cipher_spec(ssl)) { 69 if (!ssl_check_message_type(ssl, msg, SSL3_MT_SERVER_HELLO)) 193 SSL *const ssl = hs->ssl; local 213 SSL *const ssl = hs->ssl; local 399 SSL *const ssl = hs->ssl; local 458 SSL *const ssl = hs->ssl; local 533 SSL *const ssl = hs->ssl; local 551 SSL *const ssl = hs->ssl; local 578 SSL *const ssl = hs->ssl; local 598 SSL *const ssl = hs->ssl; local 623 SSL *const ssl = hs->ssl; local 655 SSL *const ssl = hs->ssl; local 680 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); 200 int SSL_set_srtp_profiles(SSL *ssl, const char *profiles) { 201 return ssl_ctx_make_profiles(profiles, &ssl->srtp_profiles) [all...] |
handoff.cc | 15 #include <openssl/ssl.h> 27 bool SSL_serialize_handoff(const SSL *ssl, CBB *out) { 28 const SSL3_STATE *const s3 = ssl->s3; 29 if (!ssl->server || 50 bool SSL_decline_handoff(SSL *ssl) { 51 const SSL3_STATE *const s3 = ssl->s3; 52 if (!ssl->server || 58 ssl->handoff = false [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> 202 int ssl_client_hello_init(SSL *ssl, SSL_CLIENT_HELLO *out, 205 out->ssl = ssl; 224 if (SSL_is_dtls(out->ssl)) { 304 SSL *const ssl = hs->ssl; local 574 SSL *const ssl = hs->ssl; local 603 SSL *const ssl = hs->ssl; local 665 SSL *const ssl = hs->ssl; local 689 SSL *const ssl = hs->ssl; local 772 SSL *const ssl = hs->ssl; local 806 SSL *const ssl = hs->ssl; local 845 SSL *const ssl = hs->ssl; local 908 SSL *const ssl = hs->ssl; local 944 SSL *const ssl = hs->ssl; local 988 SSL *const ssl = hs->ssl; local 1029 SSL *const ssl = hs->ssl; local 1049 SSL *const ssl = hs->ssl; local 1092 SSL *const ssl = hs->ssl; local 1113 SSL *const ssl = hs->ssl; local 1130 SSL *const ssl = hs->ssl; local 1181 SSL *const ssl = hs->ssl; local 1202 SSL *const ssl = hs->ssl; local 1236 SSL *const ssl = hs->ssl; local 1251 SSL *const ssl = hs->ssl; local 1304 SSL *const ssl = hs->ssl; local 1328 SSL *const ssl = hs->ssl; local 1349 SSL *const ssl = hs->ssl; local 1420 SSL *const ssl = hs->ssl; local 1473 SSL *const ssl = hs->ssl; local 1502 SSL *const ssl = hs->ssl; local 1519 SSL *const ssl = hs->ssl; local 1538 SSL *const ssl = hs->ssl; local 1554 SSL *const ssl = hs->ssl; local 1578 SSL *const ssl = hs->ssl; local 1608 SSL *const ssl = hs->ssl; local 1653 SSL *const ssl = hs->ssl; local 1693 SSL *const ssl = hs->ssl; local 1776 SSL *const ssl = hs->ssl; local 1798 SSL *const ssl = hs->ssl; local 1809 SSL *const ssl = hs->ssl; local 1996 SSL *const ssl = hs->ssl; local 2026 SSL *const ssl = hs->ssl; local 2048 SSL *const ssl = hs->ssl; local 2083 SSL *const ssl = hs->ssl; local 2268 SSL *const ssl = hs->ssl; local 2361 SSL *const ssl = hs->ssl; local 2446 SSL *const ssl = hs->ssl; local 2468 SSL *const ssl = hs->ssl; local 2529 SSL *const ssl = hs->ssl; local 2563 SSL *const ssl = hs->ssl; local 2586 SSL *const ssl = hs->ssl; local 2605 SSL *const ssl = hs->ssl; local 2621 SSL *const ssl = hs->ssl; local 2635 SSL *const ssl = hs->ssl; local 2853 SSL *const ssl = hs->ssl; local 2969 SSL *const ssl = hs->ssl; local 3008 SSL *const ssl = hs->ssl; local 3092 SSL *const ssl = hs->ssl; local 3109 SSL *const ssl = hs->ssl; local 3189 SSL *const ssl = hs->ssl; local 3225 SSL *const ssl = hs->ssl; local 3457 SSL *const ssl = hs->ssl; local 3506 SSL *const ssl = hs->ssl; local 3574 SSL *const ssl = hs->ssl; local 3615 SSL *const ssl = hs->ssl; local 3659 SSL *const ssl = hs->ssl; local [all...] |
ssl_buffer.cc | 15 #include <openssl/ssl.h> 49 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); 64 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); 105 static int dtls_read_buffer_next_packet(SSL *ssl) { 106 SSLBuffer *buf = &ssl->s3->read_buffer; 111 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); 115 // Read a single packet from |ssl->rbio|. |buf->cap()| must fit in an int. 116 int ret = BIO_read(ssl->rbio, buf->data(), static_cast<int>(buf->cap())); 118 ssl->s3->rwstate = SSL_READING [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> 160 // check_ssl_x509_method asserts that |ssl| has the X509-based method 161 // installed. Calling an X509-based method on an |ssl| with a different method 163 static void check_ssl_x509_method(const SSL *ssl) { 164 assert(ssl == NULL || ssl->ctx->x509_method == &ssl_crypto_x509_method) [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/org/conscrypt/javax/net/ssl/ |
TestSSLSessions.java | 16 package org.conscrypt.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/curl/docs/cmdline-opts/ |
proxy-ssl-allow-beast.d | 1 Long: proxy-ssl-allow-beast 5 Same as --ssl-allow-beast but used in HTTPS proxy context.
|
/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;
|