Home
last modified time | relevance | path

Searched refs:ssl (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Dialer/java/com/android/voicemail/impl/mail/
DMailTransport.java37 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() local
247 ssl.startHandshake(); in verifyHostname()
249 SSLSession session = ssl.getSession(); in verifyHostname()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_tls_frontend.cpp212 bssl::UniquePtr<SSL> ssl(SSL_new(ctx_.get())); in requestHandler() local
213 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() argument
235 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()
Ddns_tls_frontend.h72 int handleRequests(SSL* ssl, int clientFd);
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainTestActivity.java37 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;
/packages/modules/DnsResolver/
DDnsTlsSocket.cpp200 bssl::UniquePtr<SSL> ssl(SSL_new(mSslCtx.get())); in sslConnect() local
203 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()
DDnsTlsSessionCache.cpp26 bool DnsTlsSessionCache::prepareSsl(SSL* ssl) { in prepareSsl() argument
29 int ret = SSL_set_ex_data(ssl, 0, this); in prepareSsl()
39 int DnsTlsSessionCache::newSessionCallback(SSL* ssl, SSL_SESSION* session) { in newSessionCallback() argument
40 if (!ssl || !session) { in newSessionCallback()
45 SSL_get_ex_data(ssl, 0)); in newSessionCallback()
DDnsTlsSessionCache.h37 bool prepareSsl(SSL* _Nonnull ssl);
48 static int newSessionCallback(SSL* _Nullable ssl, SSL_SESSION* _Nullable session);
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeCertPayload.java40 import javax.net.ssl.TrustManager;
41 import javax.net.ssl.TrustManagerFactory;
42 import javax.net.ssl.X509TrustManager;
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DRealSystemFacade.java39 import javax.net.ssl.SSLContext;
40 import javax.net.ssl.TrustManager;
DSystemFacade.java30 import javax.net.ssl.SSLContext;
DDownloadThread.java94 import javax.net.ssl.HttpsURLConnection;
95 import javax.net.ssl.SSLContext;
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DFakeSystemFacade.java31 import javax.net.ssl.SSLContext;
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
DImapConnection.java39 import javax.net.ssl.SSLException;
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java196 import javax.net.ssl.SSLHandshakeException;
/packages/inputmethods/LatinIME/dictionaries/
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...
Dsv_wordlist.combined.gz1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...