Home
last modified time | relevance | path

Searched refs:SSLEngine (Results 1 – 21 of 21) sorted by relevance

/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLEnginePair.java21 import javax.net.ssl.SSLEngine;
35 public final SSLEngine server;
36 public final SSLEngine client;
39 SSLEngine server, in TestSSLEnginePair()
40 SSLEngine client) { in TestSSLEnginePair()
60 SSLEngine[] engines = connect(c, hooks, finished); in create()
64 public static SSLEngine[] connect(TestSSLContext c, Hooks hooks) throws IOException { in connect()
75 public static SSLEngine[] connect(final TestSSLContext c, in connect()
95 SSLEngine client = c.clientContext.createSSLEngine(c.host.getHostName(), c.port); in connect()
96 SSLEngine server = c.serverContext.createSSLEngine(); in connect()
[all …]
DForwardingX509ExtendedKeyManager.java23 import javax.net.ssl.SSLEngine;
63 public String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine) { in chooseEngineClientAlias()
68 public String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine) { in chooseEngineServerAlias()
DTestKeyManager.java25 import javax.net.ssl.SSLEngine;
176 public String chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine e) { in chooseEngineClientAlias()
189 public String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine e) { in chooseEngineServerAlias()
200 private void dumpEngine(SSLEngine engine) { in dumpEngine()
DTestTrustManager.java21 import javax.net.ssl.SSLEngine;
110 public void checkClientTrusted(X509Certificate[] chain, String authType, SSLEngine engine) in checkClientTrusted()
175 public void checkServerTrusted(X509Certificate[] chain, String authType, SSLEngine engine) in checkServerTrusted()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLEngineTest.java34 import javax.net.ssl.SSLEngine;
63 SSLEngine e = getEngine(); in test_Constructor()
76 SSLEngine e = getEngine(null, port); in test_ConstructorLjava_lang_StringI01()
100 SSLEngine e = getEngine(host, port); in test_ConstructorLjava_lang_StringI02()
114 SSLEngine e = getRawEngine(host, port); in test_ConstructorLjava_lang_StringI03()
123 SSLEngine e = getEngine(); in test_getPeerHost()
133 SSLEngine e = getEngine(); in test_getPeerPort()
141 SSLEngine sse = getEngine(); in test_getSupportedProtocols()
153 SSLEngine sse = getEngine(); in test_EnabledProtocols()
173 SSLEngine sse = getEngine(); in test_getSupportedCipherSuites()
[all …]
DSSLContextSpiTest.java26 import javax.net.ssl.SSLEngine;
68 SSLEngine sleng = ssl.engineCreateSSLEngine(); in engineCreateSSLEngine_01()
88 SSLEngine sleng = ssl.engineCreateSSLEngine("localhost", 1080); in engineCreateSSLEngine_02()
100 SSLEngine sleng = ssl.engineCreateSSLEngine("localhost", invalid_port[i]); in engineCreateSSLEngine_02()
197 SSLEngine sleng = ssl.engineCreateSSLEngine("localhost", 1080); in commonTest_02()
DSSLContext2Test.java28 import javax.net.ssl.SSLEngine;
123 SSLEngine sslE = sslC.createSSLEngine(); in checkSSLContext()
124 assertTrue("Not null result",sslE instanceof SSLEngine); in checkSSLContext()
130 assertTrue("Not null result",sslE instanceof SSLEngine); in checkSSLContext()
DSSLContext1Test.java34 import javax.net.ssl.SSLEngine;
149 SSLEngine sslEngine = sslContext.createSSLEngine(); in test_createSSLEngine()
164 SSLEngine sslEngine = sslContext.createSSLEngine("www.fortify.net", 80); in test_createSSLEngineLjava_lang_StringI()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLEngineTest.java22 import javax.net.ssl.SSLEngine;
33 private static class PlainSSLEngine extends SSLEngine {
63 SSLEngine engine = new PlainSSLEngine(); in test_Alpn()
76 new BiFunction<SSLEngine, List<String>, String>() { in test_Alpn()
78 public String apply(SSLEngine sslEngine, List<String> strings) { in test_Alpn()
DFakeSSLContextSpi.java21 import javax.net.ssl.SSLEngine;
48 protected SSLEngine engineCreateSSLEngine(String s, int i) { in engineCreateSSLEngine()
53 protected SSLEngine engineCreateSSLEngine() { in engineCreateSSLEngine()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLEngine.java1039 public abstract class SSLEngine { class
1051 protected SSLEngine() { in SSLEngine() method in SSLEngine
1073 protected SSLEngine(String peerHost, int peerPort) { in SSLEngine() method in SSLEngine
2056 BiFunction<SSLEngine, List<String>, String> selector) { in setHandshakeApplicationProtocolSelector() argument
2076 public BiFunction<SSLEngine, List<String>, String>
DX509ExtendedKeyManager.java68 Principal[] issuers, SSLEngine engine) { in chooseEngineClientAlias()
91 Principal[] issuers, SSLEngine engine) { in chooseEngineServerAlias()
DX509ExtendedTrustManager.java186 String authType, SSLEngine engine) throws CertificateException; in checkClientTrusted()
232 String authType, SSLEngine engine) throws CertificateException; in checkServerTrusted()
DSSLContextSpi.java98 protected abstract SSLEngine engineCreateSSLEngine(); in engineCreateSSLEngine()
120 protected abstract SSLEngine engineCreateSSLEngine(String host, int port); in engineCreateSSLEngine()
DSSLContext.java371 public final SSLEngine createSSLEngine() { in createSSLEngine()
403 public final SSLEngine createSSLEngine(String peerHost, int peerPort) { in createSSLEngine()
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DSSLContextSpiImpl.java25 import javax.net.ssl.SSLEngine;
78 public SSLEngine engineCreateSSLEngine(String host, int port) { in engineCreateSSLEngine()
91 public SSLEngine engineCreateSSLEngine() { in engineCreateSSLEngine()
DMySSLContextSpi.java25 import javax.net.ssl.SSLEngine;
93 protected SSLEngine engineCreateSSLEngine(String host, int port) { in engineCreateSSLEngine()
100 protected SSLEngine engineCreateSSLEngine() { in engineCreateSSLEngine()
107 public class tmpSSLEngine extends SSLEngine {
/libcore/tools/docs/crypto/src/java/libcore/java/security/
DListProviders.java33 import javax.net.ssl.SSLEngine;
134 SSLEngine engine = sslContext.createSSLEngine(); in main()
159 public String chooseServerKeyIdentityHint(SSLEngine engine) { return null; } in chooseServerKeyIdentityHint()
161 … public String chooseClientKeyIdentity(String identityHint, SSLEngine engine) { return null; } in chooseClientKeyIdentity()
163 … public SecretKey getKey(String identityHint, String identity, SSLEngine engine) { return null; } in getKey()
/libcore/api/
Dcurrent.txt19474 method public final javax.net.ssl.SSLEngine createSSLEngine();
19475 method public final javax.net.ssl.SSLEngine createSSLEngine(String, int);
19494 method protected abstract javax.net.ssl.SSLEngine engineCreateSSLEngine();
19495 method protected abstract javax.net.ssl.SSLEngine engineCreateSSLEngine(String, int);
19505 public abstract class SSLEngine {
19506 ctor protected SSLEngine();
19507 ctor protected SSLEngine(String, int);
19517 …method public java.util.function.BiFunction<javax.net.ssl.SSLEngine,java.util.List<java.lang.Strin…
19534 …ApplicationProtocolSelector(java.util.function.BiFunction<javax.net.ssl.SSLEngine,java.util.List<j…
19767 …ublic String chooseEngineClientAlias(String[], java.security.Principal[], javax.net.ssl.SSLEngine);
[all …]
/libcore/
Dopenjdk_java_files.bp1345 "ojluni/src/main/java/javax/net/ssl/SSLEngine.java",
DEXPECTED_UPSTREAM1342 ojluni/src/main/java/javax/net/ssl/SSLEngine.java,jdk8u/jdk8u121-b13,jdk/src/share/classes/javax/ne…