|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.net.SocketFactory javax.net.ssl.SSLSocketFactory issrg.pba.management.agent.SSLSocketFactoryWrap
public class SSLSocketFactoryWrap
wrap the SSL socket factory.
this wrap was created to allow access to SSL sockets and from there access to the peer principal ( the authenticated PKC's subject)
as a socket is authenticated, a notification of the peer principal is given to the agent.
Method Summary | |
---|---|
java.net.Socket |
createSocket()
Delegate to wrapped factory. |
java.net.Socket |
createSocket(java.net.InetAddress host,
int port)
Delegate to wrapped factory. |
java.net.Socket |
createSocket(java.net.InetAddress address,
int port,
java.net.InetAddress localAddress,
int localPort)
Delegate to wrapped factory. |
java.net.Socket |
createSocket(java.net.Socket s,
java.lang.String host,
int port,
boolean autoClose)
This method passes of the creation of the socket. |
java.net.Socket |
createSocket(java.lang.String host,
int port)
Delegate to wrapped factory. |
java.net.Socket |
createSocket(java.lang.String host,
int port,
java.net.InetAddress localHost,
int localPort)
Delegate to wrapped factory. |
boolean |
equals(java.lang.Object obj)
Delegate to wrapped factory. |
java.lang.String[] |
getDefaultCipherSuites()
Delegate to wrapped factory. |
java.lang.String[] |
getSupportedCipherSuites()
Delegate to wrapped factory. |
void |
handshakeCompleted(javax.net.ssl.HandshakeCompletedEvent event)
listen for a successful socket handshake completion. |
int |
hashCode()
Delegate to wrapped factory. |
java.lang.String |
toString()
Delegate to wrapped factory. |
Methods inherited from class javax.net.ssl.SSLSocketFactory |
---|
getDefault |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.net.Socket createSocket(java.net.Socket s, java.lang.String host, int port, boolean autoClose) throws java.io.IOException
createSocket
in class javax.net.ssl.SSLSocketFactory
s
- passed downhost
- passed downport
- passed downautoClose
- passed down
java.io.IOException
- on an IO exception(java.net.Socket,
java.lang.String, int, boolean)
public void handshakeCompleted(javax.net.ssl.HandshakeCompletedEvent event)
handshakeCompleted
in interface javax.net.ssl.HandshakeCompletedListener
event
- objectpublic java.lang.String[] getDefaultCipherSuites()
getDefaultCipherSuites
in class javax.net.ssl.SSLSocketFactory
SSLSocketFactory.getDefaultCipherSuites()
public java.lang.String[] getSupportedCipherSuites()
getSupportedCipherSuites
in class javax.net.ssl.SSLSocketFactory
SSLSocketFactory.getSupportedCipherSuites()
public java.net.Socket createSocket() throws java.io.IOException
createSocket
in class javax.net.SocketFactory
java.io.IOException
- ...SocketFactory.createSocket()
public java.net.Socket createSocket(java.net.InetAddress host, int port) throws java.io.IOException
createSocket
in class javax.net.SocketFactory
host
- ...port
- ...
java.io.IOException
- ...SocketFactory.createSocket(java.net.InetAddress, int)
public java.net.Socket createSocket(java.net.InetAddress address, int port, java.net.InetAddress localAddress, int localPort) throws java.io.IOException
createSocket
in class javax.net.SocketFactory
address
- ...port
- ...localAddress
- ...localPort
- ...
java.io.IOException
- ...(java.net.InetAddress, int, java.net.InetAddress, int)
public java.net.Socket createSocket(java.lang.String host, int port) throws java.io.IOException
createSocket
in class javax.net.SocketFactory
host
- ...port
- ...
java.io.IOException
- ...SocketFactory.createSocket(java.lang.String, int)
public java.net.Socket createSocket(java.lang.String host, int port, java.net.InetAddress localHost, int localPort) throws java.io.IOException
createSocket
in class javax.net.SocketFactory
host
- ...port
- ...localHost
- ...localPort
- ...
java.io.IOException
- ...(java.lang.String, int, java.net.InetAddress, int)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- ...
Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |