Interface SshHmac

All Known Implementing Classes:
HmacMd5, HmacMd596, HmacSha, HmacSha96

public interface SshHmac
Version:
$Revision: 1.16 $
Author:
$author$
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    generate(long sequenceNo, byte[] data, int offset, int len)
     
    int
     
    void
    init(byte[] keydata)
     
    boolean
    verify(long sequenceNo, byte[] data)
     
  • Method Details

    • getMacLength

      int getMacLength()
      Returns:
    • generate

      byte[] generate(long sequenceNo, byte[] data, int offset, int len)
      Parameters:
      sequenceNo -
      data -
      offset -
      len -
      Returns:
    • init

      void init(byte[] keydata) throws AlgorithmInitializationException
      Parameters:
      keydata -
      Throws:
      AlgorithmInitializationException
    • verify

      boolean verify(long sequenceNo, byte[] data)
      Parameters:
      sequenceNo -
      data -
      Returns: