Home
last modified time | relevance | path

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

/cts/tests/tests/apache-http/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/security/src/android/security/cts/
DCVE_2021_0341.java42 import javax.net.ssl.HostnameVerifier;
43 import javax.net.ssl.HttpsURLConnection;
44 import javax.net.ssl.SSLPeerUnverifiedException;
45 import javax.net.ssl.SSLSession;
46 import javax.net.ssl.SSLSessionBindingEvent;
47 import javax.net.ssl.SSLSessionBindingListener;
48 import javax.net.ssl.SSLSessionContext;
DConscryptIntermediateVerificationTest.java31 import javax.net.ssl.TrustManager;
32 import javax.net.ssl.TrustManagerFactory;
33 import javax.net.ssl.X509TrustManager;
DCertBlocklistTest.java29 import javax.net.ssl.TrustManager;
30 import javax.net.ssl.TrustManagerFactory;
31 import javax.net.ssl.X509TrustManager;
DX509CertChainBuildingTest.java34 import javax.net.ssl.TrustManager;
35 import javax.net.ssl.TrustManagerFactory;
36 import javax.net.ssl.X509TrustManager;
/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/
DTestUtils.java37 import javax.net.ssl.SSLContext;
38 import javax.net.ssl.SSLHandshakeException;
39 import javax.net.ssl.SSLSocket;
40 import javax.net.ssl.TrustManager;
41 import javax.net.ssl.TrustManagerFactory;
42 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/networksecurityconfig/networksecurityconfig-resourcesrc/src/android/security/net/config/cts/
DResourceSourceTest.java38 import javax.net.ssl.TrustManager;
39 import javax.net.ssl.TrustManagerFactory;
40 import javax.net.ssl.X509TrustManager;
/cts/tests/tests/networksecurityconfig/networksecurityconfig-downloadmanager/src/android/security/net/config/cts/
DDownloadManagerTest.java57 import javax.net.ssl.KeyManagerFactory;
58 import javax.net.ssl.SSLContext;
59 import javax.net.ssl.SSLServerSocket;
60 import javax.net.ssl.TrustManagerFactory;
/cts/tests/core/runner-axt/src/com/android/cts/runner/
DCtsLibcoreTestRunListener.java44 import javax.net.ssl.HostnameVerifier;
45 import javax.net.ssl.HttpsURLConnection;
46 import javax.net.ssl.SSLSocketFactory;
/cts/tests/tests/networksecurityconfig/networksecurityconfig-basic-domain/src/android/security/net/config/cts/
DDomainConfigTest.java29 import javax.net.ssl.X509TrustManager;
/cts/tests/tests/apache-http/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/apps/CtsVerifier/
Dcreate_test_certs.sh30 cat /etc/ssl/openssl.cnf <(printf "\n[SAN]\nsubjectAltName=$SAN") \
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java88 import javax.net.ssl.HostnameVerifier;
89 import javax.net.ssl.HttpsURLConnection;
90 import javax.net.ssl.KeyManager;
91 import javax.net.ssl.KeyManagerFactory;
92 import javax.net.ssl.SSLContext;
93 import javax.net.ssl.SSLServerSocket;
94 import javax.net.ssl.SSLSession;
95 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/devicepolicy/src/android/devicepolicy/cts/
DCaCertManagementTest.java65 import javax.net.ssl.TrustManager;
66 import javax.net.ssl.TrustManagerFactory;
67 import javax.net.ssl.X509TrustManager;
/cts/tests/libcore/luni/
DAndroid.bp589 "com.android.org.conscrypt.javax.net.ssl",
591 "org.apache.harmony.tests.javax.net.ssl",
592 "libcore.javax.net.ssl",
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java43 import libcore.javax.net.ssl.TestKeyManager;
44 import libcore.javax.net.ssl.TestSSLContext;
94 import javax.net.ssl.KeyManager;
95 import javax.net.ssl.SSLContext;
96 import javax.net.ssl.SSLEngine;
97 import javax.net.ssl.SSLServerSocket;
98 import javax.net.ssl.SSLSocket;
99 import javax.net.ssl.X509ExtendedKeyManager;
/cts/libs/webkit-shared/src/android/webkit/cts/
DSharedWebViewTestEnvironment.java44 import javax.net.ssl.X509TrustManager;
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java90 import libcore.javax.net.ssl.TestSSLContext;
91 import libcore.javax.net.ssl.TestSSLSocketPair;
106 import javax.net.ssl.SSLSocket;
/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"
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt28827 @Deprecated public class SSLCertificateSocketFactory extends javax.net.ssl.SSLSocketFactory {
28835 …method @Deprecated public static javax.net.ssl.SSLSocketFactory getDefault(int, android.net.SSLSes…
28837 …method @Deprecated public static javax.net.ssl.SSLSocketFactory getInsecure(int, android.net.SSLSe…
28841 method @Deprecated public void setKeyManagers(javax.net.ssl.KeyManager[]);
28843 method @Deprecated public void setTrustManagers(javax.net.ssl.TrustManager[]);
29145 …ctor public X509TrustManagerExtensions(javax.net.ssl.X509TrustManager) throws java.lang.IllegalArg…
62427 package org.apache.http.conn.ssl {
62429 …@Deprecated public abstract class AbstractVerifier implements org.apache.http.conn.ssl.X509Hostnam…
62435 …method @Deprecated public final void verify(String, javax.net.ssl.SSLSocket) throws java.io.IOExce…
62436 method @Deprecated public final boolean verify(String, javax.net.ssl.SSLSession);
[all …]