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
|
| 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 |
context
protected iaik.security.ssl.SSLClientContext context
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
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