org.glite.voms.contact
Class VOMSSocket
java.lang.Object
org.glite.voms.contact.VOMSSocket
public class VOMSSocket
extends java.lang.Object
The VOMSSocket
class is used to manage the creation of the gsi socket used for communication with
the VOMS server.
close
public void close()
throws IOException
connect
protected void connect(String host,
int port)
throws IOException,
GeneralSecurityException
getContext
public SSLContext getContext()
getInputStream
public InputStream getInputStream()
throws IOException
getOutputStream
public OutputStream getOutputStream()
throws IOException
instance
public static VOMSSocket instance(UserCredentials cred,
String hostDN)
instance
public static VOMSSocket instance(UserCredentials cred,
String hostDN,
int proxyType)
isClosed
public boolean isClosed()
isConnected
public boolean isConnected()
shutdownInput
public void shutdownInput()
throws IOException
shutdownOutput
public void shutdownOutput()
throws IOException