iaik.security.ssl
Class SSLSocketTransport
java.lang.Object
|
+--iaik.security.ssl.SSLTransportSpi
|
+--iaik.security.ssl.SSLSocketTransport
- public class SSLSocketTransport
- extends SSLTransportSpi
Transport implementation for SSL over an ordinary socket. Used
by SSLSocket.
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SSLSocketTransport
public SSLSocketTransport(java.net.Socket socket,
SSLContext context,
boolean useClientMode)
engineGetInputStream
protected java.io.InputStream engineGetInputStream()
throws java.io.IOException
- Description copied from class: SSLTransportSpi
- Get the InputStream for this connection.
- Overrides:
- engineGetInputStream in class SSLTransportSpi
engineGetOutputStream
protected java.io.OutputStream engineGetOutputStream()
throws java.io.IOException
- Description copied from class: SSLTransportSpi
- Get the InputStream for this connection.
- Overrides:
- engineGetOutputStream in class SSLTransportSpi
engineGetRemotePeerName
protected java.lang.String engineGetRemotePeerName()
- Description copied from class: SSLTransportSpi
- Get the host name of the remote peer. This information can be used
by the ChainVerifier to check the name against the name provided
in the certificate.
- Overrides:
- engineGetRemotePeerName in class SSLTransportSpi
engineGetRemotePeerId
protected java.lang.Object engineGetRemotePeerId()
- Description copied from class: SSLTransportSpi
- Get an id uniquely identifying the remote peer. This id is used
for session caching, if a transport does not support session
caching it should return null.
- Overrides:
- engineGetRemotePeerId in class SSLTransportSpi
convertToRemotePeerId
protected java.lang.Object convertToRemotePeerId(java.lang.String address,
int port)
setRemotePeerId
protected void setRemotePeerId(java.lang.String address,
int port)
setRemotePeerId
protected void setRemotePeerId(java.lang.Object peerId)
engineClose
protected void engineClose()
throws java.io.IOException
- Description copied from class: SSLTransportSpi
- Close this transport. Invoked by SSLTransport when its close()
method is called.
- Overrides:
- engineClose in class SSLTransportSpi