Home
last modified time | relevance | path

Searched refs:HandshakeStatus (Results 1 – 9 of 9) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLEngineResultTest.java52 new SSLEngineResult(null, SSLEngineResult.HandshakeStatus.FINISHED, in test_ConstructorLjavax_net_ssl_SSLEngineResult_StatusLjavax_net_ssl_SSLEngineResult_HandshakeStatusII()
66 SSLEngineResult.HandshakeStatus.FINISHED, neg[i], 1); in test_ConstructorLjavax_net_ssl_SSLEngineResult_StatusLjavax_net_ssl_SSLEngineResult_HandshakeStatusII()
74 SSLEngineResult.HandshakeStatus.FINISHED, 1, neg[i]); in test_ConstructorLjavax_net_ssl_SSLEngineResult_StatusLjavax_net_ssl_SSLEngineResult_HandshakeStatusII()
82 SSLEngineResult.HandshakeStatus.FINISHED, 1, 2); in test_ConstructorLjavax_net_ssl_SSLEngineResult_StatusLjavax_net_ssl_SSLEngineResult_HandshakeStatusII()
98 SSLEngineResult.HandshakeStatus [] enHS = in test_bytesConsumed()
99 SSLEngineResult.HandshakeStatus.values(); in test_bytesConsumed()
121 SSLEngineResult.HandshakeStatus [] enHS = in test_bytesProduced()
122 SSLEngineResult.HandshakeStatus.values(); in test_bytesProduced()
144 SSLEngineResult.HandshakeStatus [] enHS = in test_getHandshakeStatus()
145 SSLEngineResult.HandshakeStatus.values(); in test_getHandshakeStatus()
[all …]
DSSLEngineResultHandshakeStatusTest.java34 SSLEngineResult.HandshakeStatus[] enS = SSLEngineResult.HandshakeStatus.values(); in test_SSLEngineResultHandshakeStatus_values()
52 SSLEngineResult.HandshakeStatus enS; in test_SSLEngineResultStatus_valueOf()
57 enS = SSLEngineResult.HandshakeStatus.valueOf(str[i]); in test_SSLEngineResultStatus_valueOf()
67 enS = SSLEngineResult.HandshakeStatus.valueOf(str_invalid[i]); in test_SSLEngineResultStatus_valueOf()
76 enS = SSLEngineResult.HandshakeStatus.valueOf(null); in test_SSLEngineResultStatus_valueOf()
DSSLEngineTest.java36 import javax.net.ssl.SSLEngineResult.HandshakeStatus;
1017 assertEquals(HandshakeStatus.NEED_WRAP, res.getHandshakeStatus()); in test_wrap_ByteBuffer$ByteBuffer_05()
1019 assertEquals(HandshakeStatus.NEED_UNWRAP, res.getHandshakeStatus()); in test_wrap_ByteBuffer$ByteBuffer_05()
1048 private SSLEngineResult.HandshakeStatus status;
1076 public SSLEngineResult.HandshakeStatus getStatus() { in getStatus()
1118 while (status == HandshakeStatus.NEED_UNWRAP) { in run()
1131 while (status == HandshakeStatus.NEED_WRAP) { in run()
1166 SSLEngineResult.HandshakeStatus.FINISHED, in testHandshake()
1169 SSLEngineResult.HandshakeStatus.FINISHED, in testHandshake()
1208 …return clientEngine.getStatus() == HandshakeStatus.FINISHED && serverEngine.getStatus() == Handsha… in doHandshake()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLEngineResult.java108 public static enum HandshakeStatus { enum in SSLEngineResult
155 private final HandshakeStatus handshakeStatus;
179 public SSLEngineResult(Status status, HandshakeStatus handshakeStatus, in SSLEngineResult()
208 final public HandshakeStatus getHandshakeStatus() { in getHandshakeStatus()
DSSLEngine.java1694 public abstract SSLEngineResult.HandshakeStatus getHandshakeStatus(); in getHandshakeStatus()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLEnginePair.java23 import javax.net.ssl.SSLEngineResult.HandshakeStatus;
104 boolean clientDone = client.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING; in connect()
105 boolean serverDone = server.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING; in connect()
168 HandshakeStatus status = engine.getHandshakeStatus(); in handshakeCompleted()
231 if (result.getHandshakeStatus() == HandshakeStatus.FINISHED) { in assertFinishedOnce()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLEngineTest.java35 import javax.net.ssl.SSLEngineResult.HandshakeStatus;
64 return (a.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING in connected()
65 && b.getHandshakeStatus() == HandshakeStatus.NOT_HANDSHAKING in connected()
105 assertEquals(SSLEngineResult.HandshakeStatus.NEED_UNWRAP, sslEngine.getHandshakeStatus()); in test_SSLEngine_underflowsOnEmptyBuffersDuringHandshake()
108 assertEquals(SSLEngineResult.HandshakeStatus.NEED_UNWRAP, result.getHandshakeStatus()); in test_SSLEngine_underflowsOnEmptyBuffersDuringHandshake()
294 assertEquals(sourceCipherSuite, HandshakeStatus.NOT_HANDSHAKING, in assertSendsCorrectly()
303 assertEquals(sourceCipherSuite, HandshakeStatus.NOT_HANDSHAKING, in assertSendsCorrectly()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMySSLContextSpi.java133 public SSLEngineResult.HandshakeStatus getHandshakeStatus() { return null; } in getHandshakeStatus()
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DMySSLContextSpi.java131 public SSLEngineResult.HandshakeStatus getHandshakeStatus() { return null; } in getHandshakeStatus()