com.maverick.ssh.components.standalone
Class SHA1HMac

java.lang.Object
  extended by com.maverick.ssh.components.standalone.AbstractHmac
      extended by com.maverick.ssh.components.standalone.SHA1HMac
All Implemented Interfaces:
SshHmac

public class SHA1HMac
extends AbstractHmac

SHA1 HMac implementation for SSH2

Author:
Lee David Painter

Constructor Summary
SHA1HMac()
           
 
Method Summary
 void init(byte[] keydata)
          Initialize the MAC
 
Methods inherited from class com.maverick.ssh.components.standalone.AbstractHmac
doFinal, generate, getAlgorithm, getMacLength, update, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SHA1HMac

public SHA1HMac()
Method Detail

init

public void init(byte[] keydata)
          throws SshException
Description copied from class: AbstractHmac
Initialize the MAC

Specified by:
init in interface SshHmac
Overrides:
init in class AbstractHmac
Parameters:
keydata - the key data
Throws:
SshException


Copyright © 2003-2008 SSHTools LTD. All Rights Reserved.