|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object iaik.security.ssl.SSLTransportSpi
public abstract class SSLTransportSpi
This class defines an interface that allows you to implement SSL over you own transport. An object of this class is passed to the SSLTransport constructor to create a new connection. This object contains all information about the connection, including its SSLContext.
Field Summary | |
---|---|
protected SSLContext |
context
|
protected boolean |
useClientMode
|
Constructor Summary | |
---|---|
protected |
SSLTransportSpi()
|
protected |
SSLTransportSpi(SSLContext context,
boolean useClientMode)
|
Method Summary | |
---|---|
protected abstract void |
engineClose()
Close this transport. |
protected SSLContext |
engineGetContext()
Get the SSLContext for this connection. |
protected abstract java.io.InputStream |
engineGetInputStream()
Get the InputStream for this connection. |
protected abstract java.io.OutputStream |
engineGetOutputStream()
Get the InputStream for this connection. |
protected java.net.InetAddress |
engineGetRemoteInetAddress()
Returns the address of the remote peer. |
protected java.lang.Object |
engineGetRemotePeerId()
Get an id uniquely identifying the remote peer. |
protected java.lang.String |
engineGetRemotePeerName()
Get the host name of the remote peer. |
protected boolean |
engineGetUseClientMode()
Return whether or not this endpoint of the connection resides on the server side. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected SSLContext context
protected boolean useClientMode
Constructor Detail |
---|
protected SSLTransportSpi(SSLContext context, boolean useClientMode)
protected SSLTransportSpi()
Method Detail |
---|
protected SSLContext engineGetContext()
protected abstract java.io.InputStream engineGetInputStream() throws java.io.IOException
java.io.IOException
protected abstract java.io.OutputStream engineGetOutputStream() throws java.io.IOException
java.io.IOException
protected java.lang.String engineGetRemotePeerName()
protected java.net.InetAddress engineGetRemoteInetAddress()
protected java.lang.Object engineGetRemotePeerId()
protected abstract void engineClose() throws java.io.IOException
java.io.IOException
protected boolean engineGetUseClientMode()
|
This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note). | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |