public class SslEngineHelper extends Object
Constructor and Description |
---|
SslEngineHelper() |
Modifier and Type | Method and Description |
---|---|
static 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) |
public static boolean doHandshake(WritableByteChannel writeChannel, ReadableByteChannel readChannel, SSLEngine engine) throws IOException
IOException
public static void write(WritableByteChannel socketChannel, SSLEngine engine, ByteBuffer plainOut, ByteBuffer cypherOut) throws IOException
IOException
public static void close(WritableByteChannel channel, SSLEngine engine) throws IOException
IOException
Copyright © 2022 VMware, Inc. or its affiliates.. All rights reserved.