Package com.rabbitmq.client.impl.nio
Class SslEngineHelper
- java.lang.Object
-
- com.rabbitmq.client.impl.nio.SslEngineHelper
-
public class SslEngineHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description SslEngineHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
close(WritableByteChannel channel, SSLEngine engine)
static boolean
doHandshake(SocketChannel socketChannel, SSLEngine engine)
static void
write(WritableByteChannel socketChannel, SSLEngine engine, ByteBuffer plainOut, ByteBuffer cypherOut)
-
-
-
Method Detail
-
doHandshake
public static boolean doHandshake(SocketChannel socketChannel, SSLEngine engine) throws IOException
- Throws:
IOException
-
write
public static void write(WritableByteChannel socketChannel, SSLEngine engine, ByteBuffer plainOut, ByteBuffer cypherOut) throws IOException
- Throws:
IOException
-
close
public static void close(WritableByteChannel channel, SSLEngine engine) throws IOException
- Throws:
IOException
-
-