Home
last modified time | relevance | path

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

12

/cts/tests/tests/net/src/android/net/http/cts/
DSslCertificateTest.java192 SslCertificate ssl = new SslCertificate("c=129", "e=weji", date1, date2); in testState() local
193 Bundle saved = SslCertificate.saveState(ssl); in testState()
203 assertEquals(ssl.getValidNotAfter(), restored.getValidNotAfter()); in testState()
204 assertEquals(ssl.getValidNotBefore(), restored.getValidNotBefore()); in testState()
214 SslCertificate ssl = new SslCertificate(TO, BY, date1, date2); in testSslCertificate() local
215 DName issuedTo = ssl.getIssuedTo(); in testSslCertificate()
216 DName issuedBy = ssl.getIssuedBy(); in testSslCertificate()
228 assertEquals(date1, ssl.getValidNotBeforeDate()); in testSslCertificate()
229 assertEquals(date2, ssl.getValidNotAfterDate()); in testSslCertificate()
232 assertEquals(EXPECTED, ssl.toString()); in testSslCertificate()
[all …]
DX509TrustManagerExtensionsTest.java25 import javax.net.ssl.TrustManager;
26 import javax.net.ssl.TrustManagerFactory;
27 import javax.net.ssl.X509TrustManager;
DSslCertificate_DNameTest.java34 SslCertificate ssl = new SslCertificate(TO, BY, DateFormat.getInstance().format( in testDName() local
36 DName issuedTo = ssl.getIssuedTo(); in testDName()
/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/
DTestUtils.java32 import javax.net.ssl.SSLContext;
33 import javax.net.ssl.SSLHandshakeException;
34 import javax.net.ssl.TrustManager;
35 import javax.net.ssl.TrustManagerFactory;
36 import javax.net.ssl.X509TrustManager;
/cts/libs/testserver/src/android/webkit/cts/
DTestWebServer.java49 import javax.net.ssl.HostnameVerifier;
50 import javax.net.ssl.HttpsURLConnection;
51 import javax.net.ssl.KeyManager;
52 import javax.net.ssl.KeyManagerFactory;
53 import javax.net.ssl.SSLContext;
54 import javax.net.ssl.SSLSession;
55 import javax.net.ssl.X509TrustManager;
109 public TestWebServer(boolean ssl) throws Exception { in TestWebServer() argument
110 mSsl = ssl; in TestWebServer()
548 public ServerThread(TestWebServer server, boolean ssl) throws Exception { in ServerThread() argument
[all …]
DCtsTestServer.java80 import javax.net.ssl.HostnameVerifier;
81 import javax.net.ssl.HttpsURLConnection;
82 import javax.net.ssl.KeyManager;
83 import javax.net.ssl.KeyManagerFactory;
84 import javax.net.ssl.SSLContext;
85 import javax.net.ssl.SSLServerSocket;
86 import javax.net.ssl.SSLSession;
87 import javax.net.ssl.X509TrustManager;
178 public CtsTestServer(Context context, boolean ssl) throws Exception { in CtsTestServer() argument
179 this(context, ssl ? SslMode.NO_CLIENT_AUTH : SslMode.INSECURE); in CtsTestServer()
/cts/tests/tests/networksecurityconfig/networksecurityconfig-downloadmanager/src/android/security/net/config/cts/
DDownloadManagerTest.java54 import javax.net.ssl.KeyManagerFactory;
55 import javax.net.ssl.SSLContext;
56 import javax.net.ssl.SSLServerSocket;
57 import javax.net.ssl.TrustManager;
58 import javax.net.ssl.TrustManagerFactory;
59 import javax.net.ssl.X509TrustManager;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java60 import javax.net.ssl.HttpsURLConnection;
61 import javax.net.ssl.KeyManager;
62 import javax.net.ssl.KeyManagerFactory;
63 import javax.net.ssl.SSLContext;
64 import javax.net.ssl.SSLSocketFactory;
65 import javax.net.ssl.TrustManager;
66 import javax.net.ssl.TrustManagerFactory;
67 import javax.net.ssl.X509ExtendedKeyManager;
68 import javax.net.ssl.X509TrustManager;
71 import libcore.javax.net.ssl.TestSSLContext;
/cts/tests/tests/net/src/android/net/cts/
DSSLCertificateSocketFactoryTest.java34 import javax.net.ssl.HostnameVerifier;
35 import javax.net.ssl.HttpsURLConnection;
36 import javax.net.ssl.SSLPeerUnverifiedException;
37 import javax.net.ssl.SSLSession;
38 import libcore.javax.net.ssl.SSLConfigurationAsserts;
/cts/tests/tests/security/src/android/security/cts/
DConscryptIntermediateVerificationTest.java31 import javax.net.ssl.TrustManager;
32 import javax.net.ssl.TrustManagerFactory;
33 import javax.net.ssl.X509TrustManager;
DCertBlacklistTest.java29 import javax.net.ssl.TrustManager;
30 import javax.net.ssl.TrustManagerFactory;
31 import javax.net.ssl.X509TrustManager;
DX509CertChainBuildingTest.java35 import javax.net.ssl.TrustManager;
36 import javax.net.ssl.TrustManagerFactory;
37 import javax.net.ssl.X509TrustManager;
/cts/tests/tests/networksecurityconfig/networksecurityconfig-resourcesrc/src/android/security/net/config/cts/
DResourceSourceTest.java29 import javax.net.ssl.TrustManager;
30 import javax.net.ssl.TrustManagerFactory;
31 import javax.net.ssl.X509TrustManager;
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DCaCertManagementTest.java31 import javax.net.ssl.TrustManager;
32 import javax.net.ssl.TrustManagerFactory;
33 import javax.net.ssl.X509TrustManager;
/cts/tests/core/runner-axt/src/com/android/cts/runner/
DCtsTestRunListener.java49 import javax.net.ssl.HostnameVerifier;
50 import javax.net.ssl.HttpsURLConnection;
51 import javax.net.ssl.SSLSocketFactory;
/cts/tests/core/runner/src/com/android/cts/runner/
DCtsTestRunListener.java49 import javax.net.ssl.HostnameVerifier;
50 import javax.net.ssl.HttpsURLConnection;
51 import javax.net.ssl.SSLSocketFactory;
/cts/tests/tests/net/src/org/apache/http/conn/ssl/cts/
DAbstractVerifierTest.java17 package org.apache.http.conn.ssl.cts;
22 import org.apache.http.conn.ssl.AbstractVerifier;
/cts/tests/tests/networksecurityconfig/networksecurityconfig-cleartext/src/android/security/net/config/cts/
DCleartextPermittedTest.java21 import javax.net.ssl.X509TrustManager;
/cts/tests/tests/networksecurityconfig/networksecurityconfig-cleartext-pre-P/src/android/security/net/config/cts/
DCleartextPermittedTest.java21 import javax.net.ssl.X509TrustManager;
/cts/tests/tests/networksecurityconfig/networksecurityconfig-basic-domain/src/android/security/net/config/cts/
DDomainConfigTest.java21 import javax.net.ssl.X509TrustManager;
/cts/hostsidetests/incident/apps/netstatsapp/src/com/android/server/cts/netstats/
DNetstatsDeviceTest.java28 import javax.net.ssl.HttpsURLConnection;
/cts/apps/CtsVerifier/
Dcreate_test_certs.sh30 cat /etc/ssl/openssl.cnf <(printf "\n[SAN]\nsubjectAltName=$SAN") \
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java67 import javax.net.ssl.KeyManager;
68 import javax.net.ssl.SSLContext;
69 import javax.net.ssl.SSLEngine;
70 import javax.net.ssl.SSLServerSocket;
71 import javax.net.ssl.SSLSocket;
72 import javax.net.ssl.X509ExtendedKeyManager;
76 import libcore.javax.net.ssl.TestKeyManager;
77 import libcore.javax.net.ssl.TestSSLContext;
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewSslTest.java50 import javax.net.ssl.X509TrustManager;
/cts/tools/release-parser/tests/resources/
DCtsJniTestCases.apk.pb.txt2017 name: "javax.net.ssl.HttpsURLConnection"
2020 return_type: "javax.net.ssl.HostnameVerifier"
2024 return_type: "javax.net.ssl.SSLSocketFactory"
2028 parameters: "javax.net.ssl.HostnameVerifier"
2033 parameters: "javax.net.ssl.SSLSocketFactory"

12