Class HMACSHA196

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

public class HMACSHA196
extends HMACSHA1
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.lang.String algorithm  
    protected int bsize  
    protected boolean etm  
    protected java.lang.String name  
  • Constructor Summary

    Constructors
    Constructor Description
    HMACSHA196()  
  • Method Summary

    Modifier and Type Method Description
    void doFinal​(byte[] buf, int offset)  
    int getBlockSize()  
    java.lang.String getName()  
    void init​(byte[] key)  
    boolean isEtM()  
    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
  • Field Details

    • name

      protected java.lang.String name
    • bsize

      protected int bsize
    • algorithm

      protected java.lang.String algorithm
    • etm

      protected boolean etm
  • Constructor Details

    • HMACSHA196

      public HMACSHA196()
  • Method Details

    • getBlockSize

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

      public void doFinal​(byte[] buf, int offset)
      Specified by:
      doFinal 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
    • getName

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

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