Package com.rabbitmq.client.impl.nio
Class SslEngineHelper
java.lang.Object
com.rabbitmq.client.impl.nio.SslEngineHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclose(WritableByteChannel channel, SSLEngine engine) static booleandoHandshake(WritableByteChannel writeChannel, ReadableByteChannel readChannel, SSLEngine engine) static voidwrite(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
-