org.glassfish.grizzly.ssl
Class SSLUtils
java.lang.Object
org.glassfish.grizzly.ssl.SSLUtils
public class SSLUtils
- extends Object
Utility class, which implements the set of useful SSL related operations.
- Author:
- Alexey Stashok
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSLUtils
public SSLUtils()
unwrap
public static SSLEngineResult unwrap(SSLEngine sslEngine,
Buffer securedInBuffer,
Buffer plainBuffer)
throws IOException
- Throws:
IOException
wrap
public static SSLEngineResult wrap(SSLEngine sslEngine,
Buffer plainBuffer,
Buffer securedOutBuffer)
throws IOException
- Throws:
IOException
executeDelegatedTask
public static void executeDelegatedTask(SSLEngine sslEngine)
- Complete hanshakes operations.
- Parameters:
sslEngine - The SSLEngine used to manage the SSL operations.
isHandshaking
public static boolean isHandshaking(SSLEngine sslEngine)
Copyright © 2009 SUN Microsystems. All Rights Reserved.