public final class SSLUtils
extends java.lang.Object
| Constructor and Description |
|---|
SSLUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
executeDelegatedTask(javax.net.ssl.SSLEngine sslEngine)
Complete handshakes operations.
|
static SSLConnectionContext |
getSslConnectionContext(Connection connection) |
static javax.net.ssl.SSLEngine |
getSSLEngine(Connection connection) |
static int |
getSSLPacketSize(Buffer buf) |
static javax.net.ssl.SSLEngineResult |
handshakeUnwrap(SSLConnectionContext sslCtx,
Buffer inputBuffer,
Buffer tmpOutputBuffer) |
static Buffer |
handshakeWrap(Connection connection,
SSLConnectionContext sslCtx,
Buffer netBuffer) |
static boolean |
isHandshaking(javax.net.ssl.SSLEngine sslEngine) |
static void |
setSSLEngine(Connection connection,
javax.net.ssl.SSLEngine sslEngine) |
public static SSLConnectionContext getSslConnectionContext(Connection connection)
public static javax.net.ssl.SSLEngine getSSLEngine(Connection connection)
public static void setSSLEngine(Connection connection, javax.net.ssl.SSLEngine sslEngine)
public static int getSSLPacketSize(Buffer buf) throws javax.net.ssl.SSLException
javax.net.ssl.SSLExceptionpublic static void executeDelegatedTask(javax.net.ssl.SSLEngine sslEngine)
sslEngine - The SSLEngine used to manage the SSL operations.public static boolean isHandshaking(javax.net.ssl.SSLEngine sslEngine)
public static javax.net.ssl.SSLEngineResult handshakeUnwrap(SSLConnectionContext sslCtx, Buffer inputBuffer, Buffer tmpOutputBuffer) throws javax.net.ssl.SSLException
javax.net.ssl.SSLExceptionpublic static Buffer handshakeWrap(Connection connection, SSLConnectionContext sslCtx, Buffer netBuffer) throws javax.net.ssl.SSLException
javax.net.ssl.SSLExceptionCopyright © 2013 Oracle Corporation. All Rights Reserved.