/libcore/ojluni/src/main/java/javax/net/ssl/ |
KeyManager.java | 26 package javax.net.ssl;
|
ManagerFactoryParameters.java | 26 package javax.net.ssl;
|
TrustManager.java | 26 package javax.net.ssl;
|
StandardConstants.java | 26 package javax.net.ssl; 38 "No javax.net.ssl.StandardConstants instances for you!"); 45 * The SNI extension is a feature that extends the SSL/TLS protocols to
|
HostnameVerifier.java | 26 package javax.net.ssl;
|
/external/boringssl/src/ssl/ |
d1_lib.cc | 57 #include <openssl/ssl.h> 88 bool dtls1_new(SSL *ssl) { 89 if (!ssl3_new(ssl)) { 94 ssl3_free(ssl); 98 ssl->d1 = d1.release(); 105 ssl->version = DTLS1_2_VERSION; 109 void dtls1_free(SSL *ssl) { 110 ssl3_free(ssl); [all...] |
s3_pkt.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> 127 static int do_ssl3_write(SSL *ssl, int type, const uint8_t *in, unsigned len); 129 int ssl3_write_app_data(SSL *ssl, bool *out_needs_handshake, const uint8_t *in, 131 assert(ssl_can_write(ssl)); [all...] |
s3_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 149 #include <openssl/ssl.h> 184 bool ssl3_new(SSL *ssl) { 190 s3->aead_read_ctx = SSLAEADContext::CreateNullCipher(SSL_is_dtls(ssl)); 191 s3->aead_write_ctx = SSLAEADContext::CreateNullCipher(SSL_is_dtls(ssl)); 192 s3->hs = ssl_handshake_new(ssl); [all...] |
ssl_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 141 #include <openssl/ssl.h> 169 OPENSSL_DECLARE_ERROR_REASON(SSL, UNKNOWN_PROTOCOL) 173 OPENSSL_DECLARE_ERROR_REASON(SSL, BLOCK_CIPHER_PAD_IS_WRONG) 174 OPENSSL_DECLARE_ERROR_REASON(SSL, NO_CIPHERS_SPECIFIED) 194 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); 201 void ssl_reset_error_state(SSL *ssl) 286 SSL *const ssl = hs->ssl; local 656 SSL *ssl = (SSL *)OPENSSL_malloc(sizeof(SSL)); local [all...] |
s3_both.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 113 #include <openssl/ssl.h> 135 static bool add_record_to_flight(SSL *ssl, uint8_t type, 138 assert(ssl->s3->pending_flight_offset == 0); 140 if (ssl->s3->pending_flight == nullptr) { 141 ssl->s3->pending_flight.reset(BUF_MEM_new()) [all...] |
bio_ssl.cc | 10 #include <openssl/ssl.h> 15 static SSL *get_ssl(BIO *bio) { 16 return reinterpret_cast<SSL *>(bio->ptr); 20 SSL *ssl = get_ssl(bio); local 21 if (ssl == NULL) { 27 const int ret = SSL_read(ssl, out, outl); 29 switch (SSL_get_error(ssl, ret)) { 60 SSL *ssl = get_ssl(bio) local 94 SSL *ssl = get_ssl(bio); local 141 SSL *ssl = get_ssl(bio); local 156 SSL *ssl = get_ssl(bio); local [all...] |
dtls_method.cc | 57 #include <openssl/ssl.h> 71 static void dtls1_on_handshake_complete(SSL *ssl) { 73 dtls1_stop_timer(ssl); 76 if (ssl->d1->flight_has_reply) { 77 dtls_clear_outgoing_messages(ssl); 81 static bool dtls1_set_read_state(SSL *ssl, UniquePtr<SSLAEADContext> aead_ctx) { 83 if (dtls_has_unprocessed_handshake_data(ssl)) { 84 OPENSSL_PUT_ERROR(SSL, SSL_R_BUFFERED_MESSAGES_ON_CIPHER_CHANGE) [all...] |
handshake.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 113 #include <openssl/ssl.h> 127 SSL_HANDSHAKE::SSL_HANDSHAKE(SSL *ssl_arg) 128 : ssl(ssl_arg), 153 ssl->ctx->x509_method->hs_flush_cached_ca_names(this); 156 UniquePtr<SSL_HANDSHAKE> ssl_handshake_new(SSL *ssl) { 286 SSL *const ssl = hs->ssl; local 381 SSL *const ssl = hs->ssl; local 432 SSL *const ssl = hs->ssl; local 492 SSL *const ssl = hs->ssl; local [all...] |
handshake_server.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 149 #include <openssl/ssl.h> 221 SSL *const ssl = hs->ssl; local 222 assert(!ssl->s3->have_version); 229 OPENSSL_PUT_ERROR(SSL, SSL_R_DECODE_ERROR) 330 SSL *const ssl = hs->ssl; local 360 SSL *const ssl = hs->ssl; local 433 SSL *const ssl = hs->ssl; local 513 SSL *const ssl = hs->ssl; local 573 SSL *const ssl = hs->ssl; local 687 SSL *const ssl = hs->ssl; local 755 SSL *const ssl = hs->ssl; local 843 SSL *const ssl = hs->ssl; local 915 SSL *const ssl = hs->ssl; local 950 SSL *const ssl = hs->ssl; local 1059 SSL *const ssl = hs->ssl; local 1270 SSL *const ssl = hs->ssl; local 1380 SSL *const ssl = hs->ssl; local 1416 SSL *const ssl = hs->ssl; local 1440 SSL *const ssl = hs->ssl; local 1464 SSL *const ssl = hs->ssl; local 1512 SSL *const ssl = hs->ssl; local [all...] |
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> 141 // ssl_needs_record_splitting returns one if |ssl|'s current outgoing cipher 143 static int ssl_needs_record_splitting(const SSL *ssl) { 145 return !ssl->s3->aead_write_ctx->is_null_cipher() && 146 ssl->s3->aead_write_ctx->ProtocolVersion() < TLS1_1_VERSION & [all...] |
d1_pkt.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> 131 ssl_open_record_t dtls1_open_app_data(SSL *ssl, Span<uint8_t> *out, 134 assert(!SSL_in_init(ssl)); 138 auto ret = dtls_open_record(ssl, &type, &record, out_consumed, out_alert, in); 151 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_HANDSHAKE_RECORD) [all...] |
/external/conscrypt/android-stub/src/main/java/javax/net/ssl/ |
SNIServerName.java | 17 package javax.net.ssl;
|
StandardConstants.java | 17 package javax.net.ssl;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
SSLSocketTest.java | 16 package org.apache.harmony.tests.javax.net.ssl; 28 import javax.net.ssl.HandshakeCompletedEvent; 29 import javax.net.ssl.HandshakeCompletedListener; 30 import javax.net.ssl.KeyManager; 31 import javax.net.ssl.KeyManagerFactory; 32 import javax.net.ssl.SSLContext; 33 import javax.net.ssl.SSLServerSocket; 34 import javax.net.ssl.SSLSocket; 35 import javax.net.ssl.SSLSocketFactory; 36 import javax.net.ssl.TrustManager 53 SSLSocket ssl = getSSLSocket(); local 65 SSLSocket ssl = getSSLSocket(InetAddress.getLocalHost(), sport); local 92 SSLSocket ssl = getSSLSocket(InetAddress.getLocalHost(), sport, local 140 SSLSocket ssl = getSSLSocket(InetAddress.getLocalHost().getHostName(), sport); local 174 SSLSocket ssl = getSSLSocket(InetAddress.getLocalHost().getHostName(), sport, local 227 SSLSocket ssl = getSSLSocket(); local 242 SSLSocket ssl = getSSLSocket(); local 266 SSLSocket ssl = getSSLSocket(); local 280 SSLSocket ssl = getSSLSocket(); local 293 SSLSocket ssl = getSSLSocket(); local 305 SSLSocket ssl = getSSLSocket(); local 316 SSLSocket ssl = getSSLSocket(); local 339 SSLSocket ssl = getSSLSocket(); local 348 SSLSocket ssl = getSSLSocket(); local 359 SSLSocket ssl = getSSLSocket(); local 385 SSLSocket ssl = getSSLSocket(); local 409 SSLSocket ssl = getSSLSocket(); local [all...] |
/frameworks/base/core/java/org/apache/http/conn/ssl/ |
X509HostnameVerifier.java | 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/ssl/X509HostnameVerifier.java $ 32 package org.apache.http.conn.ssl; 34 import javax.net.ssl.HostnameVerifier; 35 import javax.net.ssl.SSLException; 36 import javax.net.ssl.SSLSession; 37 import javax.net.ssl.SSLSocket; 43 * server's X.509 certificate. Implements javax.net.ssl.HostnameVerifier, but 45 * take String parameters (instead of javax.net.ssl.HostnameVerifier's 69 void verify(String host, SSLSocket ssl) throws IOException;
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
HandshakeListener.java | 19 import javax.net.ssl.SSLException; 22 * Similar in concept to {@link javax.net.ssl.HandshakeCompletedListener}, but used for listening directly
|
/external/conscrypt/common/src/jni/main/include/conscrypt/ |
scoped_ssl_bio.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_;
|
ssl_error.h | 20 #include <openssl/ssl.h> 25 * Manages the freeing of the SSL error stack. This allows you to 26 * instantiate this object during an SSL call that may fail and not worry 36 SslError(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/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/ |
ConscryptJava6Suite.java | 24 import org.conscrypt.javax.net.ssl.HttpsURLConnectionTest; 25 import org.conscrypt.javax.net.ssl.KeyManagerFactoryTest; 26 import org.conscrypt.javax.net.ssl.KeyStoreBuilderParametersTest; 27 import org.conscrypt.javax.net.ssl.SNIHostNameTest; 28 import org.conscrypt.javax.net.ssl.SSLContextTest; 29 import org.conscrypt.javax.net.ssl.SSLEngineTest; 30 import org.conscrypt.javax.net.ssl.SSLParametersTest; 31 import org.conscrypt.javax.net.ssl.SSLServerSocketFactoryTest; 32 import org.conscrypt.javax.net.ssl.SSLServerSocketTest; 33 import org.conscrypt.javax.net.ssl.SSLSessionContextTest [all...] |
ConscryptSuite.java | 25 import org.conscrypt.javax.net.ssl.HttpsURLConnectionTest; 26 import org.conscrypt.javax.net.ssl.KeyManagerFactoryTest; 27 import org.conscrypt.javax.net.ssl.KeyStoreBuilderParametersTest; 28 import org.conscrypt.javax.net.ssl.SNIHostNameTest; 29 import org.conscrypt.javax.net.ssl.SSLContextTest; 30 import org.conscrypt.javax.net.ssl.SSLEngineTest; 31 import org.conscrypt.javax.net.ssl.SSLParametersTest; 32 import org.conscrypt.javax.net.ssl.SSLServerSocketFactoryTest; 33 import org.conscrypt.javax.net.ssl.SSLServerSocketTest; 34 import org.conscrypt.javax.net.ssl.SSLSessionContextTest [all...] |