com.maverick.ssh.components.jce
Class HmacSha512

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

public class HmacSha512
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
HmacSha512()
           
 
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

HmacSha512

public HmacSha512()
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.