For the latest news and information visit
The GNU Crypto project

gnu.crypto.jce.mac
Class HMacRipeMD128Spi

java.lang.Object
  |
  +--javax.crypto.MacSpi
        |
        +--gnu.crypto.jce.mac.MacAdapter
              |
              +--gnu.crypto.jce.mac.HMacRipeMD128Spi

public final class HMacRipeMD128Spi
extends MacAdapter

The implementation of the HMAC-RIPEMD-128 Service Provider Interface (SPI) adapter.

Version:
$Revision: 1.1 $

Field Summary
protected  java.util.Map attributes
          Our MAC attributes.
protected  IMac mac
          Our MAC instance.
 
Constructor Summary
HMacRipeMD128Spi()
           
 
Method Summary
 java.lang.Object clone()
           
protected  byte[] engineDoFinal()
           
protected  int engineGetMacLength()
           
protected  void engineInit(java.security.Key key, java.security.spec.AlgorithmParameterSpec params)
           
protected  void engineReset()
           
protected  void engineUpdate(byte b)
           
protected  void engineUpdate(byte[] in, int off, int len)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mac

protected IMac mac
Our MAC instance.


attributes

protected java.util.Map attributes
Our MAC attributes.

Constructor Detail

HMacRipeMD128Spi

public HMacRipeMD128Spi()
Method Detail

clone

public java.lang.Object clone()
Overrides:
clone in class javax.crypto.MacSpi

engineDoFinal

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

engineGetMacLength

protected int engineGetMacLength()
Specified by:
engineGetMacLength in class javax.crypto.MacSpi

engineInit

protected void engineInit(java.security.Key key,
                          java.security.spec.AlgorithmParameterSpec params)
                   throws java.security.InvalidKeyException,
                          java.security.InvalidAlgorithmParameterException
Specified by:
engineInit in class javax.crypto.MacSpi
java.security.InvalidKeyException
java.security.InvalidAlgorithmParameterException

engineReset

protected void engineReset()
Specified by:
engineReset in class javax.crypto.MacSpi

engineUpdate

protected void engineUpdate(byte b)
Specified by:
engineUpdate in class javax.crypto.MacSpi

engineUpdate

protected void engineUpdate(byte[] in,
                            int off,
                            int len)
Specified by:
engineUpdate in class javax.crypto.MacSpi

For the latest news and information visit
The GNU Crypto project

Copyright ©2001, 2002 Free Software Foundation, Inc.. All Rights Reserved.