com.jcraft.jsch.jcraft
Class HMACSHA1
java.lang.Object
com.jcraft.jsch.jcraft.HMACSHA1
- All Implemented Interfaces:
- MAC
- Direct Known Subclasses:
- HMACSHA196
public class HMACSHA1
- extends java.lang.Object
- implements MAC
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HMACSHA1
public HMACSHA1()
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)