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
  • Constructor Summary

    Constructors 
    Constructor Description
    HMACSHA1()  
  • 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()  
    protected void setH​(java.security.MessageDigest md)  
    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

    Methods inherited from interface com.jcraft.jsch.MAC

    doFinal, getBlockSize, init, update, update
  • Constructor Details

  • Method Details

    • getName

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

      public boolean isEtM()
      Specified by:
      isEtM 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)