Closeable
, AutoCloseable
public class GSIGssSocket extends GssSocket
authorization, clientMode, context, GSI_MODE, in, mode, out, SSL_MODE
socket
Constructor | Description |
---|---|
GSIGssSocket(String host,
int port,
GSSContext context) |
|
GSIGssSocket(Socket socket,
GSSContext context) |
Modifier and Type | Method | Description |
---|---|---|
int |
getWrapMode() |
|
protected byte[] |
readToken() |
|
void |
setWrapMode(int mode) |
|
protected void |
writeToken(byte[] token) |
authenticateClient, authenticateServer, close, getAuthorization, getClientMode, getContext, getInputStream, getOutputStream, setAuthorization, setUseClientMode, startHandshake
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
bind, connect, connect, getChannel, getLocalSocketAddress, getOOBInline, getOption, getRemoteSocketAddress, getReuseAddress, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setOOBInline, setOption, setPerformancePreferences, setReuseAddress, setSocketImplFactory, setTrafficClass, supportedOptions
getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getPort, getReceiveBufferSize, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getWrappedSocket, setKeepAlive, setReceiveBufferSize, setSendBufferSize, setSoLinger, setSoTimeout, setTcpNoDelay, shutdownInput, shutdownOutput, toString
public GSIGssSocket(String host, int port, GSSContext context) throws IOException
IOException
public GSIGssSocket(Socket socket, GSSContext context)
public void setWrapMode(int mode)
setWrapMode
in class GssSocket
public int getWrapMode()
getWrapMode
in class GssSocket
protected void writeToken(byte[] token) throws IOException
writeToken
in class GssSocket
IOException
protected byte[] readToken() throws IOException
readToken
in class GssSocket
IOException
Copyright © 2018. All rights reserved.