Build 1.0_r1(from source)

javax.crypto
Class HmacSpi

java.lang.Object
  extended by javax.crypto.MacSpi
      extended by javax.crypto.HmacSpi

 class HmacSpi
extends MacSpi

Internal class implementing HMAC


Constructor Summary
HmacSpi()
           
 
Method Summary
protected  byte[] engineDoFinal()
           
protected  int engineGetMacLength()
           
protected  void engineInit(Key key, AlgorithmParameterSpec params)
           
protected  void engineReset()
           
protected  void engineUpdate(byte input)
           
protected  void engineUpdate(byte[] input, int offset, int len)
           
 
Methods inherited from class javax.crypto.MacSpi
clone, engineUpdate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HmacSpi

HmacSpi()
Method Detail

engineDoFinal

protected byte[] engineDoFinal()
Specified by:
engineDoFinal in class MacSpi

engineGetMacLength

protected int engineGetMacLength()
Specified by:
engineGetMacLength in class MacSpi

engineInit

protected void engineInit(Key key,
                          AlgorithmParameterSpec params)
                   throws InvalidKeyException,
                          InvalidAlgorithmParameterException
Specified by:
engineInit in class MacSpi
Throws:
InvalidKeyException
InvalidAlgorithmParameterException

engineReset

protected void engineReset()
Specified by:
engineReset in class MacSpi

engineUpdate

protected void engineUpdate(byte input)
Specified by:
engineUpdate in class MacSpi

engineUpdate

protected void engineUpdate(byte[] input,
                            int offset,
                            int len)
Specified by:
engineUpdate in class MacSpi

Build 1.0_r1(from source)

Please submit a feedback, bug or feature