com.maverick.ssh.components.jce
Class HmacSha1

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

public class HmacSha1
extends AbstractHmac

SHA-1 message authentication implementation.

Author:
Lee David Painter

Field Summary
 
Fields inherited from class com.maverick.ssh.components.jce.AbstractHmac
jceAlgorithm, mac, macLength, macSize
 
Constructor Summary
HmacSha1()
           
 
Method Summary
 java.lang.String getAlgorithm()
           
 void init(byte[] keydata)
           
 
Methods inherited from class com.maverick.ssh.components.jce.AbstractHmac
doFinal, generate, getMacLength, getProvider, update, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HmacSha1

public HmacSha1()
Method Detail

getAlgorithm

public java.lang.String getAlgorithm()
Specified by:
getAlgorithm in interface SshHmac
Specified by:
getAlgorithm in class AbstractHmac

init

public void init(byte[] keydata)
          throws SshException
Specified by:
init in interface SshHmac
Overrides:
init in class AbstractHmac
Throws:
SshException


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