org.globus.gsi.gssapi.net.impl
Class GSIGssInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.globus.gsi.gssapi.net.GssInputStream
          extended by org.globus.gsi.gssapi.net.impl.GSIGssInputStream
All Implemented Interfaces:
Closeable

public class GSIGssInputStream
extends GssInputStream


Field Summary
protected  byte[] header
           
protected  int mode
           
 
Fields inherited from class org.globus.gsi.gssapi.net.GssInputStream
buff, context, in, index
 
Constructor Summary
GSIGssInputStream(InputStream in, GSSContext context)
           
 
Method Summary
 int getWrapMode()
           
 byte[] readHandshakeToken()
           
protected  void readMsg()
           
protected  byte[] readToken()
           
 
Methods inherited from class org.globus.gsi.gssapi.net.GssInputStream
available, close, hasData, read, read, read, unwrap
 
Methods inherited from class java.io.InputStream
mark, markSupported, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

header

protected byte[] header

mode

protected int mode
Constructor Detail

GSIGssInputStream

public GSIGssInputStream(InputStream in,
                         GSSContext context)
Method Detail

readMsg

protected void readMsg()
                throws IOException
Specified by:
readMsg in class GssInputStream
Throws:
IOException

getWrapMode

public int getWrapMode()

readHandshakeToken

public byte[] readHandshakeToken()
                          throws IOException
Throws:
IOException

readToken

protected byte[] readToken()
                    throws IOException
Throws:
IOException