HomeSort by relevance Sort by last modified time
    Searched refs:serverEngine (Results 1 - 5 of 5) sorted by null

  /external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
EngineHandshakeBenchmark.java 68 SSLEngine serverEngine = engineType.newServerEngine(cipher);
72 serverApplicationBuffer = bufferType.newApplicationBuffer(serverEngine);
74 serverPacketBuffer = bufferType.newPacketBuffer(serverEngine);
77 engineType.dispose(serverEngine);
EngineWrapBenchmark.java 61 private final SSLEngine serverEngine;
76 serverEngine = engineType.newServerEngine(cipher);
80 serverApplicationBuffer = bufferType.newApplicationBuffer(serverEngine);
82 serverPacketBuffer = bufferType.newPacketBuffer(serverEngine);
91 doEngineHandshake(clientEngine, serverEngine, clientApplicationBuffer, clientPacketBuffer,
102 engineType.dispose(serverEngine);
143 verifyResult(src, serverEngine.unwrap(src, dst));
  /external/conscrypt/openjdk/src/test/java/org/conscrypt/
ConscryptEngineTest.java 117 private SSLEngine serverEngine;
197 serverEngine, encryptedBuffers, new ByteBuffer[] {out});
244 serverEngine, encryptedBuffers, new ByteBuffer[] {decryptedBuffer});
275 clientAuth.apply(serverEngine);
278 assertEquals(HandshakeStatus.NOT_HANDSHAKING, serverEngine.getHandshakeStatus());
282 TestUtils.doEngineHandshake(clientEngine, serverEngine, clientApplicationBuffer,
292 serverEngine = initEngine(serverContext.createSSLEngine(), TEST_CIPHER, false);
294 setBufferAllocator(serverEngine, bufferType.allocator);
300 bufferType.newBuffer(serverEngine.getSession().getApplicationBufferSize());
302 serverPacketBuffer = bufferType.newBuffer(serverEngine.getSession().getPacketBufferSize())
    [all...]
  /external/conscrypt/testing/src/main/java/org/conscrypt/
TestUtils.java 265 public static void doEngineHandshake(SSLEngine clientEngine, SSLEngine serverEngine,
269 serverEngine.beginHandshake();
283 serverResult = serverEngine.wrap(EMPTY_BUFFER, serverPacketBuffer);
284 runDelegatedTasks(serverResult, serverEngine);
313 serverResult = serverEngine.unwrap(clientPacketBuffer, serverAppBuffer);
314 runDelegatedTasks(serverResult, serverEngine);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
SSLEngineTest.java 49 private HandshakeHandler serverEngine;
930 serverEngine.engine.wrap(new ByteBuffer[] { bbs }, bbd);
    [all...]

Completed in 248 milliseconds