com.jcraft.jsch.jce
Class HMACSHA1

java.lang.Object
  extended by com.jcraft.jsch.jce.HMACSHA1
All Implemented Interfaces:
MAC

public class HMACSHA1
extends java.lang.Object
implements MAC


Constructor Summary
HMACSHA1()
           
 
Method Summary
 void doFinal(byte[] buf, int offset)
           
 int getBlockSize()
           
 java.lang.String getName()
           
 void init(byte[] key)
           
 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
 

Constructor Detail

HMACSHA1

public HMACSHA1()
Method Detail

getBlockSize

public int getBlockSize()
Specified by:
getBlockSize in interface MAC

init

public void init(byte[] key)
          throws java.lang.Exception
Specified by:
init in interface MAC
Throws:
java.lang.Exception

update

public void update(int i)
Specified by:
update in interface MAC

update

public void update(byte[] foo,
                   int s,
                   int l)
Specified by:
update in interface MAC

doFinal

public void doFinal(byte[] buf,
                    int offset)
Specified by:
doFinal in interface MAC

getName

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