com.maverick.ssh.components.jce
Class HmacSha256

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

public class HmacSha256
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
HmacSha256()
           
 
Method Summary
 java.lang.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

HmacSha256

public HmacSha256()
Method Detail

getName

public java.lang.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 © 2012. All Rights Reserved.