Home
last modified time | relevance | path

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

/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()
DSslCertificate_DNameTest.java34 SslCertificate ssl = new SslCertificate(TO, BY, DateFormat.getInstance().format( in testDName() local
36 DName issuedTo = ssl.getIssuedTo(); in testDName()
/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.java83 import javax.net.ssl.HostnameVerifier;
84 import javax.net.ssl.HttpsURLConnection;
85 import javax.net.ssl.KeyManager;
86 import javax.net.ssl.KeyManagerFactory;
87 import javax.net.ssl.SSLContext;
88 import javax.net.ssl.SSLServerSocket;
89 import javax.net.ssl.SSLSession;
90 import javax.net.ssl.X509TrustManager;
181 public CtsTestServer(Context context, boolean ssl) throws Exception { in CtsTestServer() argument
182 this(context, ssl ? SslMode.NO_CLIENT_AUTH : SslMode.INSECURE); in CtsTestServer()
/cts/tests/tests/net/src/android/net/cts/
DSSLCertificateSocketFactoryTest.java24 import javax.net.ssl.SSLPeerUnverifiedException;
29 import libcore.javax.net.ssl.SSLConfigurationAsserts;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java58 import javax.net.ssl.HttpsURLConnection;
59 import javax.net.ssl.KeyManager;
60 import javax.net.ssl.KeyManagerFactory;
61 import javax.net.ssl.SSLContext;
62 import javax.net.ssl.SSLSocketFactory;
63 import javax.net.ssl.X509ExtendedKeyManager;
66 import libcore.javax.net.ssl.TestSSLContext;
/cts/tests/core/runner/src/com/android/cts/runner/
DCtsTestRunListener.java48 import javax.net.ssl.HostnameVerifier;
49 import javax.net.ssl.HttpsURLConnection;
50 import javax.net.ssl.SSLSocketFactory;
/cts/tests/tests/security/src/android/security/cts/
DOpenSSLHeartbleedTest.java50 import javax.net.ssl.KeyManager;
51 import javax.net.ssl.SSLContext;
52 import javax.net.ssl.SSLException;
53 import javax.net.ssl.SSLServerSocket;
54 import javax.net.ssl.SSLSocket;
55 import javax.net.ssl.TrustManager;
56 import javax.net.ssl.X509KeyManager;
57 import javax.net.ssl.X509TrustManager;
DOpenSSLEarlyCCSTest.java52 import javax.net.ssl.KeyManager;
53 import javax.net.ssl.SSLContext;
54 import javax.net.ssl.SSLServerSocket;
55 import javax.net.ssl.SSLSocket;
56 import javax.net.ssl.TrustManager;
/cts/tools/signature-tools/
Dsig-create100 javax.net.ssl \
Dsig-check103 javax.net.ssl \
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java65 import javax.net.ssl.KeyManager;
66 import javax.net.ssl.SSLContext;
67 import javax.net.ssl.SSLServerSocket;
68 import javax.net.ssl.SSLSocket;
69 import javax.net.ssl.X509ExtendedKeyManager;
73 import libcore.javax.net.ssl.TestKeyManager;
74 import libcore.javax.net.ssl.TestSSLContext;
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java42 import javax.net.ssl.HttpsURLConnection;
/cts/tools/dex-tools/dex/
Dclasses0.out.dex24794 @dalvik.annotation.Throws (value =Ljavax/net/ssl/SSLPeerUnverifiedException; )
24797 @dalvik.annotation.Throws (value =Ljavax/net/ssl/SSLPeerUnverifiedException; )
61293 public abstract interface class javax.net.ssl.ManagerFactoryParameters extends java.lang.Object
61301 public class javax.net.ssl.CertPathTrustManagerParameters extends java.lang.Object implements javax…
61316 public class javax.net.ssl.SSLContext extends java.lang.Object
61328 private final javax.net.ssl.SSLContextSpi spiImpl
61334 javax.net.ssl.SSLContextSpi
61338 public static javax.net.ssl.SSLContext getInstance(
61341 public static javax.net.ssl.SSLContext getInstance(
61345 public static javax.net.ssl.SSLContext getInstance(
[all …]
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewSslTest.java49 import javax.net.ssl.X509TrustManager;