cgl.narada.util.ntlm
Class NTLMMessage

java.lang.Object
  extended by cgl.narada.util.ntlm.NTLMMessage
Direct Known Subclasses:
NTLMType1Message, NTLMType2Message, NTLMType3Message

public class NTLMMessage
extends Object

Title: Description: Company:


Field Summary
protected  byte[] protocol
           
 
Constructor Summary
NTLMMessage()
           
 
Method Summary
protected  byte[] export()
          -------------------------------------------------------------------------
protected  void writeLenOffset(int len, int offset, OutputStream out)
          ------------------------------------------------------------------------- Writes (short)len (short)len (short)offset to the output stream.
protected  void writeShort(int len, OutputStream out)
          ------------------------------------------------------------------------- Write a short into the outputstream in NTLM format.
protected  void writeUnicode(String str, OutputStream out)
          ------------------------------------------------------------------------- Write a string in unicode format to output stream as dictated by NTLM Unicode format (low byte first).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

protocol

protected byte[] protocol
Constructor Detail

NTLMMessage

public NTLMMessage()
Method Detail

export

protected byte[] export()
                 throws IOException
-------------------------------------------------------------------------

Throws:
IOException

writeShort

protected void writeShort(int len,
                          OutputStream out)
                   throws IOException
------------------------------------------------------------------------- Write a short into the outputstream in NTLM format.

Throws:
IOException

writeLenOffset

protected void writeLenOffset(int len,
                              int offset,
                              OutputStream out)
                       throws IOException
------------------------------------------------------------------------- Writes (short)len (short)len (short)offset to the output stream.

Throws:
IOException

writeUnicode

protected void writeUnicode(String str,
                            OutputStream out)
                     throws IOException
------------------------------------------------------------------------- Write a string in unicode format to output stream as dictated by NTLM Unicode format (low byte first).

Throws:
IOException


For comments and suggestions please send e-mail to The NaradaBrokering Project