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:
SshComponent, 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
 String getName()
           
 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

getName

public String getName()
Specified by:
getName in interface SshComponent
Specified by:
getName in interface SshHmac
Specified by:
getName 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 © 2013. All Rights Reserved.