Package com.rabbitmq.client.impl.nio
Class SslEngineHelper
java.lang.Object
com.rabbitmq.client.impl.nio.SslEngineHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
close
(WritableByteChannel channel, SSLEngine engine) static boolean
doHandshake
(WritableByteChannel writeChannel, ReadableByteChannel readChannel, SSLEngine engine) static void
write
(WritableByteChannel socketChannel, SSLEngine engine, ByteBuffer plainOut, ByteBuffer cypherOut)
-
Constructor Details
-
SslEngineHelper
public SslEngineHelper()
-
-
Method Details
-
doHandshake
public static boolean doHandshake(WritableByteChannel writeChannel, ReadableByteChannel readChannel, SSLEngine engine) throws IOException - Throws:
IOException
-
write
public static void write(WritableByteChannel socketChannel, SSLEngine engine, ByteBuffer plainOut, ByteBuffer cypherOut) throws IOException - Throws:
IOException
-
close
- Throws:
IOException
-