com.jcraft.jsch.jcraft
Class HMACMD5

java.lang.Object
  extended by com.jcraft.jsch.jcraft.HMACMD5
All Implemented Interfaces:
MAC
Direct Known Subclasses:
HMACMD596

public class HMACMD5
extends java.lang.Object
implements MAC


Constructor Summary
HMACMD5()
           
 
Method Summary
 void doFinal(byte[] buf, int offset)
           
 int getBlockSize()
           
 java.lang.String getName()
           
 void init(byte[] key)
           
protected  void setH(java.security.MessageDigest md)
           
 void update(byte[] foo, int s, int l)
           
 void update(int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.jcraft.jsch.MAC
doFinal, getBlockSize, init, update, update
 

Constructor Detail

HMACMD5

public HMACMD5()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface MAC

setH

protected void setH(java.security.MessageDigest md)

getBlockSize

public int getBlockSize()

init

public void init(byte[] key)
          throws java.lang.Exception
Throws:
java.lang.Exception

update

public void update(int i)

update

public void update(byte[] foo,
                   int s,
                   int l)

doFinal

public void doFinal(byte[] buf,
                    int offset)