|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.net.Socket
com.prosyst.util.net.SecureSocket
public abstract class SecureSocket
SecureSocket enables security check of correspondent certificate chain. Object of such type can be received as result of openSocket methods of some SocketFactory implementations or as result of ServerSocket.accept(), where ServerSocket is received as result of openServerSocket method of some ServerSocketFactory implementation. Two factories from which such socket can be obtained are TLS server socket factory (ServerSocketFactory) and TLS client socket factory (SocketFactory).
| Constructor Summary | |
|---|---|
SecureSocket()
|
|
| Method Summary | |
|---|---|
abstract byte[][] |
getCorrespondentCertChain()
Returns certificate chain used from correspondent to authorize itself. |
| Methods inherited from class java.net.Socket |
|---|
bind, close, connect, connect, getChannel, getInetAddress, getInputStream, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOutputStream, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SecureSocket()
| Method Detail |
|---|
public abstract byte[][] getCorrespondentCertChain()
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||