For the latest news and information visit
The GNU Crypto project

gnu.crypto.jce.mac
Class OMacImpl

java.lang.Object
  extended byjavax.crypto.MacSpi
      extended bygnu.crypto.jce.mac.MacAdapter
          extended bygnu.crypto.jce.mac.OMacImpl
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
OMacImpl.Anubis, OMacImpl.Blowfish, OMacImpl.Cast5, OMacImpl.DES, OMacImpl.Khazad, OMacImpl.Rijndael, OMacImpl.Serpent, OMacImpl.Square, OMacImpl.TripleDES, OMacImpl.Twofish

public abstract class OMacImpl
extends MacAdapter


Nested Class Summary
 class OMacImpl.Anubis
           
 class OMacImpl.Blowfish
           
 class OMacImpl.Cast5
           
 class OMacImpl.DES
           
 class OMacImpl.Khazad
           
 class OMacImpl.Rijndael
           
 class OMacImpl.Serpent
           
 class OMacImpl.Square
           
 class OMacImpl.TripleDES
           
 class OMacImpl.Twofish
           
 
Field Summary
protected  Map attributes
          Our MAC attributes.
protected  IMac mac
          Our MAC instance.
 
Constructor Summary
protected OMacImpl(String name)
           
 
Method Summary
 Object clone()
           
protected  byte[] engineDoFinal()
           
protected  int engineGetMacLength()
           
protected  void engineInit(Key key, 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 Map attributes
Our MAC attributes.

Constructor Detail

OMacImpl

protected OMacImpl(String name)
Method Detail

clone

public Object clone()
             throws CloneNotSupportedException
Throws:
CloneNotSupportedException

engineDoFinal

protected byte[] engineDoFinal()

engineGetMacLength

protected int engineGetMacLength()

engineInit

protected void engineInit(Key key,
                          AlgorithmParameterSpec params)
                   throws InvalidKeyException,
                          InvalidAlgorithmParameterException
Throws:
InvalidKeyException
InvalidAlgorithmParameterException

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.