Class HMACSHA1ETM

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

public class HMACSHA1ETM extends HMACSHA1
  • Field Details

    • name

      protected String name
    • bsize

      protected int bsize
    • algorithm

      protected String algorithm
    • etm

      protected boolean etm
  • Constructor Details

    • HMACSHA1ETM

      public HMACSHA1ETM()
  • Method Details

    • getBlockSize

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

      public void init(byte[] key) throws Exception
      Specified by:
      init in interface MAC
      Throws:
      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 String getName()
      Specified by:
      getName in interface MAC
    • isEtM

      public boolean isEtM()
      Specified by:
      isEtM in interface MAC