|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.buildforge.services.common.ssl.BuildForgeSSLEngine
public class BuildForgeSSLEngine
Field Summary | |
---|---|
static int |
DEFAULT_SO_TIMEOUT
|
static int |
MAX_RETRIES
|
static int |
WAIT_TIME
|
Method Summary | |
---|---|
void |
close()
Closes down this encrypted conversation. |
javax.net.ssl.SSLSession |
getSession()
Returns the SSLSession |
void |
init()
Initializes the engine for use - this MUST be called before any other methods are invoked. |
int |
read(java.nio.ByteBuffer buf)
Reads decrypted data into the provided buffer, from its current position to its limit (reading up to remaining() number of bytes). |
int |
write(java.nio.ByteBuffer buf)
Writes data (all bytes from position() to limit() in the provided buffer) into the encrypted network stream |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_SO_TIMEOUT
public static final int WAIT_TIME
public static final int MAX_RETRIES
Method Detail |
---|
public void init() throws java.io.IOException, javax.net.ssl.SSLException
javax.net.ssl.SSLException
java.io.IOException
public int read(java.nio.ByteBuffer buf) throws java.io.IOException
buf
- The buffer to read into
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public int write(java.nio.ByteBuffer buf) throws java.io.IOException
buf
-
java.io.IOException
public javax.net.ssl.SSLSession getSession()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |