Java Globus API: Class IaikGSISocket

org.globus.security.gsi
Class IaikGSISocket

java.lang.Object
  |
  +--java.net.Socket
        |
        +--org.globus.security.gsi.GSIBaseSocket
              |
              +--org.globus.security.gsi.IaikGSIBaseSocket
                    |
                    +--org.globus.security.gsi.IaikGSISocket

public class IaikGSISocket
extends IaikGSIBaseSocket


Field Summary
protected  iaik.security.ssl.SSLClientContext context
           
 
Fields inherited from class org.globus.security.gsi.IaikGSIBaseSocket
sslSocket
 
Fields inherited from class org.globus.security.gsi.GSIBaseSocket
authorization, credentials, encryption, init, socket, trustedCerts
 
Constructor Summary
IaikGSISocket(java.net.Socket socket)
           
IaikGSISocket(java.net.Socket socket, boolean clientMode)
           
IaikGSISocket(java.lang.String host, int port)
           
 
Method Summary
 void enableEncryption(boolean enableEnc)
           
protected  iaik.security.ssl.SSLClientContext getGSIClientContext()
           
protected  iaik.security.ssl.SSLServerContext getGSIServerContext()
           
 void setCredentials(GlobusProxy proxy)
           
protected  void setDefaultGSIContext(iaik.security.ssl.SSLClientContext ctx)
           
 void setTrustedCertificates(java.security.cert.X509Certificate[] trustedCerts)
           
 
Methods inherited from class org.globus.security.gsi.IaikGSIBaseSocket
getPeerCertificateChain, handleDelegation, performDelegation, setSocket, setUseClientMode
 
Methods inherited from class org.globus.security.gsi.GSIBaseSocket
authorize, close, doGSI, getAuthorization, getCredentials, getInetAddress, getInputStream, getLocalAddress, getLocalPort, getOutputStream, getPort, getTrustedCertificates, isEncryptionEnabled, performNoDelegation, setAuthorization, setSocket, setTcpNoDelay
 
Methods inherited from class java.net.Socket
getKeepAlive, getReceiveBufferSize, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, setKeepAlive, setReceiveBufferSize, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, shutdownInput, shutdownOutput, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

context

protected iaik.security.ssl.SSLClientContext context
Constructor Detail

IaikGSISocket

public IaikGSISocket(java.lang.String host,
                     int port)
              throws java.io.IOException

IaikGSISocket

public IaikGSISocket(java.net.Socket socket)
              throws java.io.IOException

IaikGSISocket

public IaikGSISocket(java.net.Socket socket,
                     boolean clientMode)
              throws java.io.IOException
Method Detail

getGSIServerContext

protected iaik.security.ssl.SSLServerContext getGSIServerContext()

getGSIClientContext

protected iaik.security.ssl.SSLClientContext getGSIClientContext()

setDefaultGSIContext

protected void setDefaultGSIContext(iaik.security.ssl.SSLClientContext ctx)

enableEncryption

public void enableEncryption(boolean enableEnc)
Overrides:
enableEncryption in class GSIBaseSocket

setCredentials

public void setCredentials(GlobusProxy proxy)
Overrides:
setCredentials in class GSIBaseSocket

setTrustedCertificates

public void setTrustedCertificates(java.security.cert.X509Certificate[] trustedCerts)
Overrides:
setTrustedCertificates in class GSIBaseSocket