Class HMACSHA1

java.lang.Object
com.jcraft.jsch.jcraft.HMACSHA1
All Implemented Interfaces:
MAC
Direct Known Subclasses:
HMACSHA196

public class HMACSHA1 extends Object implements MAC
  • Constructor Details

    • HMACSHA1

      public HMACSHA1()
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface MAC
    • setH

      protected void setH(MessageDigest md)
    • getBlockSize

      public int getBlockSize()
    • init

      public void init(byte[] key) throws Exception
      Throws:
      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)