|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tomcat.jni.SSLSocket
public class SSLSocket
SSL Socket
Constructor Summary | |
---|---|
SSLSocket()
|
Method Summary | |
---|---|
static int |
attach(long ctx,
long sock)
Attach APR socket on a SSL connection. |
static byte[] |
getInfoB(long sock,
int id)
Retrun SSL Info parameter as byte array. |
static int |
getInfoI(long sock,
int id)
Retrun SSL Info parameter as integer. |
static java.lang.String |
getInfoS(long sock,
int id)
Retrun SSL Info parameter as String. |
static int |
handshake(long thesocket)
Do a SSL handshake. |
static int |
renegotiate(long thesocket)
Do a SSL renegotiation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SSLSocket()
Method Detail |
---|
public static int attach(long ctx, long sock) throws java.lang.Exception
ctx
- SSLContext to use.sock
- APR Socket that already did physical connect or accept.
java.lang.Exception
public static int handshake(long thesocket)
thesocket
- The socket to usepublic static int renegotiate(long thesocket)
thesocket
- The socket to usepublic static byte[] getInfoB(long sock, int id) throws java.lang.Exception
sock
- The socket to read the data from.id
- Parameter id.
java.lang.Exception
public static java.lang.String getInfoS(long sock, int id) throws java.lang.Exception
sock
- The socket to read the data from.id
- Parameter id.
java.lang.Exception
public static int getInfoI(long sock, int id) throws java.lang.Exception
sock
- The socket to read the data from.id
- Parameter id.
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |