For the latest news and information visit
The GNU Crypto project

gnu.crypto.jce.mac
Class UMac32Spi

java.lang.Object
  extended byjavax.crypto.MacSpi
      extended bygnu.crypto.jce.mac.MacAdapter
          extended bygnu.crypto.jce.mac.UMac32Spi

public final class UMac32Spi
extends MacAdapter

The implementation of the UMAC-32 Service Provider Interface (SPI) adapter.

Version:
$Revision: 1.2 $

Field Summary
protected  java.util.Map attributes
          Our MAC attributes.
protected  IMac mac
          Our MAC instance.
 
Constructor Summary
UMac32Spi()
           
 
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

UMac32Spi

public UMac32Spi()
Method Detail

engineInit

protected void engineInit(java.security.Key key,
                          java.security.spec.AlgorithmParameterSpec params)
                   throws java.security.InvalidKeyException,
                          java.security.InvalidAlgorithmParameterException
Overrides:
engineInit in class MacAdapter
Throws:
java.security.InvalidKeyException
java.security.InvalidAlgorithmParameterException

clone

public java.lang.Object clone()

engineDoFinal

protected byte[] engineDoFinal()

engineGetMacLength

protected int engineGetMacLength()

engineReset

protected void engineReset()

engineUpdate

protected void engineUpdate(byte b)

engineUpdate

protected void engineUpdate(byte[] in,
                            int off,
                            int len)

For the latest news and information visit
The GNU Crypto project

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