/cts/tests/tests/apache-http/src/android/net/http/cts/ |
D | SslCertificateTest.java | 192 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 …]
|
D | X509TrustManagerExtensionsTest.java | 25 import javax.net.ssl.TrustManager; 26 import javax.net.ssl.TrustManagerFactory; 27 import javax.net.ssl.X509TrustManager;
|
D | SslCertificate_DNameTest.java | 34 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/ |
D | TestUtils.java | 32 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/tests/tests/security/src/android/security/cts/ |
D | ConscryptIntermediateVerificationTest.java | 31 import javax.net.ssl.TrustManager; 32 import javax.net.ssl.TrustManagerFactory; 33 import javax.net.ssl.X509TrustManager;
|
D | CertBlacklistTest.java | 29 import javax.net.ssl.TrustManager; 30 import javax.net.ssl.TrustManagerFactory; 31 import javax.net.ssl.X509TrustManager;
|
D | X509CertChainBuildingTest.java | 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/ |
D | TestWebServer.java | 49 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 …]
|
D | CtsTestServer.java | 87 import javax.net.ssl.HostnameVerifier; 88 import javax.net.ssl.HttpsURLConnection; 89 import javax.net.ssl.KeyManager; 90 import javax.net.ssl.KeyManagerFactory; 91 import javax.net.ssl.SSLContext; 92 import javax.net.ssl.SSLServerSocket; 93 import javax.net.ssl.SSLSession; 94 import javax.net.ssl.X509TrustManager; 185 public CtsTestServer(Context context, boolean ssl) throws Exception { in CtsTestServer() argument 186 this(context, ssl ? SslMode.NO_CLIENT_AUTH : SslMode.INSECURE); in CtsTestServer()
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-resourcesrc/src/android/security/net/config/cts/ |
D | ResourceSourceTest.java | 29 import javax.net.ssl.TrustManager; 30 import javax.net.ssl.TrustManagerFactory; 31 import javax.net.ssl.X509TrustManager;
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-cleartext-pre-P/src/android/security/net/config/cts/ |
D | CleartextPermittedTest.java | 21 import javax.net.ssl.X509TrustManager;
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-cleartext/src/android/security/net/config/cts/ |
D | CleartextPermittedTest.java | 21 import javax.net.ssl.X509TrustManager;
|
/cts/tests/tests/networksecurityconfig/networksecurityconfig-basic-domain/src/android/security/net/config/cts/ |
D | DomainConfigTest.java | 21 import javax.net.ssl.X509TrustManager;
|
/cts/tests/tests/apache-http/src/org/apache/http/conn/ssl/cts/ |
D | AbstractVerifierTest.java | 17 package org.apache.http.conn.ssl.cts; 22 import org.apache.http.conn.ssl.AbstractVerifier;
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | CaCertManagementTest.java | 52 import javax.net.ssl.TrustManager; 53 import javax.net.ssl.TrustManagerFactory; 54 import javax.net.ssl.X509TrustManager;
|
/cts/apps/CtsVerifier/ |
D | create_test_certs.sh | 30 cat /etc/ssl/openssl.cnf <(printf "\n[SAN]\nsubjectAltName=$SAN") \
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyPairGeneratorTest.java | 70 import javax.net.ssl.KeyManager; 71 import javax.net.ssl.SSLContext; 72 import javax.net.ssl.SSLEngine; 73 import javax.net.ssl.SSLServerSocket; 74 import javax.net.ssl.SSLSocket; 75 import javax.net.ssl.X509ExtendedKeyManager; 79 import libcore.javax.net.ssl.TestKeyManager; 80 import libcore.javax.net.ssl.TestSSLContext;
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewSslTest.java | 55 import javax.net.ssl.X509TrustManager;
|
/cts/tools/release-parser/tests/resources/ |
D | CtsJniTestCases.apk.pb.txt | 2017 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"
|