Searched refs:ssl (Results 1 – 17 of 17) sorted by relevance
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;246 SSLSocket ssl = (SSLSocket) socket; in verifyHostname() local247 ssl.startHandshake(); in verifyHostname()249 SSLSession session = ssl.getSession(); in verifyHostname()
212 bssl::UniquePtr<SSL> ssl(SSL_new(ctx_.get())); in requestHandler() local213 SSL_set_fd(ssl.get(), client.get()); in requestHandler()216 if (SSL_accept(ssl.get()) <= 0) { in requestHandler()223 queries_ += handleRequests(ssl.get(), client.get()); in requestHandler()230 int DnsTlsFrontend::handleRequests(SSL* ssl, int clientFd) { in handleRequests() argument235 if (SSL_read(ssl, &queryHeader, 2) != 2) { in handleRequests()243 int ret = SSL_read(ssl, query + qbytes, qlen - qbytes); in handleRequests()265 if (SSL_write(ssl, responseHeader, 2) != 2) { in handleRequests()269 if (SSL_write(ssl, recv_buffer, rlen) != rlen) { in handleRequests()
72 int handleRequests(SSL* ssl, int clientFd);
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;
200 bssl::UniquePtr<SSL> ssl(SSL_new(mSslCtx.get())); in sslConnect() local203 SSL_set_bio(ssl.get(), bio.get(), bio.get()); in sslConnect()206 if (!mCache->prepareSsl(ssl.get())) { in sslConnect()212 if (SSL_set_tlsext_host_name(ssl.get(), mServer.name.c_str()) != 1) { in sslConnect()216 X509_VERIFY_PARAM* param = SSL_get0_param(ssl.get()); in sslConnect()222 SSL_set_verify(ssl.get(), SSL_VERIFY_PEER, nullptr); in sslConnect()228 SSL_set_session(ssl.get(), session.get()); in sslConnect()235 int ret = SSL_connect(ssl.get()); in sslConnect()239 const int ssl_err = SSL_get_error(ssl.get(), ret); in sslConnect()269 return ssl; in sslConnect()
26 bool DnsTlsSessionCache::prepareSsl(SSL* ssl) { in prepareSsl() argument29 int ret = SSL_set_ex_data(ssl, 0, this); in prepareSsl()39 int DnsTlsSessionCache::newSessionCallback(SSL* ssl, SSL_SESSION* session) { in newSessionCallback() argument40 if (!ssl || !session) { in newSessionCallback()45 SSL_get_ex_data(ssl, 0)); in newSessionCallback()
37 bool prepareSsl(SSL* _Nonnull ssl);48 static int newSessionCallback(SSL* _Nullable ssl, SSL_SESSION* _Nullable session);
40 import javax.net.ssl.TrustManager;41 import javax.net.ssl.TrustManagerFactory;42 import javax.net.ssl.X509TrustManager;
39 import javax.net.ssl.SSLContext;40 import javax.net.ssl.TrustManager;
30 import javax.net.ssl.SSLContext;
94 import javax.net.ssl.HttpsURLConnection;95 import javax.net.ssl.SSLContext;
31 import javax.net.ssl.SSLContext;
39 import javax.net.ssl.SSLException;
196 import javax.net.ssl.SSLHandshakeException;
1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ...
1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...