org.jboss.crypto
Class CipherSocket
java.lang.Object
java.net.Socket
org.jboss.crypto.CipherSocket
public class CipherSocket
- extends Socket
- Author:
- Scott.Stark@jboss.org
Methods inherited from class java.net.Socket |
bind, close, connect, connect, getChannel, getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, 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 |
CipherSocket
public CipherSocket(String host,
int port,
String algorithm,
SecretKey key)
throws IOException
- Creates a new instance of CipherSocket
- Throws:
IOException
CipherSocket
public CipherSocket(Socket delegate,
String algorithm,
SecretKey key)
throws IOException
- Throws:
IOException
getInputStream
public InputStream getInputStream()
throws IOException
- Overrides:
getInputStream
in class Socket
- Throws:
IOException
getOutputStream
public OutputStream getOutputStream()
throws IOException
- Overrides:
getOutputStream
in class Socket
- Throws:
IOException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.